dotfiles: Finding a few commands not working on Mavericks (10.9).

# Disable the sound effects on boot
sudo nvram SystemAudioVolume=" "
# Menu bar: show remaining battery time (on pre-10.8); hide percentage
defaults write com.apple.menuextra.battery ShowPercent -string "NO"
defaults write com.apple.menuextra.battery ShowTime -string "YES"
# Menu bar: hide the useless Menu bar icons (only battery and clock)
defaults write com.apple.systemuiserver menuExtras -array "/System/Library/CoreServices/Menu Extras/Battery.menu" "/System/Library/CoreServices/Menu Extras/Clock.menu"

Only seems to work on certain folders, doesn’t override globally

# Use column view in all Finder windows by default
# Four-letter codes for the other view modes: `icnv`, `clmv`, `Flwv`
defaults write com.apple.finder FXPreferredViewStyle -string "clmv"

This doesn’t disable, even after quitting and restart finder. Still ending up with the file extension overlaid in icon view. http://d.pr/i/7lRn

/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:showItemInfo false" ~/Library/Preferences/com.apple.finder.plist
/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:showItemInfo false" ~/Library/Preferences/com.apple.finder.plist
/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:showItemInfo false" ~/Library/Preferences/com.apple.finder.plist

Strangely enough, I tried using NO instead of false, while I had the finder plist open, and it changed from NO back to YES on its own, right before my eyes. Odd.

I think that’s it? Feel like I’m forgetting a couple of others.

About this issue

  • Original URL
  • State: open
  • Created 11 years ago
  • Reactions: 1
  • Comments: 45 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Crazy pills

Guys, read carefully through the discussions above between Mat and I. You could’ve saved 2 hours. You need both commands in both the ByHost UUID-specific .plist, and the standard .plist. For the 3rd time, the prior is for which menu bar items you want to hide, the latter is for the menu items you want to keep.

If you don’t, they won’t work. Plain and simple.