Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Permanently Unhide Library' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Permanently Unhide Library
Authored by: diamondsw on May 17, '12 10:54:35AM

Here's a launchd plist that will do the same thing, but without the need for AppleScript, login items, etc. Just drop it in /Library/LaunchDaemons and set the permissions properly.

<?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>local.library.nohidden</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/chflags</string>
<string>nohidden</string>
<string>/Users/*/Library</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>EnableGlobbing</key>
<true/>
<key>StandardErrorPath</key>
<string>/dev/null</string>
</dict>
</plist>

Edited on May 17, '12 10:57:07AM by diamondsw



[ Reply to This | # ]