Friday, February 14, 2014

Re: [Avid-L2] Mavericks App nap stop.

 

If you need something to run every time you boot up - you could look at 'Lingon'



I can't say I understand what that script is doing - but if you wanted to run it, as Agustin explained, after you drop it in to a text file, you will have to chmod + x the file as well. (allow it to be executable).


You could also look at naming the text file something.command as explained here:

This would let you double click the script to have it run.

Either way, hopefully there is some other solution in the works - because all of these suggestions are a bit 'clunky' (to me anyways).


Jeff

------------------
Jeff Hedberg

Director of Operations
Union Editorial
575 Broadway,6th floor
New York, NY 10012

On Feb 12, 2014, at 6:37 PM, Agustin Goya <agustingoya@gmail.com> wrote:


You can copy the content of the script to a plain text file, open terminal a type "source 'path/to/script/file" to execute it. You can type source and drop the file to the terminal window.

That's the easiest way, not the better.
Ideally, in my opinion, one should run that script every time the system boots, but I don't know how to do that in Mavericks.
Hope this helps.

Agustín Goya
+54 911 6545 2427
--
Enviado desde mi teléfono

El feb 5, 2014 1:53 a.m., "johnrobmoore" <bigfish@pacbell.net> escribió:
 

What is the proper terminology to describe this script? Is it an apple script or a unix code etc... How does one run this script? Do you cut and past the text into terminal? Never worked in this type of language. Guess things have changes sense I learned Fortran IV back in the late 70's at Berkeley. ;-)

--- In Avid-L2@yahoogroups.com, Jeff Sengpiehl <jeff@...> wrote:
>
> "App Nap" - Nasty feature in Mavericks which suppose to save energy (puts services in a hang state). Current workaround is to check the "Prevent App Nap" from the Application app info.
> 
> Problem is that this only disable "app nap" for MediaComposer.app alone but there are other services running in the background that does a lot of Magic (list below). 
> 
> com.avid-technology.BPServices
> com.avid-technology.Editor UI Optimizations
> com.avid-technology.Source Settings Dialog
> com.avid.AvidBinIndexer
> com.avid.AvidDMFSupportSvc
> com.avid.AvidPhoneticIndexer
> com.avid.AvidSearch
> com.avid.Dongle Manager
> com.avid.ISISClientManager
> com.avid.mediacomposer
> com.avid.transcodeserviceworker
> 
> Here is a tiny script made to automatically add all installed apps into the prevent list.
> 
> for service0 in /<full user path>/Library/Preferences/*.plist
> do
> service1=`echo $nam | sed -e 's/.plist//'`
> service2=$( eval basename $service1 )
> sudo defaults write "${service2}" NSAppSleepDisabled -bool YES
> done
> 
> for service0 in /<full user path>/Library/Preferences/*.plist
> do
> service1=`echo $nam | sed -e 's/.plist//'`
> service2=$( eval basename $service1 )
> echo $nam2
> sudo defaults read "${service2}" NSAppSleepDisabled
> done
> ##verify everything returns true##
> for service0 in /Library/Preferences/*.plist
> do
> service1=`echo $nam | sed -e 's/.plist//'`
> service2=$( eval basename $service1 )
> sudo defaults write "${service2}" NSAppSleepDisabled -bool YES
> done
> 
> for service0 in /Library/Preferences/*.plist
> do
> service1=`echo $nam | sed -e 's/.plist//'`
> service2=$( eval basename $service1 )
> echo $nam2
> sudo defaults read "${service2}" NSAppSleepDisabled
> Done
>



__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)
.

__,_._,___

No comments:

Post a Comment