If you need something to run every time you boot up - you could look at 'Lingon'
------------------
Jeff Hedberg
Union Editorial
575 Broadway,6th floor
New York, NY 10012
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éfonoEl 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