How to disable App Nap in latest MacOS by default?

As mentioned in AIR 3.9 release AIR now supports App Nap feature in latest MacOS (http://forums.adobe.com/message/5745066); but I'm not able to found any documentation on whether AIR provides any in-build feature/code to enable/disable App Nap while compiling or not. Is this an application behavior feature that AIR now supports, or AIR is providing any way to enable/disable this feature while compiling?
Thanks!

Can anybody suggest on this? We want to support 'prevent app nap' by default through our binaries. Please, suggest.

Similar Messages

  • How to disable App Caching in 10.9

    Hi All,
    As much as I think that the new memory management system in OS X 10.9 is a very nice idea, it really doesn't work for me because I have Virtual Machines stopping and starting and the despite the fact that they are only trying to pull 512MB each, the system just can't handle pushing that much to them.
    Is there a way to disable this app/file caching and get back to something more to the style of the old memory management system - I really want to have FREE memory available for when I actually need it - I really don't care if free memory is wasted memory, free memory is what works for me
    I have a Mid 2009 13" MBP with a 2.2Ghz Intel Core 2 Duo with 8GB of RAM
    Any help would be greatly appreciated, I can't bear my system grinding to a halt with several servers running in the background - the sort of thing that it could handle just fine under 10.8 - also, downgrading is not an option for me!

    leroydouglas wrote:
    Does this address your issue.
    http://www.cnet.com/how-to/how-to-disable-app-nap-in-os-x-mavericks/
    Unfortunately, no - App Nap only applies to running applications, and saving processing power and thus energy, whereas the app preloading is all about being clever about which files are in use and keeping as many as possible crammed into the memory.
    However, disabling app nap is a useful thing to know, thanks!

  • How to disable App tabs (pined tabs) from being started automatically?

    how to disable App tabs (pined tabs) from being started automatically?
    because the option [Don't load tabs until selected] dose not work with it, and it keeps starting every time when I restart Firefox.
    Please help me!

    Don't bother, I reached to the solution by my self, you can do it as following:
    Type "about:config" [ without quotation marks! ] in the Location Bar (address bar) and press Enter to display the list of preferences, as shown in the picture '''#1''' in Firefox 17 on Windows 7.
    If you see a page with the warning message as shown in picture '''#2''', This might void your warranty!, click the button labeled "I'll be careful, I promise!", to continue (in fact, there is no warranty whatsoever, it's more a joke to ensure that users are aware of what they are about to do). uncheck the check-box there to avoid the warning in the future.
    Now at the search bar in the picture '''#3''' type: ''tab'' and look for the
    '''preference name:'''
    browser.sessionstore.restore_pinned_tabs_on_demand
    or you can '''copy''' it directly to the search bar,
    '''Next,''' follow the instruction in picture '''#3''' .
    Just in case if the pictures didn't appear, do ''these steps'':
    '''First:''' Right click at the preference name that we searched for.
    '''Next,''' click Toggle to change the value from false to true.
    '''Or,''' double click on it and it will change.
    '''Finally,''' restart Firefox and you will notice that they don't load automatically until you click on it.
    That's it, Good luck to all. ''';-)'''
    '''Note''': The bolded font preferences list is the user modified, and the un-bolded is the default setting.
    '''Warning''': Modifying preferences can, in rare circumstances, break Firefox, Thunderbird or the Mozilla Suite, or can cause strange behavior. Only do so if you know what you are doing or are following trustworthy advice.
    Additional INFO:
    about:config is a feature of Mozilla applications which lists application settings (known as preferences) that are read from the profile files prefs.js and user.js, and from application defaults. Many of these preferences are not present in the Options or Preferences dialog. Using about:config is one of several methods of modifying preferences and adding other "hidden" ones.

  • How to enable app nap?

    When I check Activity Monitor, the majority of my apps show "No" for App Nap (although I never disabled them) -- is there a way to enable all those apps?

    Yes, exactly so.
    from Foundation Release Notes for OS X v10.9
    The greatest benefit to the user comes when every application on their system is doing as little work as possible. Therefore, App Nap is an opt-out feature. The user can opt an application out of App Nap manually with a checkbox in the Finder “Get Info...” pane. Developers can temporarily opt an application out by bracketing user-initiated activities with new NSProcessInfo API. Please consider the power usage of your application before opting out of App Nap.
    from What's New in OS X: OS X Mavericks v10.9
    App Nap
    App Nap reduces power consumption by completely suspending your app’s execution when it meets certain criteria. This ensures that your app does not periodically wake up to do unnecessary work. An app is considered to be a candidate for sleep if:
    It is not visible—if all of an app’s windows are either hidden by other windows or minimized in a hidden dock, and the app is not in the foreground
    It is not audible
    It has not explicitly disabled automatic termination
    It has not taken any power management assertions
    When all of these conditions are met, OS X may put the app to sleep. While asleep, the app is placed on a scheduling queue that rarely gets actual time on the CPU.
    The app wakes up automatically when the user brings the app to the foreground or when the app receives a Mach message or Apple event.

  • How to disable apps from auto-refreshing?

    I've got an iPad 2 with the latest iOS on it.  Except for one annoying bit of behavior, I love it.  What is so irritating is how iOS seems to refresh an app if you leave it and then return.  A case in point:  I use Zite to read news of all sorts.  Quite often I'll click a link in a Zite article, which then opens Safari or the iTunes store, or some other app.  After I complete my business in the second app, I double-click the home button and select Zite to continue.  iOS will cause Zite to go through a refresh cycle and I wind up on page 1 rather than within the article I was reading.  This means I have to swipe through any number of pages to find the original article, which is made more difficult because Zite, on refresh, has reordered articles and added new ones to the mix.
    This is not unique to Zite though this is the app where I notice it most.  I have found that returning to Safari after using another app will cause Safari to refresh and occasionally not display the page I was visiting immediately, causing me to retrieve the history.
    Is there any setting anywhere that will disable this?
    Thanks for any advice,
    -Tod

    I do not believe there is a way.  You can disable the camera in restrictions that would prevent access to the camera but then you would not be able to use it either and you would need enable the camera again in restrictions if you wanted to use it.

  • How to disable APP and change default program in registry

    Dear all,
    it is possible to disable all the app (that appears in the start screen) in Windows 8.1?
    Our users are a little bit confused and we prefer to use the old program (example Windows Photo Viewer and not Photos APP).
    Let me know if it is possible and how to do it.
    If yes, where we can edit the registry key to make the default program Windows Photo Viewer? And other programs? We would like to set Windows Photo Viewer as default app on all our computer in domain. It is possibile to edit this setting in registry?
    And not manual from GUI? 
    Our PC are in a domain.
    Thank you,

    Hi,
    According to your description, you want to open the file without using metro app.
    We don't need to disable all metro app.
    You can use the Deployment Image Servicing and Management (DISM) tool to change the default programs associated with a file name extension.
    1.Deploy your Windows image to a test computer.
    2 Log into Windows and use Control Panel to configure your default application associations.
    3.You can export the default application associations that you have configured to an XML file on a network share or USB drive. For example, at a command prompt type the following command:
    Dism /Online /Export-DefaultAppAssociations:\\Server\Share\AppAssoc.xml
    4.Use GP server to enable the following group policy to modify the default Associations on the client machine.
    Computer Configuration>Administrative Templates>Windows Components>File explorer>Set a default associations configuration file.
    Regarding how to export or Import Default Application Associations,please refer to the following article:
    http://technet.microsoft.com/en-us/library/hh825038.aspx
    Regards,
    Kelvin hsu
    TechNet Community Support

  • How to disable app bar in my project

    I am developing a WP8 app with sliding menu/drawer in it.
    Whenever i tried to disable the app bar it throws an exception on line "ApplicationBar.IsVisible = true;" code behind
    My question is how can i disable the app bar, see the code below
    xaml
    <!--LayoutRoot is the root grid where all page content is placed-->
        <Canvas x:Name="canvas" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="800" Background="Black" ManipulationStarted="canvas_ManipulationStarted" ManipulationDelta="canvas_ManipulationDelta"
    ManipulationCompleted="canvas_ManipulationCompleted">
            <Canvas.Resources>
                <Storyboard x:Name="moveAnimation">
                    <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True" />
                </Storyboard>
            </Canvas.Resources>
            <!--<VisualStateManager.VisualStateGroups>
                <VisualStateGroup x:Name="CommonStates">
                    <VisualStateGroup.Transitions>
                        <VisualTransition GeneratedDuration="0:0:0.3">
                            <VisualTransition.GeneratedEasingFunction>
                                <QuinticEase EasingMode="EaseInOut"/>
                            </VisualTransition.GeneratedEasingFunction>
                        </VisualTransition>
                    </VisualStateGroup.Transitions>
                    <VisualState x:Name="Normal">
    <Storyboard>
                            <DoubleAnimation Duration="0:0:0.2" To="-420" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True"/>
    </Storyboard>
                    </VisualState>
                    <VisualState x:Name="LeftMenuOpened">
                        <Storyboard>
                            <DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True"/>
                        </Storyboard>
                    </VisualState>
                    <VisualState x:Name="RightMenuOpened">
    <Storyboard>
                            <DoubleAnimation Duration="0:0:0.2" To="-840" Storyboard.TargetProperty="(Canvas.Left)" Storyboard.TargetName="LayoutRoot" d:IsOptimized="True"/>
    </Storyboard>
                    </VisualState>
                </VisualStateGroup>
            </VisualStateManager.VisualStateGroups>-->
            <Canvas  CacheMode="BitmapCache" x:Name="LayoutRoot" Width="420"  VerticalAlignment="Stretch" Background="Transparent" Canvas.Left="-420" Height="768">
                <!--<Grid.ColumnDefinitions>
                    <ColumnDefinition Width="420"/>
                    <ColumnDefinition Width="480"/>
                    <ColumnDefinition Width="420"/>
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>-->
                <Border  Width="420"  CacheMode="BitmapCache" Background="#FF31363E" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
    Height="{Binding ActualHeight, ElementName=canvas}">
                    <StackPanel Orientation="Horizontal">
                        <Grid Width="410">
                        </Grid>
                    </StackPanel>
                </Border>
                <Grid x:Name="grdCommands" Margin="420,0,0,0" CacheMode="BitmapCache" Grid.Column="1" Background="#FFCFD4E2" Height="{Binding ActualHeight, ElementName=canvas}"
    Width="480" >
                    <Border Grid.Row="1" >
                        <Border.Background>
                            <ImageBrush ImageSource="/Assets/bg.jpg" Stretch="UniformToFill" />
                        </Border.Background>
                        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
                        </Grid>
                    </Border>
                </Grid>
            </Canvas>
        </Canvas>
        <phone:PhoneApplicationPage.ApplicationBar>
            <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
                <shell:ApplicationBarIconButton IconUri="/Assets/left.png" x:Name="leftt"  Text="Glossary" />
                <shell:ApplicationBarIconButton IconUri="/Assets/home.png" x:Name="home"  Text="Home"/>
                <shell:ApplicationBarIconButton IconUri="/Assets/right.png" x:Name="right"  Text="February"/>
            </shell:ApplicationBar>
        </phone:PhoneApplicationPage.ApplicationBar>
    </phone:PhoneApplicationPage>
    xaml.cs : public partial class TabNav : PhoneApplicationPage
            public TabNav()
                InitializeComponent();
                VisualStateManager.GoToState(this, "Normal", false);
                // Sample code to localize the ApplicationBar
                //BuildLocalizedApplicationBar();
                //Touch.FrameReported += new TouchFrameEventHandler(Touch_FrameReported);
                // Set the data context of the listbox control to the sample data
                DataContext = App.ViewModel;
                // Sample code to localize the ApplicationBar
                //BuildLocalizedApplicationBar();
            private void OpenClose_Left(object sender, System.Windows.Input.GestureEventArgs e)
                var left = Canvas.GetLeft(LayoutRoot);
                if (left > -100)
                    ApplicationBar.IsVisible = true;
                    MoveViewWindow(-420);
                else
                    ApplicationBar.IsVisible = false;
                    MoveViewWindow(0);
            private void OpenClose_Right(object sender, RoutedEventArgs e)
                var left = Canvas.GetLeft(LayoutRoot);
                if (left > -520)
                    ApplicationBar.IsVisible = false;
                    MoveViewWindow(-840);
                else
                    ApplicationBar.IsVisible = true;
                    MoveViewWindow(-420);
            void MoveViewWindow(double left)
                _viewMoved = true;
                if (left == -420)
                    ApplicationBar.IsVisible = true;
                else
                    ApplicationBar.IsVisible = false;
                ((Storyboard)canvas.Resources["moveAnimation"]).SkipToFill();
                ((DoubleAnimation)((Storyboard)canvas.Resources["moveAnimation"]).Children[0]).To = left;
                ((Storyboard)canvas.Resources["moveAnimation"]).Begin();
            private void canvas_ManipulationDelta(object sender, ManipulationDeltaEventArgs e)
                if (e.DeltaManipulation.Translation.X != 0)
                    Canvas.SetLeft(LayoutRoot, Math.Min(Math.Max(-840, Canvas.GetLeft(LayoutRoot) + e.DeltaManipulation.Translation.X), 0));
            double initialPosition;
            bool _viewMoved = false;
            private void canvas_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
                _viewMoved = false;
                initialPosition = Canvas.GetLeft(LayoutRoot);
            private void canvas_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e)
                var left = Canvas.GetLeft(LayoutRoot);
                if (_viewMoved)
                    return;
                if (Math.Abs(initialPosition - left) < 100)
                    //bouncing back
                    MoveViewWindow(initialPosition);
                    return;
                //change of state
                if (initialPosition - left > 0)
                    //slide to the left
                    if (initialPosition > -420)
                        MoveViewWindow(-420);
                    else
                        MoveViewWindow(-840);
                else
                    //slide to the right
                    if (initialPosition < -420)
                        MoveViewWindow(-420);
                    else
                        MoveViewWindow(0);
    Thank you in advance and reply soon
    Jayjay john

    HI Joakins,
    It seems to very simple to solve you can use style based application bar like this,
    <phone:PhoneApplicationPage.Resources>
    <shell:ApplicationBar x:Key="groupAppBar"
    BackgroundColor="#EFF2F6"
    ForegroundColor="Black"
    IsMenuEnabled="True"
    Mode="Default">
    <shell:ApplicationBarIconButton x:Name="grp_attach"
    Click="Img_attach_Click"
    IconUri="/Assets/AppBar/attachbaritem.png"
    Text="attach" />
    <shell:ApplicationBarIconButton x:Name="grp_sticker"
    Click="sticker_Click"
    IconUri="/Assets/AppBar/teddybaritem.png"
    Text="sticker" />
    <shell:ApplicationBarIconButton x:Name="grp_Send"
    Click="ImgSend_Click"
    IconUri="/Assets/Chat/send.png"
    Text="send" />
    <shell:ApplicationBar.MenuItems>
    <shell:ApplicationBarMenuItem Click="btnGroupInfo_Click" Text="group info" />
    <shell:ApplicationBarMenuItem Click="btnMedia_Click" Text="media" />
    <shell:ApplicationBarMenuItem Click="btnDeleteGroup_Click" Text="leave group" />
    </shell:ApplicationBar.MenuItems>
    </shell:ApplicationBar>
    </phone:PhoneApplicationPage.Resources>
    And at code behind  use like this to show your appbar,
    this.ApplicationBar = this.Resources["groupAppBar"] as ApplicationBar;
    this.ApplicationBar.IsVisible = true;
    And for removing,
    this.ApplicationBar = null;
    Please mark this as answer if you get the solution by this answer.

  • How to disable app updates

    How can I disable the app updatesnotifications?  I usually update all the apps when ever I get an update notification, but if I get a lot of apps to update and i try to update them all, i get a message that says I don't have enough space to update all. I then have to go through and hand pick which ones to update or deleate some. The updates just continue to pile up and I have to pick and choose again. Is there a way to disable the app updates all together or would thst cause the apps to not work correctly?

    Is there a way to at least hide the update notification number that just keeps increasing if you can't update them all to get rid of it?

  • How to disable app suggestions?

    My devices keep offering it to me to download and install whenever I open the app store to do updates.
    I do not want the apple beats app. I do not listen to music on my phone or ipad. The app would just take up space I could use for photos or other things. It wastes my storage space. These notices are really annoying. How do I tell the app store I do not want this silly app and to stop offering it to me?

    Setting>iTunes & App Store>Suggested Apps>App Store>Off.

  • How to disable app from opening into full screen mode

    Dear all I'm on OSX 10.8.4 and every time i start an app it'll go to full screen even after quiting it and opening the app again. Is there a way to stop this from happening

    Full-screen mode is controlled by you. If you take it OUT of full-screen mode (go to the very top right of the screen, wait for the menubar to drop down, click the blue inward-facing arrow icon), and THEN quit the app, it will remember the preference and open in normal windowed-mode next time.
    Matt

  • How can I set up firefox (latest version) to default to opening things in a new window and not a new tab.

    there is an option in firefox (latest version)(for windows7) to 'open new windows in a tab instead' what I want to do is to 'open new tabs in a window instead' Is this possible and how do I go about it

    Hi,
    There is an option called "browser.link.open_newwindow" which when set to 2 should open links, that would normally open in a new window, in a new window.
    See http://kb.mozillazine.org/Browser.link.open_newwindow.
    I can't think of an add-on that will do this for you.
    You can always right click on the link and choose "Open Link in new Window" :-).

  • How to disable pop up Make Adobe Reader my default PDF Application in registry

    Hi
    I am wondering if there is a registry setting that can disable the pop-up Make Adobe Reader my default PDF Application ?
    I have seen there is a setting under Edit\Preferences\General\"Tell me if Adobe Reader is not my default PDF Application" but cannot find a registry setting to disable this. This message pops up for some users in a remote desktop session host environment even though I have disabled the messages on the session hosts.
    Thanks,
    Andrew

    Hi Andrew_Dell,
    Thank You for posting on the forums. Kindly try the below mentioned steps and check ,if it helps.
    1) launch adobe Reader
    2) Click on Edit>Preferences
    3)Go to General under Categories
    4) Click on "Select Default Pdf Handler"
    5) Choose adobe Reader
    After performing this workflow, you might see an installation window. do not worry, it is just a new configuration of PDF handler being updated in the system.
    Thanks,
    Vikrantt Singh

  • How to disable the "permanently store exception" checkbox by default?

    I'd like to change the default behaviour of the "Permanently store this [certificate] exception" checkbox so that it is NOT checked by default. I don't want to store the exception for self-signed certificates on my internal servers, but Firefox makes me jump through to hoops to verify that yes, I really, really want to go ahead and open the page, and then (with the checkbox already checked by default) I have to remember to UNcheck the box so that I can view the page but not store the certificate.
    Is there any way to change a setting so that this checkbox is turned off by default? or that the whole bad-certificate rigmarole is disabled for a certain IP range (say, for 10.0.0.0/8)?

    ... or release a patch for the API,
    ... or suggest an alternative route to achieve the intended result.

  • Disabling Mac OS X Mavericks "App Nap"

    Does anyone have any ideas how to defeat the new Mavericks App Nap feature?  http://www.apple.com/osx/advanced-technologies/  I have an application that can't go to sleep on the job.
    It is easy enough to disable it on my own machine using the "Prevent App Nap" checkbox in Get Info on a given *.app executable.  What I need to do is disable it for stand-alone executable installed on customer Macs.  Checking the checkbox on my computer before distributing it to other computer is not good enough--Maverick resets the checkbox whenever the *.app is copied to another Mac.  I have searched for a info.plist key to do the job, but I haven't been able to find one. 
    I'm trying to avoid giving customers instructions for disabling App Nap.  Any ideas on how to disable the feature for deployed apps?  Or is there anything I can put in the app (short of generating sound) that would defeat it?
    Thanks.

    I would look into using the System Exec VI and sending the following command:
    defaults write <app domain name> NSAppSleepDisabled -bool YES
    This should programmatically disable the App Nap feature in Mavericks. I used this as a reference for the command.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Turning off App Nap is not fixing my FCP rendering issue

    I noticed that Mavericks was killing my rendering in FCP.  I like to let it run overnight, and it was simply shutting off.
    I did some research and learned about app nap, and how it was shutting down my rendering. 
    I went to finder, found FCP, and disabled app nap... but I'm STILL having problems with the rendering.  It just stops!  This is adding days and days to my production time, and I don't know how to fix it.
    This is really really throwing a cramp in my work, and I'm really not please with apple for this one. 

    I switched MacBooks to complete my rendering... I will set up a new project tonight and let you know if adjusting these settings helped. 
    That said... I have to NEVER allow my computer to sleep, just so this rendering can take place?  That's a little bit absurd. 

Maybe you are looking for

  • Adobe Reader 8.0 Cannot access Necessary file : msvcr.80.dll

    This error has caused my new built computer to mess up,What should I do to fix this? Read some places, that you shouldn't download it from the internet, that it has to be installed from the program in which it was orginally installed with. So I would

  • Spry Accordion just stays open in IE8

    I'm using Spy 1.6.1 and Dreamweaver CS5.  The Spry Accordion menu on the left side of my page looks funky in IE and it's absolutely kiiiiiilling me. ~o~ On a PC using IE8 the panels all begin in the open position at first load and won't close no matt

  • MDM 5.5 related questions

    Dear Roman, We have been reading all of your blogs and articles on SDN. We have many questions related to SAP MDM 5.5, few of which are listed below: Q1.  Whether cross compatibility for different ERPs will be provided or not? (for Siebel, PeopleSoft

  • Cleraring account

    FI experts, Can anyone advice what is the best way to configure BRS, All I need to do is debit the clearing account and credit the cash account, and update encashment field after I download the clear checks report from the bank daily. I do not need t

  • Problem setting up online billing.

    I've been trying to set up online billing, but when I enter my 'phone number a message appears telling me to enter my whole number. I presume the problem is I have a 5 digit number - is there any way around this? Thanks.