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)
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
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.
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
No problem. I figured it out and mentioned it so others wouldn't have any issue.
Thanks again!
Offline
Pages: 1
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 529.86 KiB (Peak: 531.76 KiB) ]