Mouse User Guide

Many users have trobles with mouse service. So I decided to describe solution for this.

The main thing (different from EKG) is that you have to press SHIFT when you are working with mouse. It is obvious if you know that ;-)

<SHIFT> + [LMB | RMB]

GPM dependency

Second thing is that GPM (General Purpose Mouse) library is required. Version you need is at least 1.20 To check instaled version type:

pinochet@myssh:~$ gpm -v
gpm 1.20.6 20090209 10:59:23 +0100

If your version is appropriate go to "Compile with GPM" section.

If you haven't required version (e.g Ubuntu at now provide only 1.19 version) you should try to install it from sources. Visit GPM website and download source  http://linux.schottelius.org/gpm/ I'll show you how to make it in bash

pinochet@myssh:~$ wget http://linux.schottelius.org/gpm/archives/gpm-1.20.6.tar.bz2
#...
23:13:26 (1.01 MB/s) - `gpm-1.20.6.tar.bz2' saved [1429387/1429387]

pinochet@myssh:~$ bunzip2 gpm-1.20.6.tar.bz2
pinochet@myssh:~$ tar -xf gpm-1.20.6.tar
pinochet@myssh:~$ cd gpm-1.20.6/
pinochet@myssh:~$ ./configure
#...
pinochet@myssh:~$ sudo make
#...
pinochet@myssh:~$ sudo make install
#...

Compile with GPM support

Now We are going to compile EKG2 with GPM support. It is recomended to use SVN version of EKG2, so login to your favourite terminal and type:

pinochet@myssh:~$ svn co http://toxygen.net/svn/ekg2/trunk/ ekg2
# ...
pinochet@myssh:~$ cd ekg2
pinochet@myssh:~/ekg2$ ./configure
#...

No configure flags are necessary, support for gpm is enabled by default. Among the configure output you should see this two line:

checking for Gpm_GetEvent in -lgpm... yes
#...
 - Mouse support:in gpm and xterm

Appearance of first line indicate appearance of second, which is visible in summary(several end lines).

Now just type make, make install and have a nice time with EKG2&Mouse

pinochet@myssh:~/ekg2$ sudo make 
#...
pinochet@myssh:~/ekg2$ sudo make install

Support

Don't be affraid to ask us on mailing list:  http://lists.ziew.org/mailman/listinfo/ekg2-users or on our irc chanell #ekg2 on freenode