I add the xdotool
commands to .xbindkeysrc
. The commands for mouse work, such as
"xdotool mousemove 200 200"
q
but I keys do not work, such as
"xdotool key x"
q
What can be the reason that the first command works perfectly, but the second command not. When pressing Q key, instead of typing X, it does nothing (it just prevernts the default behaviour of Q key).
Mouse to key commands also work, such as
"xdotool key x"
b:8
The problem is not the xdotool
command, as the following command works in the terminal
xdotool key x