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

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

Similar Messages

  • SCCM 2012 R2: easy way to disable/enable MULTIPLE maintenance windows at once?

    I have been racking my brain on this one for a while.
    Scenario: you have an ADR set up that is deploying updates once a month. You have multiple collections set up that each have their own special maintenance window (example: 1st weekend - sat - 8-9pm)
    Then, one week you are asked to not deploy updates for the upcoming weekend. Well, the ADR already ran and the machines for "1st weekend" are just waiting for the maintenance window to open. Now, at this point you can obviously go into EACH collection
    associated with "1st weekend" and disable the maintenance window. But if you are asked to do this often and/or you have multiple collections with maintenance windows this could be a hassle.
    Is there a way to easily enable and disable multiple maintenance windows at a time?
    GUI: I have not found a way to select multiple collections and disable all MWs
    PowerShell-module: set-CMMaintenanceWindow doesn't appear to have ability to modify "IsEnabled" property of MWs
    PowerShell-WMI: Can't find in WMI where to modify "Isenabled" Property
    Please see my other thread
    regarding PowerShell
    What other creative options are there? Disable a service via PowerShell on members of "1st Weekend" collections? Which service? Should I be looking in SQL? Where? Other options in GUI?
    I may end up getting stuck doing this manually but I want to make sure I am not overlooking something first... it's such a simple task - just seems like there should be an easy way to accomplish this.
    (And please, for the sake of my question, lets not get into the semantics of whether or not the ADR technically DEPLOYS the updates or not.)

    I didn't even think about that.... so having one MW that is disabled or having no MW at all would allow the client to install at will? I guess I was thinking that if it had a MW but it was disabled it just wouldn't update.
    The MWs on the collections are all different.
    Perhaps I need to re-assess my approach...
    The original plan was to have one ADR (patch tuesday) update 1 SUG (which is deployed to all machines) each month. Machines would then install based off MWs.
    Now I'm thinking it might be best to have 2 ADRS:
    ADR1- updates existing SUG which is already deployed to Dev/Test machines.
    ADR2- creates new SUG - which I then manually deploy to Prod collections. 
    This would automate the deployment to Non-Prod machines but it would give me the power to withhold updates to Prod machines for the month if needed.

  • Easy way to disable 'enter' in a self made transaction?

    Hi everybody,
        I'm currently working on a transaction. All goes well except for one small problem. When I hit the enter button on the kb after filling a random field, it always executes all the pai modules of the screen! That's a littlebit annoying because the save and commits are all in those same pai modules.
    Is there any way to disable the enter during a transaction? I know it is possible to check it as a exit-command but is there a way to perform a command that says: do nothing and return to the active screen?
    Cheers and thanks
    Laurens

    In you PAI,  have your first statement as....
    CHECK OK_CODE <> 'ENTER'.
    Regards,
    Rich Heilman

  • Disable sleep and dim on

    Is there a way to disable sleep and dim on an iPad in flex?

    Artour,
    You can use this to disable sleep:
    NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;
    - Jason

  • Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?

    Is there a way to disable previously viewed iMessages from appearing as Messages notifications when waking my MacBook Pro from sleep?  Regardless of whether I am using iMessage from  my iPhone or iPad, when I open my MBP, I get attacked by Messages notifications for iMessages I've obviously already seen or responded to.  Is there a way to change this?  Are others having this issue?
    Additionally,  previous iMessages sent or received from those  devices sometimes don't populate into the Messages window on the MBP.  I haven't been able to identify when or what causes this; sometimes it just doesn't seem to work (and I verified that the messages sent/received were, in fact, iMessages and not SMS).
    Thanks - any help or insight would be appreciated!

    First you need to determine what laptop model you have; then we can help you. A Mac Book Pro cannot run OS 9.1.
    With your Mac booted up, click on the  at the far left of the menu. Then click on About This Mac. It will show what version of OS  you are running. What is the version?
    A MBP will be running something like version 10.x.
    If you are running version OS 9.x, you don't have a Mac Book Pro.
     Cheers, Tom

  • When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

    When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

    I would think you would drop down the audio level lines in the "Stereo" tab (FCP 6.0.6 view to me) in the clip's video window.
    But then again, in my old version, I can't play two clips at once.  But I figure if the newer FCP allow you to do that, then that's what I would do.

  • Disable Protected Mode the easy way

    I have created a script to disable protected mode in Adobe flash player after it is installed. I see a lot of this being done for various reasons. If anyone is interested in it, as it is a quick and easy way to do so, you dont have to go fooling with OS files.
    You can read about it below
    http://firefoxcrash.blogspot.com/2013/12/disable-protected-mode-in-adobe-flash.html
    Best Regards

    Protected Mode is win only fearture. http://blogs.adobe.com/asset/2010/07/introducing-adobe-reader-protected-mode.html

  • How to disable mac book sleep for when I close the lid. I have a monitor attached to the mac book and as soon as I close the lid on the mac book it goes toi sleep. Any way to disable the sleep mode? Thanks

    Boss bought a new monitor for his mac book. We connected it but he rather keep the mac book lid closed in order to work on the bigger monitor screen. Soon as he closes the lid, the mac book goes to sleep mode.
    Is there a free way to disable the sleep mode?

    When the MacBook goes to sleep just hit a key on your external keyboard and the monitor will come back on.
    http://support.apple.com/kb/HT3131

  • HT1660 is there an easy way to delete the whole itunes library and and start again. I notice there is only an add file/folder button but no remove facility

    I recently upgraded to the iphone 5 and managed to sort the transition out with little trouble but noticed when I tried to put my music on that Itunes has messed with album info and either it or me has generated several copies of the same albums over the years and it makes it quite dificult to sort it all out before reloading on the phone. To stop the chaos I had hoped to clear the library and start again but cant find a way to do it. I was hoping to sort all my music out in original files and consolidate them into a proper folder. HOw do I do this. I notice there is an add fole and folder button but no take away??? is there an easy way?

    Use Shift > View > Show Exact Duplicate Items as this is normally a more useful selection. You need to manually select all but one of each group to remove. If you have multiple references to the same files then don't send to the recycle bin. Use my DeDuper script if you don't want to do it by hand. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Is there a way to disable mouse acceleration in OSX Yosemite?

    i have used my dads iMac and MBP in the past and always noticed how bad the mouse response was in my opinion. Mind you, some people like the way the mouse responds in OSX and will probably have no idea what my issue is. That is mouse acceleration and the lack of option to disable it in the mouse settings panel. Here is a good explanation about what it is, also in the video is a visual example.
    "Mouse or cursor acceleration, to put it simply, makes the travel distance of your cursor on the screen reliant of the velocity of your physical mouse movement rather than just the distance that you move your mouse. So making one movement of the same distance at two different speeds will cause two different relative cursor movements, with quick movement causing the cursor to travel a greater distance."
    source:
    https://www.youtube.com/watch?v=16diwK6HWbI
    So the thing i want to accomplish, is making the physical mouse movement one-to-one with the cursor speed on the screen. As an example: moving my mouse 10 cm would always make my mouse on the screen go 1000 pixels, no matter how fast i move my mouse.
    I've had my mouse set up like that in windows and linux for quite some time now and i hope there is an easy way to set the mouse response like that in OSX as well.
    I want to make clear that this isn't just an issue in games where you want to have great mouse precision. I have become really accustomed to this way of mouse response in any type of application. So the problem lies not in any mouse settings of any game/program. The problem lies in how OSX translates physical mouse movement to cursor movement.
    Anyway, i ran into this issue about a year ago when i was using my dad's computer. i've had my own windows computer for some time now. An option to disable mouse acceleration in OSX Yosemite might have been implemented properly in the mean time. I have searched this community and found some old posts of people who had this same problem as me, but never read about any fix for it. The main reason i am asking this is because i am considering buying a Macbook.
    I'd rather not use any third party software, but if there is any out that that just works and is easy to use, let me know.

    Please don't be obnoxious to people like tbirdvet trying to help; nobody here owes you an answer, or anything else for that matter.
    Anyway, Yosemite seems to enable mouse acceleration by default. You can disable it to get a constant pixels pointer moves / meters mouse moved ratio by typing this in terminal:
         defaults write .GlobalPreferences com.apple.mouse.scaling -1
    you'll need to logout and log back in for changes to take effect. To restore the standard behaviour:
         defaults write .GlobalPreferences com.apple.mouse.scaling 2
    should do the trick.
    C.

  • Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Recent convert to Apple. Previously, I backed up my family pictures from PC to an external hard drive,  a WD MyBook 3T. I can view the pics on my Macbook Pro, but I can't add new pictures. I'm sure this is a format issue, any easy way to correct it?

    Install NTFS 3G
    http://macntfs-3g.blogspot.com/
    If you were going to be reading and writing to a NTFS System Partition, you might have to worry about the instability messing up the operating system.  However, you are reading/writing from a non system, backup device so you don't have to worry about screwing up an operating system.
    I would still temporarily move my data to another device and reformat the drive for Mac OS X Extended.

  • Is there an easy way to switch mini dvi between monitor and tv?

    I would like to be able to connect my mini's dvi output to a either a monitor or my tv. I am not trying to get a display on both simultaneously. With a DVI to DVI cable between mini and monitor and a dvi to hdmi cable between mini and tv I think that I can swap dvi connections at the mini, but that looks like a pain. Is there an easier way to do this?
    I am about to order the dvi to hdmi cable. Is the mac mini's dvi port hot plugable or do I need to put the mini to sleep or shut down? Thanks,
    Owen

    Welcome to Apple Discussions!
    Without some extra hardware, you can't. The mini, like all Macs, looks for data from the display to determine what settings it makes available to the user, so with two displays connected and feeding their available configurations, the mini will get very confused! Even if the two displays have one or more common settings that will actually work, each time the mini boots or wakes and detects the display, one or other (or both) are likely to go blank.
    There are adaptors you might consider, such as those from Gefen, but they are not inexpensive. Have a look at http://www.gefen.com/kvm/dproductlisting.jsp?listingCategory=Switchers&productTy pe=dvi for a list of available switching options, though beware that for the most part, the need being met is for TWO sources and ONE display, not your ONE source and TWO displays.

  • Disable sleep on closing lid?

    Is there a way to disable the powerbook from sleeping when i close the lid? I want it to continue to function with my second display (touchscreen).

    This KBase article should answer your question.
    Jrsy

  • My itunes library has duplicated all of my music and would take me hours to delete one by one. What is a quick easy way to delete over 2,500 duplicates?

    My itunes library has duplicated all of my music and would take me hours to delete one by one. What is a quick easy way to delete over 2,500 duplicates?

    Apple's official advice is here... HT2905: How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls.
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group of identical tracks to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin. This can happen, for example, if you start iTunes with a disconnected external drive, then connect it, reimport from your media folder, then restart iTunes.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background. Please take note of the warning to backup your library before deduping, whether you do so by hand or using my script, in case something goes wrong.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • Question:-Is there any way to disable the installation location/folder of da Adobe AIR Application?

    Is there any way to disable the installation location/folder of the Adobe AIR Application or can we skip that part automatically?

    xmlns:mx="library://ns.adobe.com/flex/mx"  is the spark mx address, which is completely different than the original 2006 mx library. 
    The thing is:  I love AIR, hate spark, loved the 2006 pre-spark functionality.  It is so much more convenient and user friendly.  Given the choice between having the display seperate from the  processing, or having it be convenient and easy  to work with, I choose the later option.
    For the most part it seems like the AIR api is like a layer on top of the spark - flex system..   I would like to be able to over lay the same AIR functionality on top of the the old system....
    Possible or no?

Maybe you are looking for

  • Error message on startup Satellite C655-S5068

    Error C++runtime library C:\windows\system32 spoolsv.exe.  also an error stating that NET. Framework 2.0 is missing but when you download it from microsoft it says that its already installed .  Tried downloading Net. 4 to no avail.  Have also reloade

  • Leopard not seeing Windows shares on a home network - one solution

    I have a small home network with a MacBook Pro, MacMini and a PC connected by Ethernet and a MacBook and a Powerbook connecting remotely. Recently upgraded to Leopard and initially could see the PC in the sharing tab of the sidebar of the Finder wind

  • Connect to MS Sql Server from Java Source

    Hi, Is there any way I could connect to ms sql server from Java source? I know I can call java source from function thats easy but what I really want is capability to connect to non-oracle(MS SQL server) from my java source and then call it from func

  • Can we modify sales order line item before its booked through API?

    can we modify sales order line item before its booked through process_order API? here we have a situation where related item should be substituted for actual order item when user selects the related item , So looking for a way to modify the ordered i

  • What is the best camcorder for a mac?

    Hello everyone, I am a total newbie in terms of imovie and video recording. I am also just got this macbook recently and, oh my, I wish I would have gotten a macbook many years sooner So my question is: what camcorder is easy to use with a macbook fr