->
Yesterday I promised I would also include instructions on how to setup IMWheel for support for 5 button mouse within Nautilus file manager. These instructions are a little more detailed and require a touch of customization. In my mind, if you’re brave enough to use an abomination mouse you can easily be brave enough to set this up. It shouldn’t take more than 5 minutes and when you’re done you’ll have all the comforts of your 5 button mouse with GNOME and Nautilus. Let’s get started!
- sudo aptitude install imwheel
- sudo gedit /etc/X11/imwheel/imwheelrc
- Add the following to the bottom of the existing file:
- Create an IMWheel startup script: sudo gedit /usr/bin/mouse
- Set this script as executable: sudo chmod +x /usr/bin/mouse
".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
"(null)"
None, Up, Alt_L|Left
None, Down, Alt_L|Right
#!/bin/sh
exec xmodmap -e "pointer = 1 2 3 6 7 4 5" &
exec imwheel -k -b "67" &
exec $REALSTARTUP
You can optionally set this script up to auto-start at login by adding it to “System > Prefences > Sessions > Startup Programs”. Click “Add” and enter /usr/bin/mouse. Select “OK”.
At this point test IMWheel by restarting GNOME (ctrl-alt-backspace) or restarting the computer. I would love to hear how this works for people as I don’t personally have a 5 button mouse to test this on. If I’ve missed anything please let me know.
If this site has been useful, please consider participating in the Fundraiser.