Hide cursor when entering text

cursorgtkmouse

I use Awesome WM on Fedora 23. When I enter text in Firefox or gVim the mouse cursor stays visible. When entering text in Konsole or Dolphin, the cursor is hidden until I move it again.

The KDE behavior is much more what I want. How can I change this in GTK applications?

Best Answer

There is program called unclutter which hides mouse pointer while not in use. To install it on fedora (if haven't already):

dnf install unclutter

And then start it with -idle option to set number of seconds before pointer will be hidden, e.g.:

unclutter -idle 2 &

You may want to add above line to .xinitrc or similar startup file.

Related Question