Click to See Complete Forum and Search --> : One step from perfection... get the extra mouse buttons to work + Num lock?


otheos
11-18-2001, 07:46 PM
I am now as happy as one can get with my linux box (100% MS free). I need to set up the next two things:

Asign my extra side buttons to copy and paste.

This is what my Xfconfig-4 looks like for the mouse:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "7"
Option "Resolution" "100"
Option "ZAxisMapping" "6 7"
EndSection

This way I get the side buttons to do the scroll up/down instead of the roller but if I use

Option "ZAxisMapping" "4 5"

as suggested in the howto, I get the roller to work but xev won't see the side buttons.

So at the moment I set just run

xmodmap -e "pointer = 1 2 3 6 7 4 5" to get the rollers to roll and free the side buttons.

Two questions on this: how do I get the above to run each time I login (.xinitrc is there but wont run at start up :().

How do I asign the side buttons to copy and paste?

Also if there is a way to set Xfconfig-4 so that I avoid the xmodmap command?

Finally, how can I have Num lock on everytime I log on?

I use RH7.2 (2.4.13-ac8 smp)
KDE 2.2.1 (stock)
XFree 4.1.0 (stock)
MS optical mouse (4 buttons + roller/middle button).

Thank you for your time.