Automatically Hide your Cursor on Windows XP

If you think hiding your cursor is something that should be really simple, you’re right. Truth be told, on Windows, it isn’t.

Poor Man’s Electronic Billboard

I’m setting up a computer to act as a kiosk of sorts. More an electronic billboard really, so there will be no need for human interaction. It’s been a bit of a mission, because my first day was spent trying to get Firefox to launch automatically and go straight into kiosk-mode, meaning no borders, no menus, just web page.

That one I eventually solved with an add-on that you can install for Firefox (works on Fx2.x, but not the Beta Fx3 I tried it on), called R-Kiosk or Real Kiosk. It can be set so that on start-up Firefox goes straight into kiosk-mode. Be warned though, it launches into kiosk-mode immediately removing all menus and you can’t right-click or access the menus with keyboard short cuts either, so you’ll be stuck, unless you use CTRL+ALT+DEL press ALT+F4 to force Firefox to quit.

You can change the setting somewhere, but I think you have to edit a few files. For me it’s easier to just start Firefox in Safe Mode when I’m testing (which disables the add-ons), and then launch the Kiosked Firefox for trail runs, C+A+D’ing Alt+F4 when I want to exit.

Anyway, my billboard system uses mySQL and PHP to display what meetings are being held in which rooms. Once you get onto the first page, it’s an automatic loop. I set that page as Firefox’s home and put Firefox in my Startup folder, so when the computer starts it launches Firefox, in Kiosk Mode, automatically loading the home page and *poof*, electronic billboard.

Update 18 June 2008: I just downloaded Firefox 3 and doing what I spoke about above is now so easy, I did it in less than 2 minutes.  Download the new Firefox 3, go Tools->Add-ons and install “Full Full Screen”.  Once you’ve installed it, restart Fx3, go back to the add-ons and change the settings for Full Full Screen to “Full Screen On Start Up”.  Now it goes to full screen auto on start and Fx3 automatically hides tabs and the address bar anyway.  Make the page you want to load your default home page, pop Firefox 3 into the Startup folder and poof, automatic kioask when your computer starts.

Big visible cursor

The last of my obstacles was the fact that the mouse cursor kept on hanging around. I tried a few javascript solutions in the actual webpage, which apparently is the only way to do it in Firefox. Internet Explorer has some proprietary CSS that you can use, but I really don’t need the big IE security hole on this system.

Anyway, the shortcoming of the Javascript solution is that if you don’t move the mouse, nothing happens. The mouse, as far as I could discover in testing, has to move at least a pixel in order for the code to effect the cursor, and change it into a transparent gif, for instance. As this computer will start-up by itself, from a computer which likely won’t even have a keyboard or a mouse, that’s not an option.

How to make your cursor disappear

The solution was actually quite obvious and I really should have thought of this yesterday. Simply change the default icon to a 1px gif.

Of course, nothing is that straight forward. It’s easy enough to go to the Control Panel and access the cursor properties under the Mouse utility, but you have to have a .cur or .ani file, because the mouse pointer can’t be just a graphic file.

Thankfully that solution was rather quick and I found this utility, IconArt, on, which allowed me to quickly create a 1px .cur file. Then you simply substitute your default cursor for this 1px file and *poof* your cursor is gone.

Another warning, a cursor is like your pinky – you don’t realise how much you use it until you’ve lost it. A good thing to do when you change your cursor to be essentially invisible, is to tick the box in the properties that says Press Control to Locate Cursor. What that does is attract attention to your cursor location with a fat circle and in that way you can still navigate.

So, mission complete: I switch on the computer. Firefox loads on Startup and loads the billboard page, which is set to be the homepage, by default. It automatically goes into kiosk mode and the invisible cursor is, well, invisible. Electronic Billboard running.

Published by Yaku

Yaku is a brewer, baker, and semi-retired trouble maker (semi-retired from trouble-making that is). Although he believes anything is possible, he is nevertheless frequently stupefied by his world and the people in it.

5 thoughts on “Automatically Hide your Cursor on Windows XP

  1. hi
    i have the opposite problem my cursor dissapears when pte slide show esc or finnishes .If i hover on desck top i can highlight and poerate buttons but no cursor unless i restart pc any ideas please ?

    1. No, sorry – it could be a plethora of things. All I could suggest would be to make sure you’re using the latest version of your operating system and software. But surely not you’re still doing this on a Windows XP machine, right?

  2. Heh. I've exactly like this kind of FireFox based billboard myself too. And I first tried to hide it with JS also, but then I just made invisible windows cursor. Too bad that this happened start of the year and I didn't find this blog post.

  3. Hi Foo – I'm sure I tried that, but the problem was that my kiosk had no keyboard and mouse attached, and, if I remember correctly, to get the CSS parameter to kick in, the cursor has to actually move 1 pixel first.

Leave a Reply

%d bloggers like this: