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 (2) |
No comments:
Post a Comment