LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Fluxbox and left handed mouse. (https://www.linuxquestions.org/questions/linux-general-1/fluxbox-and-left-handed-mouse-145621/)

asklepios 02-13-2004 07:22 AM

Fluxbox and left handed mouse.
 
i currently use Fluxbox 0.9.8.
since i m left handed i want to change the mouse buttons but haven't found any documentation on how to do it. can someone help me please.
thanx for reading.

b0uncer 02-13-2004 08:05 AM

I guess this relates to XFree86Config -configfile editing.. :) so check out this one for a full text: http://www.superant.com/cgi-bin/smalllinux.pl?SmallXFAQ

and here's the shortened text:

when you're running an X session, in terminal run

Code:

xmodmap -e "pointer = 2 1"
if you have a 2-button mouse....if you have a three-button, run instead

Code:

xmodmap -e "pointer = 3 2 1"
if you wish to get it in use in every X-session, create in your homedirectory a file (unless it's already there; then just append) called .Xmodmap and add there this line:

pointer = 2 1

if you have a two-button mouse, and if you have a three-button, then this:

pointer = 3 2 1

and that should do it (perhaps you need to restart X?)

note that if you happen to have a wheel (as many people do these days) or more than three buttons, it's quite unsure how things are done...but you can get a clue from the lines above.

asklepios 02-13-2004 12:28 PM

b0uncer: thanx for the reply mate but the thing did not work.
when i passed the xmodmap -e "pointer = 2 1"
it says
Code:

xmodmap:  commandline:0:  bad number of buttons, must have 5 instead of 2
xmodmap:  1 error encountered, aborting.

while when i passed that 3 2 1, it said that it must be 5 instead of 3.
then i passed 5 4 3 2 1 and it messed up everything. my primary mouse button was gone and everything was hay wire.
any other ideas?

slackie1000 02-13-2004 12:39 PM

with a 3 buttons scroll mouse - it means 5 possible actions!! - something like that would work for left hand...
.
xmodmap -e "pointer = 3 2 1 4 5"
.

regards

slackie

asklepios 02-14-2004 02:55 AM

wow!!! talk about not thinking straight.
thanx a lot mate.
i shd have guessed that in first place. thanx once again :D


All times are GMT -5. The time now is 06:34 AM.