
Terminal is a great way to customize your Mac and gain access into hidden features. However, Terminal can also destroy your system, if not used responsibly. Here is a list of quite useful commands I’ve made that do some pretty cool things. These commands range from system based hacks, to appearance changing commands for your Dock and Desktop. Some of these commands require a system reboot and can be disabled. Let the fun begin.
1. Dragging Widgets Onto the Desktop
This Terminal command lets you place Dashboard widgets on your Desktop. In order to take effect the dock must be re-launched. To relaunch the Dock, type “Killall Dock” in Terminal. Click on the widget and press F12 to return to the desktop (If F12 is the volume adjustment key, press “fn-F12″).
To disable the command, keep the mouse button pressed down, press F12, and let go of the mouse. The Widget will be sent back to Dashboard.
defaults write com.apple.dashboard devmode YES

2. Make Hidden Applications Transparent
This command makes it easier to see which applications are hidden on your dock. You must relaunch the dock for this command to take effect: type “Killall Dock” in Terminal. Type “NO” at the end of the command to disable it.
defaults write com.apple.Dock showhidden -bool YES

3. Deactivate Dashboard
The Dock must be relaunched for this to work. Type in “Killall Dock” in Terminal to relaunch the Dock.
defaults write com.apple.dashboard mcx-disabled -boolean YES
4. Show Hidden Finder Files
To disable this command, replace “TRUE” at the end of the command with “FALSE”
defaults write com.apple.finder AppleShowAllFiles TRUE
5. Use The Screen Saver As The Wallpaper
Sets your selected screen saver as the Desktop background. To disable the command, press Command-Period.
/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
6. 2D Dock
Changes the 3D dock to a flat 2D one. The Dock must be reset, by pressing “Killall Dock” in Terminal.
defaults write com.apple.dock no-glass -boolean YES
killall Dock
7. Increase Dock Magnification
Increases the size of magnified Dock icons. WARNING: Don’t go past 512.
defaults write com.apple.dock largesize -int 512
8. History Limit For Safari
Sets history limit to a certain amount of entries or to a certain age.
defaults write com.apple.Safari WebKitHistoryItemLimit 2000
AND / OR
defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30
8. Removing The Spotlight Icon
To disable this command, replace the “0″ in the command with “755″.
sudo chmod 0 /System/Library/CoreServices/Spotlight.app
killall Spotlight
9. Show Both Ends Of The Scrollbar
To reset, use the Appearance pane in System Preferences.
defaults write “Apple Global Domain” AppleScrollBarVariant DoubleBoth
10. All Mail Displayed As Plain Text
To disable this command, replace “TRUE” with “FALSE”
11. Path View In Finder
This hack is extremely useful, letting you view the path of the folder your looking at.

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
12. Quit Finder

defaults write com.apple.finder QuitMenuItem -bool YES
killall Finder
13. Have Dock On The Left
To disable this command, replace “start” with “middle”.
defaults write com.apple.dock pinning -string start
14. Have Dock On The Right
defaults write com.apple.dock pinning -string end
15. White Menu Bar
This hack requires you to type your password and a system reboot
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer ‘EnvironmentVariables’ -dict ‘CI_NO_BACKGROUND_IMAGE’ 1
To go back to default, use this command:
sudo defaults delete /System/Library/LaunchDaemons/com.apple.WindowServer ‘EnvironmentVariables’
16. Grey Menu Bar
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer ‘EnvironmentVariables’ -dict ‘CI_NO_BACKGROUND_IMAGE’ 0
To Go back to default, use this command:
sudo defaults delete /System/Library/LaunchDaemons/com.apple.WindowServer ‘EnvironmentVariables’
17. Enable Time Machine On Unsupported Drives
It is unsupported, so use with caution
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
18. Increase Desktop Icon sizes
This hack let’s you increase your icon size up to 512 pixels x 512 pixels.
defaults write com.apple.finder DesktopViewOptions -dict IconSize -integer 512
killall Finder
19. Bigger Dock
Don’t go any larger than 256. In System Preferences, you can reduce its size.
defaults write com.apple.dock tilesize -int 256
20. Change Time delay Of Dragging Windows Into Different Spaces
The default time delay is .75
defaults write com.apple.dock workspaces-edge-delay -float 0.5
21. Replace Safari Loading Bar With A Pie Chart (Safari 3)
This Safari hack eliminates the blue bar that is situated in the address bar. To deactivate this command, replace “TRUE” with “FALSE”
22. Force Quitting Processes Using Terminal
To quit processes using Terminal, you must know the Process ID (PID) of the app you want to quit. PIDs can be found in Activity monitor. Once you know the PID of the app, simply type “kill PID [NUMBER HERE].
kill PID 204
23. Star Wars Episode IV
This is definitely worth your time
telnet towel.blinkenlights.nl

24. Change The Format Of Screen Shot Images
In Terminal, replace “jpg” in the code below with whatever format you want – png, gif etc. For this change to take effect, you must log out and in again or restart your system.
25. Make Time Machine Backups More Frequent
Sometimes I want my Time Machine to do backups more frequently. With this hack, you can do so. The default time is 3600 seconds – one hour. Simply replace that amount of time with the amount of time you want in seconds.
sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 3600
- Alexander Garovi


