How to hide the mouse cursor

Posted by MvG on Ask Ubuntu See other posts from Ask Ubuntu or by MvG
Published on 2012-06-28T12:32:29Z Indexed on 2012/06/29 3:23 UTC
Read the original article Hit count: 281

Filed under:
|
|
|
|

I'm building a kiosk using Ubuntu Precise on a touch screen. Now I'm looking for the appropriate way to make the mouse cursor disappear. As people know where they are pointing, displaying an arrow under their finger is useless, and having an error where they last pointed even more so.

My best bet would be some kind of cursor theme consisting only of transparent cursors. I'm a bit surprised to find no UI to switch and maybe install cursor themes the default Unity UI, but as I won't be using Unity, that's not much of a problem. It appears that the alternatives listed in update-alternatives --list x-cursor-theme all refer to .theme files, so I searched the package list for those. The resulting list does not list any likely candidates, i.e. no packages containing “invisible” or “transparent” in their name.

So far, some googled result yielding a readme for “XCursor Transparent Theme” is my best bet. That would mean compiling those sources myself, perhaps putting them into my PPA. I'm also a bit sceptical about that result as said readme is dated from 2003. And I'm not sure that I'm not making things overly complicated. After all, there is quite some support in Precise for touch devices, so I don't believe I'm the first one who wants to get rid of his mouse cursor.

  • Is there another way which doesn't involve user-compiled binary code?
  • Is there a theme package for transparent cursors which I've overlooked?
  • Is there some other mechanism to make the cursor disappear without changing the cursor theme?

I'll be using Matchbox WM, Firefox and Java applets, so I'll be happy with any solution working under such a setup. I'm not interested in any solutions twiddling with Gnome or Compiz, as I'll not be running either.

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about themes