Skip to content

Instantly share code, notes, and snippets.

@binkleybloom
Last active December 31, 2015 01:29
Show Gist options
  • Save binkleybloom/7914328 to your computer and use it in GitHub Desktop.
Save binkleybloom/7914328 to your computer and use it in GitHub Desktop.
<?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>de.milchimgemuesefach.Display-Menu.runatlogin</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/Display\ Menu.app/Contents/Library/LoginItems/Display\ Menu\ Helper.app/Contents/MacOS/Display\ Menu\ Helper</string>
</array>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@drpebcak
Copy link

I believe the ProgramArguments array needs to look like this -

<array>
                <string>sh</string>
                <string>-c</string>
                <string>open</string>
        <string>/Applications/Display\ Menu.app/Contents/Library/LoginItems/Display\ Menu\ Helper.app/Contents/MacOS/Display\ Menu\ Helper</string>
</array>

Here's a cool tool to help make these in the future - http://launched.zerowidth.com/

@binkleybloom
Copy link
Author

Awesome tool - thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment