| | 1 | = Mouse User Guide = |
| | 2 | Many users have trobles with mouse service. So I decided to describe solution for this. |
| | 3 | |
| | 4 | 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 ;-) |
| | 5 | {{{ |
| | 6 | <SHIFT> + [LMB | RMB] |
| | 7 | }}} |
| | 8 | |
| | 9 | == GPM dependency == |
| | 10 | Second thing is that GPM (General Purpose Mouse) library is required. Version you need is at least '''1.20''' |
| | 11 | To check instaled version type: |
| | 12 | {{{ |
| | 13 | pinochet@myssh:~$ gpm -v |
| | 14 | gpm 1.20.6 20090209 10:59:23 +0100 |
| | 15 | }}} |
| | 16 | If your version is appropriate go to '''"Compile with GPM"''' section. |
| | 17 | |
| | 18 | If you haven't required version (e.g Ubuntu at now provide only 1.19 version) you should try to install it from sources. |
| | 19 | Visit GPM website and download source http://linux.schottelius.org/gpm/ |
| | 20 | I'll show you how to make it in bash |
| | 21 | {{{ |
| | 22 | pinochet@myssh:~$ wget http://linux.schottelius.org/gpm/archives/gpm-1.20.6.tar.bz2 |
| | 23 | #... |
| | 24 | 23:13:26 (1.01 MB/s) - `gpm-1.20.6.tar.bz2' saved [1429387/1429387] |
| | 25 | |
| | 26 | pinochet@myssh:~$ bunzip2 gpm-1.20.6.tar.bz2 |
| | 27 | pinochet@myssh:~$ tar -xf gpm-1.20.6.tar |
| | 28 | pinochet@myssh:~$ cd gpm-1.20.6/ |
| | 29 | pinochet@myssh:~$ ./configure |
| | 30 | #... |
| | 31 | pinochet@myssh:~$ sudo make |
| | 32 | #... |
| | 33 | pinochet@myssh:~$ sudo make install |
| | 34 | #... |
| | 35 | }}} |
| | 36 | == Compile with GPM support == |
| | 37 | Now We are going to compile EKG2 with GPM support. |
| | 38 | It is recomended to use SVN version of EKG2, so login to your favourite terminal and type: |
| | 39 | {{{ |
| | 40 | pinochet@myssh:~$ svn co http://toxygen.net/svn/ekg2/trunk/ ekg2 |
| | 41 | # ... |
| | 42 | pinochet@myssh:~$ cd ekg2 |
| | 43 | pinochet@myssh:~/ekg2$ ./configure |
| | 44 | #... |
| | 45 | }}} |
| | 46 | No configure flags are necessary, support for gpm is enabled by default. |
| | 47 | Among the configure output you should see this two line: |
| | 48 | {{{ |
| | 49 | checking for Gpm_GetEvent in -lgpm... yes |
| | 50 | #... |
| | 51 | - Mouse support:in gpm and xterm |
| | 52 | }}} |
| | 53 | Appearance of first line indicate appearance of second, which is visible in summary(several end lines). |
| | 54 | |
| | 55 | Now just type make, make install and have a nice time with EKG2&Mouse |
| | 56 | {{{ |
| | 57 | pinochet@myssh:~/ekg2$ sudo make |
| | 58 | #... |
| | 59 | pinochet@myssh:~/ekg2$ sudo make install |
| | 60 | }}} |
| | 61 | == Support == |
| | 62 | Don't be affraid to ask us on mailing list: http://lists.ziew.org/mailman/listinfo/ekg2-users |
| | 63 | or on our irc chanell #ekg2 on freenode |