Home > GNOME > Auto-Hide Your Mouse Pointer When Idle With “Unclutter”

Auto-Hide Your Mouse Pointer When Idle With “Unclutter”

There was some recent discussion on one of the local User Group lists this week about “What is your favorite underdog OSS application?”  This discussion brought out quite a few of the little never-heard-of applications, yet many of them have proven to be really useful!  If you’ve never spent an hour or two poking around the less-popular section of the repositories you’ll be surprised what you find in there!

Auto-Hide Your Mouse Pointer with Unclutter

The purpose of Unclutter is very simply.  From the man page:

unclutter removes the cursor image from the screen so that it does not obstruct the area you are looking at after it has not moved for a given time.

Not anything too complicated about that.  Now lets get it installed!  Installation can be done by issuing the following command or clicking the link.

sudo aptitude install unclutter

Now that we have it installed the one last thing we’ll need to do is configure it and have it automagically start at boot time.  We’ll do this by way of “System > Preferences > Sessions”

adding \'unclutter\' to the sessions menu

The “sessions” for your Desktop controls what applications and services are auto-started when you login.  This way unclutter will start up automatically.  You’ll want to click “Add” and populate the three fields.  For name “Unclutter” should be fine.  For the command field you’ll want something like:

unclutter -display :0.0 -idle 5

And you can populate the comment with whatever you like.  I used “Remove the cursor image after mouse inactivity.”

You can find more options in the man page (man unclutter), but this should basically hide the mouse pointer after 5 seconds of inactivity on your default display.

If this article has been helpful, please consider linking to it.

Categories: GNOME Tags: , , ,

Related Posts

  1. Mackenzie
    July 7th, 2008 at 10:36 | #1

    Does the pointer always come back properly? I’ve never used this, but I know the pointer used to disappear while I was idle in Firefox, and then it’d refuse to come back. I started using Compiz’s water plugin to find it again.

  2. Flow
    July 7th, 2008 at 16:18 | #2

    Wow that was right what I was looking for. Always wondered if I could make the pointer disappear when typing like it was in Windows XP some years ago.
    Just a nice option: -keystroke makes the pointer disappear only when you type something.

  3. Lake-end
    July 8th, 2008 at 04:10 | #3

    Thanks for that!

  4. July 8th, 2008 at 06:04 | #4

    I’d like to use this in Xubuntu, but the Sessions thing in XFCE doesn’t have the Add feature.

  5. July 8th, 2008 at 06:07 | #5

    Oops! I typed too soon. There’s a Settings gadget called “Autostarted Applications” that seems to do the job.

  6. anonymous
    February 18th, 2009 at 03:49 | #6

    works perfectly, thanks a lot!

  7. GuyS
    March 24th, 2010 at 15:51 | #7

    Little things that make me happy. Thanks for this. It works in all most windows (but not, for example, in this very dialog in Firefox as I’m typing :-\ But it mostly works and that’s an improvement.

  8. Frank
    May 14th, 2010 at 23:40 | #8

    Thanks for this wonderful entry – I was just looking for exactly this! Perfectly fits awesome as my window manager :)

  9. Stoffe
    June 17th, 2010 at 01:07 | #9

    Only needs “unclutter” as the command in all common cases, 5 is the default according to the man page.

    Great little app!