You are not logged in.
Is there a way to temporarely disable the mouse, and or touchpad, and hide the cursor?
I would like to be able to control this feature with a keybinding in my window manager (xmonad), so it shouldn't require any interruption of the current working environment.
Thanks
Last edited by akh (2013-01-16 10:56:49)
Offline
synclient can disable the touchpad. And many tools will hide the cursor (my own "Iocane" project for example).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Thank you, I'am able to disable the touchpad using:
synclient TouchpadOff=1I thought that there was an easier way to hide the cursor, eg. without other programs, and I'm unsure of how your Iocane project functions, though I'm not interested in simulating my mouse with my keyboard.
Offline
Iocane, banish, xdotool and a number of similar programs allow you to "script" mouse movements which is eseentially what you want to do to move the mouse off screen.
I don't know what you mean by being able to do it without "other" programs. What programs do you already have that you think might do it? Some WMs/DEs have this built in. I know ratpoison and i3 have such options. But there must be *some* program to do it. You could also use xsetroot to set a blank cursor bitmap (that you'd have to create), but not all clients use the root window cursor.
Last edited by Trilby (2013-01-16 00:04:37)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Iocane, banish, xdotool and a number of similar programs allow you to "script" mouse movements which is eseentially what you want to do to move the mouse off screen.
Okay, I didn't think about it that way. Well, that will do the job.
I don't know what you mean by being able to do it without "other" programs. What programs do you already have that you think might do it?
I was thinking that the cursor was a feature of X that could be manipulated through X, and if so, that would have been more simple.
Anyway, this seems to be solved now. Thank you!
Offline
I was thinking that the cursor was a feature of X that could be manipulated through X, and if so, that would have been more simple.
Yep, it is. But Xorg uses a client server design. The Xorg server does not offer direct interface, you need client programs to send messages to it. Each of the example programs I listed are X11 clients that communicate with the server and provide the user ways manipulate what X is doing.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline