Easy way to disable sleep temporarily?

Hi,

I'm wondering if there is an easy way to keep the computer awake temporarily without having to edit the system preferences. My current strategy is to start iTunes playing with the computer set to mute. I need this functionality because the computer goes to sleep even if there are active processes running in my X11 windows. For example, I'd like to be able to flip a "no sleep" switch while I'm installing a big program via the terminal or ssh-ed into an external machine. I think this kind of temporary no sleep mode would be useful when I have to read documents on my computer screen so that the screen won't go dark every few seconds when I leave the mouse still. Once I'm done either reading or doing things in the terminal, I'd like to return my computer to my usual settings, which are set to engage sleep mode fairly quickly to conserve energy. Of course, I can always tap the mouse to keep the display awake when I'm reading and put iTunes on mute to keep the hard disk awake while installing, but I'm curious if there is a more elegant way to achieve the desired result.

Thanks,
Adrian

MacBook Pro, Mac OS X (10.4.8)

Posted on Jun 20, 2007 4:59 AM

Reply
3 replies

Jun 20, 2007 6:23 AM in response to parameter_poem

Hi

I use the custom setting in the energy saver prefpane for this. You can set it to never sleep and/or never put the display to sleep by dragging the 2 sliders to the far right. Once you've done that once it will stick and you can switch between custom and the other preset schemes (normal, better performane and better energy savings) with the power icon in the menu bar.

I should've mentioned: you need to do it separately for battery and mains power.

Message was edited by: chris_R

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Easy way to disable sleep temporarily?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.