You are not logged in.
Pages: 1
I'm trying to emulate windows mousekeys with xfce keyboard shortcuts and xdotool. So I've bound Numpad 5 to this: xdotool click 1; xdotool click 3. But it only either clicks, or rightclicks, depending on what I have first. If I write that into a command line it works flawlessly.
Offline
Hello and welcome.
The built-in interpreter is a very basic one. The semi-colon is tripping it up. Embed the commands in a bash string like:
bash -c "xdotool click 1; xdotool click 3"
This executes bash and passes bash the string to execute.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hello and welcome.
The built-in interpreter is a very basic one. The semi-colon is tripping it up. Embed the commands in a bash string like:
bash -c "xdotool click 1; xdotool click 3"
This executes bash and passes bash the string to execute.
oh I see, I did a simple fix by making it into a sh script and then executing that, but thanks that'll work flawlessly aswell
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 523.95 KiB (Peak: 532.86 KiB) ]