You are not logged in.
Pages: 1
Hi,
I'm trying to figure out a way to enable/disable via hotkey Mouse Emulation through the numpad. (Settings >> Accessibility | Mouse > Use Mouse emulation)
In Gnome2 you use to be able to toggle MouseKeys with Alt+NumLock. I would like to try to mimic this behavior in XFCE.
P.S.
Previous topic [solved] Mousekeys does not work in XFCE 4.10.0
Offline
This seems to work. Create a script with the following content:
#!/bin/bash
[ $(xfconf-query -c accessibility -p /MouseKeys) == "false" ] \
&& $(xfconf-query -c accessibility -p /MouseKeys -s true) \
|| $(xfconf-query -c accessibility -p /MouseKeys -s false)
...make the script executable and assign it to the Alt+Numlock key combination.
Last edited by ToZ (2013-07-31 15:35:50)
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
This works, but only after I first enable settings / accessibility / Enable Mouse emulation.
Thank you!
Offline
This works, but only after I first enable settings / accessibility / Enable Mouse emulation.
Thank you!
Sorry. Yes the xconf entry needs to exist prior to being able to toggle it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
No problem. I figured it out and mentioned it so others wouldn't have any issue.
Thanks again!
Offline
Pages: 1
[ Generated in 0.010 seconds, 9 queries executed - Memory usage: 535.88 KiB (Peak: 537.16 KiB) ]