Re: How to make use of left/right movement of scroll wheel on mouse
Quite easy to do...I have various commands keyed to my Logitech mouse, including starting programs. First, install xbindkeys and xautomation. Create a file called .xbindkeysrc and add to your home profile. Use my file as a template:
Code:
#@@@@@@@@@@@@@@@@@@ BUTTON ASSIGNMENTS @@@@@@@@@@@@@@@@@@@
# b:1 - left mouse button
# b:2 - wheel button
# b:3 - right mouse button
# b:4 - mouse wheel up
# b:5 - mouse wheel down
# b:6 - mouse wheel left
# b:7 - mouse wheel right
# b:8 - back side button
# b:9 - forward side button
#@@@@@@@@@@@@@@@@@@@ BUTTON MAPPING @@@@@@@@@@@@@@@@@@@@@@
# Exit Programs (Various Combinations)
"xte 'keydown Alt_L' 'key F4' 'keyup Alt_L' "
b:2
"xte 'keydown Shift_L' 'keydown Control_L' 'key Q' 'keyup Shift_L' 'keyup Control_L' "
b:2
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# Miscellaneous
#Shutdown
"sudo shutdown -h now"
Alt + Control + b:2
#Reboot
"sudo init 6"
Control + mod4 + b:2
"gnome-terminal"
Control + b:2
"gksu gnome-terminal"
Alt + b:2
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# Internet
"firefox -P firefox -no-remote"
b:8
"/.media/Linshare/Internet/Browsers/nightly/firefox -P nightly -no-remote"
Control + b:8
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# File Browsers
"nautilus /home/larry"
b:9
"gksu nautilus"
Control + b:9
#@@@@@@@@@@@@@@@@@@@@@@@@@@@@
# History Back & Forward
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L' "
b:6
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L' "
b:7
To start automatically at boot, create a startup program in your Startup Applications with the command xbindkeys.
Reboot or restart profile. Should work, unless I forgot a step
Clevo/Sager i7-2670 | 8gb ram | ATI 6970 | SSD drive | [I] Ubuntu: 13.04 / 12.10 /
Bookmarks