Everything Else

OS X Leopard Hacks

Tony Mattke · 2009.06.11 · 2 min read

Here are a few settings you can change using the OS X defaults command to access some system parameters. As always, proceed with caution, and don’t mess with things of which you have no clue. I have only verified these in OS X 10.5 – no promises if they work in any other version. Some of these require a full restart to take effect.

  • Remove translucency in menubar, turns it white.
bash
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1
  • Remove translucency in menubar, turns it grey.
bash
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0
  • Reverts back to default translucent menubar.
bash
sudo defaults delete /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables'

Finder

  • Removes the stripes in list view. Use TRUE to reverse.
bash
defaults write com.apple.finder FXListViewStripes -bool FALSE
  • Resets the “Open With” menu, clearing duplicates
bash
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
  • Changed window title to full path. Use NO to reverse.
bash
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Spaces

  • Changes the delay when dragging windows off the edge of the screen to other spaces. Default value is 0.75.
bash
defaults write com.apple.dock workspaces-edge-delay -float 0.5
  • Disables the wrap-around when using Control-Arrow keys to changes Spaces. To enable again, repeat with YES at the end.
bash
defaults write com.apple.dock workspaces-wrap-arrows -boolean NO

Dock

  • Change to 2D Dock. Use NO to disable.
bash
defaults write com.apple.dock no-glass -boolean YES
  • Increase the Dock magnification past the maximum allowed by the slider in System Preferences. Don’t go larger than 512. Decrease via System Preferences.
bash
defaults write com.apple.dock largesize -int 512
  • Makes all items in the Dock spring loaded. Use NO to disable.
bash
defaults write com.apple.dock enable-spring-load-actions-on-all-items -boolean YES

Misc.

  • Creates a Recent Applications stack in your Dock, that you can change to display other recent items such as Documents, Servers, and Items. To remove, use defaults delete com.apple.dock persistent-others but this will remove all your stacks.
bash
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }'
  • Disable Spotlight Icon (enable using chmod 755)
bash
sudo chmod 0 /System/Library/CoreServices/Spotlight.app
  • Force Applications to use expanded print dialogue. (use FALSE to revert)
bash
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE
  • Change Time Machine backup interval, default is 3600 seconds.
bash
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 7200
More in Everything Else
Tags :

Related Posts

2013.01.23 Automation & Tools 2 min read

Fixing iMessage on Hackintosh

Mid December 2012 Apple shut down the Messages Beta for Lion, soon after many hackintosh users started noticing issues with signing into iMessage.

2010.05.15 Everything Else 3 min read

iPhone – Rock App Causing Devistation

Recently, an update to all jailbroken phones could of caused major damage to anyone who uses Rock… There were several community updates in the last few days due to the iPad and new Jailbreak release.