However I realized that I could simply create a script called `mouse-move` containing "xdotool 9999 0".
I then added "bindsym $mod+m exec ~/scripts/mouse-move" to my i3 config and now I can press Win+M when I want the mouse to go away. This is good enough for me.
One could probably make the script remember the last location and restore it if the mouse is in the corner. Then Win+M would toggle hiding/unhiding mouse. I have no need of this feature, so I'll leave it as an exercise for future readers.
]]>Sounds like this would inactivate my mouse completely, rather than just moving it out of the way, no?
Yes. It's like the touchpad toggle on many notebooks.
]]>"xinput disable" it (but for the latter need a non-mouse shortcut/action to re-enable it)
Makes sense In my case I would presumably press my "launch terminal" hotkey and do "xinput enable" or smth. Sounds like this would inactivate my mouse completely, rather than just moving it out of the way, no?
]]>I installed unclutter and that does a nice job of hiding it. However it only visually hides the pointer. The mouse is still pointing at the center of the screen, so it can trigger mouse over effects on some web pages for instance.
I would prefer it if instead of hiding the cursor, it was moved to the edge of the screen. How can I do this? Does unclutter have an option I've missed? Does xbanish support it? Is there some other program that does?
]]>