LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   left handed xmodmap help (https://www.linuxquestions.org/questions/linux-newbie-8/left-handed-xmodmap-help-515309/)

twelvenine 01-01-2007 05:37 AM

left handed xmodmap help
 
hi, i'm trying to use fluxbox, but i'm left handed and i like the left and right mouse buttons to be reversed: right=click, left=menu. i've read that i can use xmodmap to remap the buttons, but so far i haven't been able to get it working right.

first, i checked with xev first and it seems to be showing that my buttons are: left=1, right=3, middle=2. this is a laptop with a two button alps touchpad. the middle button is emulated by X(pressing left and right at the same time).

i've tried doing
Code:

xmodmap -e "pointer = 3 2 1"
to swap buttons 1 and 3. and according to xev, they have actually been swapped but when i try to use them, fluxbox responds the same way it used to: left=click, right=menu.

can anybody help me with this?

MasterC 01-02-2007 01:46 PM

I haven't got a whole lot of info for you other than, "That's how I use to do it". I gave up and have moved to the dark side, using my mouse with my right hand. The difference being I had a scroll button, so I had "4 5 3 2 1" the 4 5 needed to be in order otherwise I'd scroll up and the page would move down.

Trying playing with your command a bit, maybe take out the quotes, move the numbers some more. Add the 4 and 5.

Good luck!

Cool

Electro 01-02-2007 02:29 PM

Some desktop and window mangers have a way to switch from right hand to left hand. I use XFce4 which has such option.

What I read, Fluxbox have to be configured using its files. Probably you need to edit its keys config file.


All times are GMT -5. The time now is 02:35 PM.