Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Yes you can use the side buttons. I've just finished setting up my five button optical mouse after reading this post this morning and doing a bit of googling on the subject.
First you need to set up your mouse in XFree86 (version 4.2.0 is what I use), this is my pointer section,
Then you need to do "xmodmap -e "pointer 1236745" I have a script in .kde/Autostart to do this when ever I startx but you can put the line in your .xdefaults as well.
xmodmap -e "pointer = 1 2 3 6 7 4 5"
Once you have verified that your wheel works you can test to see if the extra buttons are seen by X with "xev" (place the pointer in the square and click the buttons to see the events).
Next you need to download and install imwheel (1.0.0pre1) and create .imwheelrc in your home directory with the following,
None, Up, Alt_L|Left
None, Down, Alt_L|Right
Next start imwheel with imwheel -k -b "67" I use another script in /kde/Autostart for this as well,
imwheel -k -b "67"
So far it's working well in konqueror, mozilla 1.0rc2 and netscape 7 pre1.
Originally posted by Aussie
[B]Yes you can use the side buttons. I've just finished setting up my five button optical mouse after reading this post this morning and doing a bit of googling on the subject.
thank u so much, it works perfectly
i've always wondered how to get this to work but never really got into it
This is what happens when I run xmodmap: xmodmap "pointer = 1 2 3 6 7 4 5"
xmodmap: unable to open file 'pointer = 1 2 3 6 7 4 5' for reading
xmodmap: 1 error encountered, aborting.
What am I doing wrong here? Anyone map the side buttons to fwd and back like on WIndows?
Just because your mouse connects via usb does not mean it needs a usb protocol, you need to use ExplorerPS/2 if you want to get the side buttons working with either usb or ps/2 connections. You might need to change the device however.
/dev/psaux is your problem now, psaux is for a mouse connected to the ps/2 port and you have a usb mouse. Have a look in /dev and see what /dev/mouse is a symlink to, and you may need to change your device to that target.