| The Following User Says Thank You to Benson For This Useful Post: | ||
# cat /etc/passwd user:!:29999:29999::/home/user:/bin/sh
# cat /etc/passwd user:x:29999:29999::/home/user:/bin/sh

apt-get install xbindkeys
vi ~/.xbindkeysrc
"r-mouse"
F8
"l-mouse"
release + F8
#!/bin/sh
/usr/bin/xmodmap -e "pointer = 1 2 3"
#!/bin/sh
/usr/bin/xmodmap -e "pointer = 3 2 1"
chmod a+x /usr/bin/l-mouse
chmod a+x /usr/bin/r-mouse
| The Following User Says Thank You to qole For This Useful Post: | ||
style, efforts to safely quote things to prevent complete breakage in the event of empty or space-containing definitions...| The Following 3 Users Say Thank You to Benson For This Useful Post: | ||
| The Following User Says Thank You to debernardis For This Useful Post: | ||