The i3 FAQ has migrated to All content here is read-only.
Ask Your Question

Can I hide the mouse pointer?

asked 2013-06-13 18:15:41 +0000

As I work on a simple, old, and defective netbook most of the time, of which the touchpad recently broke down (and some other parts, too, I'm afraid), and have been using key commands for almost anything, I stopped using the touchpad completely, and to save my limited number of USB-ports no mouse either. Now, since I lost control of the now completely useless pointer, it is in my sight all the time and I cannot move it away. Is there a code to hide the pointer?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2013-06-14 09:16:41 +0000

Do I understand it right, that your touchpad is deactivated, so the mouse cursor in fact CANNOT be moved manually? In that case, xdotool mousemove x y with x,y being the lower left / lower right coordinates of your screen is a "pseudo solution". It doesn't really hide the pointer but moves it completely out of your sight. If you are not able to move it by hand, this should also solve your problem.

edit flag offensive delete link more


Yes! That is exactly what I was looking for. The unclutter option blocked focusing another window (using i3wm, that may have been the bug you mentioned before); xdotool works perfectly. Thank you

Maestraccio gravatar imageMaestraccio ( 2013-06-14 13:59:27 +0000 )edit

answered 2013-06-13 18:24:56 +0000

jbelpo gravatar image

Quick and Dirty: Unclutter

edit flag offensive delete link more


Note that unclutter has a few side-effects (read: bugs) in certain conditions. Can’t really remember the precise symptoms right now, but be aware of it.

Michael gravatar imageMichael ( 2013-06-13 18:31:25 +0000 )edit

You rock. Thank you!

Maestraccio gravatar imageMaestraccio ( 2013-06-13 20:21:37 +0000 )edit

Unclutter and I3's focus follows mouse = yes, will break focus key bindings, since it focuses when unclutter kicks in. EDIT: 'unclutter -grab' seems to fix this like described in the wiki, but this will break i3lock. This can be fixed by killing unclutter, run i3lock, and start unclutter.

jpoppe gravatar imagejpoppe ( 2014-07-14 12:55:52 +0000 )edit

Question Tools


Asked: 2013-06-13 18:15:41 +0000

Seen: 1,722 times

Last updated: Jun 14 '13