Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Temporarily prevent sleep, screen saver activation, etc. System
There are times when it is desirable to prevent sleep mode, screen saver activation, etc. For example, during Software Update activity. However, it is inconvenient to temporarily change settings in System Preferences temporarily. There are other hardware and software solutions to keep your machine awake, such as Mouse Jiggler.

I offer a simple solution for those with an optical mouse: a watch or clock with a sweep second hand. Simply place the mouse on the face of the watch in such a way that the eye of the mouse can see the second hand pass beneath it. Every 60 seconds (like clockwork -- oof!), the cursor will move a few pixels, refreshing the display.
    •    
  • Currently 3.00 / 5
  You rated: 1 / 5 (5 votes cast)
 
[30,721 views]  

Temporarily prevent sleep, screen saver activation, etc. | 15 comments | Create New Account
Click here to return to the 'Temporarily prevent sleep, screen saver activation, etc.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Temporarily prevent sleep, screen saver activation, etc.
Authored by: figz on Aug 02, '07 07:49:18AM

Very clever!



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: fds on Aug 02, '07 08:05:54AM

I usually open up a random video in QuickTime Player and leave it as the active application.



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: osxpounder on Aug 08, '07 01:30:59PM

Also brilliant [using a QuickTime movie]. I didn't realize this would prevent sleep or screen saver... or just forgot.



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: mikego on Aug 02, '07 08:27:04AM
I use Caffeine. It puts a menu bar icon you can toggle on or off. Works well with my MacBook Pro.

[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: ghay on Aug 02, '07 08:27:51AM

hot corners?



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: olsen on Aug 02, '07 11:38:26AM

Hot Corners, indeed! Nevertheless very clever trick :) It is so .... <i>mechanical</i> :)

---
Mac Gamer



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: greenldr on Aug 02, '07 08:32:52AM
Or you can just use the great little program, Caffeine <http://www.macupdate.com/info.php/id/24120/caffeine>;

[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: stephenpen543 on Aug 03, '07 01:41:12AM
I just use a small application called Jiggler
http://www.sticksoftware.com/software/Jiggler.html
Every so often (you can set when), it 'jiggles' the mouse a bit so the screensaver/sleep mode does not turn on.

---
I ain't what I should be
I ain't what I will be
But I ain't what I was

[ Reply to This | # ]

Temporarily prevent sleep, screen saver activation, etc.
Authored by: stephenpen543 on Aug 03, '07 01:43:16AM

Sorry, next time I will read the whole post. :-(

---
I ain't what I should be
I ain't what I will be
But I ain't what I was



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: NicleT on Aug 03, '07 08:24:48PM
I use the top left hot corner to prevent the screen saver to start but sometime, it even can fall into sleep. So this mouse/watch tip can be very helpful. I like the fact that it's a mechanical trick.

[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: delight1 on Aug 04, '07 09:26:25AM

having used both the recommended program and Caffeine in the past, i find that Caffeine is more convenient, less buggy, and simpler to use.



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: talltree1008 on Aug 07, '07 07:13:31AM

Ii is easy to use applescript to do this. I may have gotten the idea for this from a hint posted here, I don't remember.

This will disable display sleep and computer sleep:

do shell script "sudo pmset displaysleep 0 sleep 0" password "your password" with administrator privileges

The arguments for sleep and displaysleep are minutes. This will set display sleep to 5 minutes, and computer sleep to 30 minutes:

do shell script "sudo pmset displaysleep 5 sleep 30" password "your password" with administrator privileges

Saving these in your scripts folder will make them available in your scripts menu, making them easily accessible at any time.



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: bbell2000 on May 29, '09 02:20:47PM

Hmmm. Is there anyway I could make this scripting thing work in conjunction with Screen Sharing?

I often use screen sharing to access my MacBook Pro from another room. The problem is that Screen Sharing completely corrupts the screen on my iMac if the MacBook has gone to sleep.

I've been trying to use WakeOnLan to wake up the MacBook when this happens, but if I could do a script that disables sleep when Screen Sharing is connected on the MacBook, it would be so much nicer.



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: osxpounder on Aug 08, '07 01:24:50PM

Brilliant!



[ Reply to This | # ]
Temporarily prevent sleep, screen saver activation, etc.
Authored by: srogers4 on Aug 18, '07 11:10:28AM
I've been using Sleepless ( http://www.alxsoft.com/mac/sleepless.html ) but I gave Caffeine a try, and it's pretty good too, for a tiny footprint app. Sleepless provides a lot more control, which you might not necessarily need.

[ Reply to This | # ]