Thursday, 9 May 2019

Linux UBUNTU (& Linux MINT ) instructions to install cwcom


How to install & run CWCOM on Linux.


This instructable was written for Linux Mint 19 , however, it should also work on other distro`s of Linux, the main problem is getting WINE installed on your version of Linux.


There are several different ways to install WINE on Linux.

You can use the “Software Manager” or you can use the Package Manager,

but I have found, through trying those two,


that the best way is to “Google”

 < How to install Wine on Linux XXX >

Where XXX is the distro version of which Linux you are using.


The actual install instructions DO VARY from version to version of the same distro, Hence my recommendation to Google the question.


Currently (May 2021) the latest version of WINE is 6.0... however,... CWCOM was written for Windows 95, and can be run on earlier versions of WINE.


Once you have installed WINE.


To check which version of wine you have installed run 

 wine -–version 

  in the terminal,...


It is a good idea to restart your computer before trying to use WINE. This will ensure that you get the correct “install with..... wine program loader” instruction with Windows .exe type files.

************************************************************************************

The next step is to download CWCOM ( if not already done so )... and then go through the install procedure for CWCOM. 

 

 ….. read on, …..


The best place to find a good copy of CWCOM is


https://archive.org/details/cwcom


Scroll down the page a little, and you will see two versions listed

CWcom version 1.5

Cwcom version 1.47


Version 1.5 is the last, and latest version ..

( there is only a minor internal difference between both versions which does not affect the user) .

 

Installing CWCOM on WINE.....



Once downloaded...... go to your Downloads folder/directory > open it.... Right click on the cwcom_inst.exe ( or maybe cwcom.exe ) file. Then “Open With....” Wine Program loader.”


You will get a small message window Wine is updating... followed by another one, Wine Mono Installer, needs to add new software... ( click “install” ) .

then another update message windows Wine Gecko …. again … click “Install”


Allow all installs for updating Wine during this operation..

On completion, the windows will disappear, and CWCOM ( may ) start the normal “install” procedure. Again... allow all instructions to run.

If CWCOM fails to self install, then go to your Downloads directory, and double click the CWCOM.EXE file, to start the install.


On completion of the install... it will be located on Drive C: under the folder/directory MRX Software.

 

 

But... there is still a couple of things that need to be actioned, before, CWCOM is fully operational....


The first is to get the “COMport” recognised, if you are going to use any kind of external morse key... ( straight or paddle) .


Setting up the COMPORT number.... you need to run wine regedit.

Open a Terminal and enter


wine regedit


When the editor window appears on screen... open the nodes and go to.




  
When the editor appears, open the nodes and go to 

HKEY_LOCAL_MACHINE 
    Software 
        Wine 
            Ports




                     

Right Click on "Ports" folder ..... 



                      context menu . > New










 

mouse pointer on "new"  >  
                     pop out menu >

 String value

 where ‘New Value`     is. ( in the right hand pane ) ...









. replace that with COM4     and press enter



 

Right click  or  double click on it    
Pop out menu  click "Modify"....and enter the value 


 


    /dev/ttyUSB0  

                             in the pop out box  "Value Data"





 

                                           then click OK 

Close the Regeditor..... (click X top right) 
then do the finalising part.......
------------------------------------------------------------- IMPORTANT....

To Finalize....


Having added the new key to the registry,..... go back to the terminal, where you started editing... regedit... and enter

 wineserver -k   

 

  There is a space after wineserver    before the -k

close the registry window with the X in top right corner,

Wait for a few seconds  and  then close the Terminal 


**********************************************************************
 
 

You now need to give CWCOM access to the outside world... in the way of DIAL OUT permission..



in the terminal window type

sudo usermod -a -G dialout zxywv    

 ( zxywv your user name )   (no brackets, just your username).
   then press  Enter key…
 
 may be requested. 

    
most important.......
 
 REBOOT YOUR COMPUTER FOR THIS CHANGE TO TAKE EFFECT..... 
 
 
 ***********************************************************

 
****************************************************************
 
NOW IS THE TIME ! ! ! ....
 
 

Right click on the CWCOM icon ( this may be a "document" type icon) 
on the desktop....(Once opened it becomes a proper icon) .
 
You may get a message saying it could be "unsafe"... 
but click ok anyway...  click  Open... 

CWCOM screen appears.....
 
click on the configurations icon  (Between the A and the speaker icon)
 
 If you have already managed to get an external key, 
straight or paddle connected
 
 select the comport number  (in the window showing 1 )
by the up/down arrow to 4 

select the COM port  by clicking on the "hole" 
and a black dot should appear....
If you have no key connected.. you can use the down arrow as a straight key,
make sure you have "Keyboard" selected with a black dot! 
Follow the instructions on Page 4 "how to connect an external morse key"
 
 Then, You can now use your external key connected to your computer.
 
.
 IMPORTANT...
.
See page 3 for all the settings and configurations 
well worth doing. as it improves the user feelgood factor ! ! ! ..

ENJOY...
 
 Any problems... contact me G3MS on channel 1000 OR......
 use the contact me email address on page 2
 
 

4 comments:

  1. On ubuntu here with wine the mouse does not work under iambic. On W10 no problems with same mouse (microsoft wireless).

    ReplyDelete
  2. Hello Adrian... did you set up the "COMPORT" with REGEDIT and also the "Dial Out" for users and groups ?

    See the instructions above... email me direct if you still have problems

    ReplyDelete
  3. Hi dear,

    trying to install cwcom on Ubuntu 20.04 LTS i received the follow error: "002b:err:mscoree:LoadLibraryShim error reading registry key for installroot

    I can't solve this issue. May you please help me?

    best regards,

    Antonio.

    ReplyDelete
    Replies
    1. Unfortunately, I am not a "Linux Geek! "... so I cannot explain what your error message needs to do, to correct it... Maybe it is something to do with the installation of WINE... perhaps remove WINE from the system, and install the latest version.. ( check the WINE forum for instructions) . Good Luck. Hope you get it working soon.

      Delete