User:Pete/rem.plist

From 43FoldersWiki

< User:Pete
Revision as of 15:06, 21 October 2006 by Rph (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

[edit] Here is how I start that useful Remind+Growlnotify combination, automatically at login.

Two files are needed.

1) a text file of the shell command (for this example, I put this in ~/bin, and called it "launchremind") replace "pete" with your username, of course:

nohup remind -z -k'/usr/local/bin/growlnotify -s %s &' /Users/pete/.reminders &

2) the launchd script itself (put this in ~/Library/LaunchAgents. If that directory doesn't exist, create it.)

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
       <key>Label</key>
       <string>Launchremind</string>
       <key>ProgramArguments</key>
       <array> 
               <string>/Users/pete/bin/launchremind</string>
       </array>
       <key>RunAtLoad</key>
       <true/>
       <key>ServiceDescription</key>
       <string>launches remind with growlnotify at login</string>
</dict>
</plist>
Personal tools