Is your Finder or Dock not responding? Pop in either of these two codes to relaunch them:
killall Finder
killall DockView all hidden Files in Mac OS:
(Replace true with false to turn off hidden files)
#!/bin/bash
defaults write com.apple.finder AppleShowAllFiles True
killall Finder2D Dock:
(Replace “yes” with “no” to disable)
defaults write com.apple.dock no-glass -boolean YES
killall DockGradient behind a stack:
defaults write com.apple.dock mouse-over-hilte-stack -boolean YES killall Dock
Add an expose button to the Desktop:
defaults write com.apple.dock wvous-floater -bool YES killall Dock
Increase Dock magnification:
(Don’t go past 512)
defaults write com.apple.dock largesize -int 512
Enable quit in Finder:
(Handy when you don’t have much cpu)
defaults write com.apple.finder QuitMenuItem -bool YES killall Finder
Make hidden icons in dock transparent:
defaults write com.apple.Dock showhidden -bool YES killall Dock
Pin Dock to the left:
defaults write com.apple.dock pinning -string start
Pin Dock to the right:
defaults write com.apple.dock pinning -string end
Play Star Wars in terminal:
telnet towel.blinkenlights.nlDisable Spotlight icon:
(Change 0 to 755 to re-enable it)
sudo chmod 0 /System/Library/CoreServices/Spotlight.app killall Spotlight
Set Screensaver as Wallpaper:
/System/Library/Frameworks/ScreenSaver.framework/Resources/
ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
Play Games in Terminal:
Type
emacs then hit
esc type
x then type in:
Tetris
Doctor
Snake
