Skip to content

Instantly share code, notes, and snippets.

@caio2k
Last active November 4, 2017 15:53
Show Gist options
  • Save caio2k/01ebee861d5d52a8eb57 to your computer and use it in GitHub Desktop.
Save caio2k/01ebee861d5d52a8eb57 to your computer and use it in GitHub Desktop.
#/bin/bash
#by caio2k
sudo aptitude install xbindkeys xautomation
#xbindkeys --defaults > $HOME/.xbindkeysrc
#xev to verify the available keys in mouse
echo "\"xte 'keydown Control_L' 'key Page_Up' 'keyup Control_L'\"" > .xbindkeysrc
echo " b:11" >> .xbindkeysrc
echo "\"xte 'keydown Control_L' 'key Page_Down' 'keyup Control_L'\"" >> .xbindkeysrc
echo " b:12" >> .xbindkeysrc
echo "\"xte 'keydown Control_L' 'key W' 'keyup Control_L'\"" >> .xbindkeysrc
echo " b:10" >> .xbindkeysrc
echo xbindkeys >> .bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment