Skip to content

Instantly share code, notes, and snippets.

@joeybaker
Last active January 16, 2017 16:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeybaker/1d32226d928d05a95860 to your computer and use it in GitHub Desktop.
Save joeybaker/1d32226d928d05a95860 to your computer and use it in GitHub Desktop.
plist file to restart SystemUIServer to work around mavericks silliness
curl -o ~/Library/LaunchAgents/restart_systemuiserver.plist https://gist.githubusercontent.com/joeybaker/1d32226d928d05a95860/raw/483d41b06427f524b5df0c4d224fb0e2e8ba14e9/restart_systemuiserver.plist \
&& launchctl load ~/Library/LaunchAgents/restart_systemuiserver.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>restart_systemuiserver</string>
<key>ProgramArguments</key>
<array>
<string>killall</string>
<string>SystemUIServer</string>
</array>
<key>StartInterval</key>
<integer>3600</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment