OS X Leopard Hacks

OS X Leopard Hacks

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
Tags :
comments powered by Disqus

Related Posts

iPhone – Rock App Causing Devistation

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 …

Double NAT – Cisco ASA 8.4+

Double NAT – Cisco ASA 8.4+

Recently I was faced with an issue outside my normal expertise… those of you that know me realize I am anything but a security engineer. But in reality, you must always expand your …

Introduction to the Nexus 1000V

Introduction to the Nexus 1000V

The Nexus 1000V is a software-based Cisco NX-OS switch that integrates into VMware vSphere 4 and operates inside the VMware ESX hypervisor. With the 1000V your virtual servers have …