Click to See Complete Forum and Search --> : configuring mouse, gpm, at black screen
lugoteehalt
09-26-2003, 08:06 AM
Hello,
How do you accelerate the mouse a bit at the black screen with gpm? Make it more sensitive to hand movements.
While I'm at it: have failed to get the sexy 3 double clicks and then a single click within three seconds and the computer shuts down special thing to work. How's it done?
Thanks for any help.
andysimmons
09-26-2003, 08:18 AM
gpm -r (rate)
I don't know what you're talking about regarding the 3 double clicks, but the gpm manpage might help you.
bwkaz
09-26-2003, 07:58 PM
It's not 3 double clicks, its a triple-click with both buttons. From the gpm manpage:
Special commands are toggled by triple-clicking the left and right button -- an
unlikely event during normal mouse usage. The easiest way to triple-click is press-
ing one of the buttons and triple-click the other one. When special processing is
toggled, a message appears on the console (and the speaker beeps twice, if you have
a speaker); if the user releases all the buttons and presses one of them again
within three seconds, then the special command corresponding to the button is exe-
cuted. It goes on to explain what the special commands are.
lugoteehalt
09-27-2003, 05:52 AM
Thanks greatly.
Did look at man page and did hold down left and triple click right at which point the computer should give two bleeps. It didn't. Followed directions, something like gpm -S blah at the command line but this produced no effect. Was wondering if you had to put the command in a file or something.
mdwatts
09-27-2003, 08:46 AM
Originally posted by lugoteehalt
Was wondering if you had to put the command in a file or something.
It could be you need to add the command to one of the config files in /etc/gpm.
lugoteehalt
09-30-2003, 06:34 AM
Thanks.
Thought might as well say how I did it for referrence purposes, since a bit of a pillock it seemed.
To fiddle with gpm have to be root.
Have to kill it, with, say gpm -k, to change it.
It uses ms, i.e. microsoft mouse, as default. Mine is ps/2 and so the command:
gpm -r 28 -S "" that is responsiveness level 28 - to speed it up a bit and special commands as default - e.g. reboot on tripple double click
produces no effect visible on screen. This is confusing.
It should be:
gpm -k: gpm -t ps/2 etc to produce the changes.
To get the changes automatic I tried adding -r 28 etc to the /etc/../rc.d/../gpm ?? file at startup thing but mysteriously this had no effect. Therefore used linuxconf to drop-in an add-on which simply did:
gpm -k; gpm -t ps/2 -m /dev/mouse -r 28 -S "". At the end of the startup messages it, Mandrake 8.2, now says 'running linuxconf hooks [ok]'.
Isn't life grand.
(Still have the problem that it won't right click cut 'n paste in, say, lynx or vim unless 'repeating' is enabled. But if it is the mouse won't work in X.)