Thursday, August 04, 2011

Caffeine - Utility to disable screen saver w/o interrupting input

I ran this on a machine I was RDP’d into to prevent the screen saver from appearing while I was logged in.  Handy.  And like other powerful utilities, potentially dangerous.  Not so much in an RDP session, though, because the console running the RDP client wouldn’t/shouldn’t(not a good idea) have this running, just the target host.  The author simulates an F15 keypress to make this work.  Didn’t know I had an F15 key.  Very nice.

Only 2 files inside the compressed download, and one is a README.

http://www.zhornsoftware.co.uk/caffeine/
Caffeine

imageIf you have problems with your PC locking or going to sleep, caffeine will keep it awake. It works by simulating a keypress once every 59 seconds, so your machine thinks you're still working at the keyboard, and won't lock the screen or activate the screensaver.

The icon is shown above - it's the leftmost one in the task tray, and this is all you see. Double-clicking the icon empties the coffee pot (that's what the icon is) and temporarily disables the program. Double-clicking it again refills the pot, and will keep your machine awake.