Playing with xbindkeys: Difference between revisions
Jump to navigation
Jump to search
Created page with " sudo apt-get install xbindkeys sudo apt-get install xautomation xautomation is needed for xte xbindkeys starts when the system starts. a reboot loads the new configura..." |
No edit summary |
||
Line 9: | Line 9: | ||
xbindkeys starts when the system starts. a reboot loads the new configuration out of .xbindkeysrc | xbindkeys starts when the system starts. a reboot loads the new configuration out of .xbindkeysrc | ||
It is supposed to be possible to kill and restart the xbindkeys dameon with: | |||
killall xbindkeys && xbindkeys | |||
Try it as non-priv on xterm? | |||
Stop the daemom: | |||
pkill -f xbindkeys | pkill -f xbindkeys | ||
Line 18: | Line 23: | ||
The n means nodaemon. You can see xbindkeys errors when testing your .xbindkeysrc file. | The n means nodaemon. You can see xbindkeys errors when testing your .xbindkeysrc file. | ||
The first mouse button (left) is called b:1, the second (right) b:2 | |||
xte can also be used to simulate mouse clicks. Below is an example. | |||
"xte 'mouseclick 1' 'keydown Control_L' 'key v' 'keyup Control_L' 'key F2'" | |||
b:2 + Release |
Revision as of 21:28, 8 March 2015
sudo apt-get install xbindkeys sudo apt-get install xautomation
xautomation is needed for xte
xbindkeys starts when the system starts. a reboot loads the new configuration out of .xbindkeysrc
It is supposed to be possible to kill and restart the xbindkeys dameon with:
killall xbindkeys && xbindkeys
Try it as non-priv on xterm?
Stop the daemom:
pkill -f xbindkeys
now the xbindkeys daemon has stopped.
from the xconsole type:
xbindkeys -n
The n means nodaemon. You can see xbindkeys errors when testing your .xbindkeysrc file.
The first mouse button (left) is called b:1, the second (right) b:2
xte can also be used to simulate mouse clicks. Below is an example.
"xte 'mouseclick 1' 'keydown Control_L' 'key v' 'keyup Control_L' 'key F2'" b:2 + Release