domingo, 21 de junio de 2009

Terminal tricks (leopard)

Dock

Stacks, Activate Mouse Over Gradient

defaults write com.apple.dock mouse-over-hilte-stack -boolean YES killall Dock 

Stacks, Deactivate Mouse Over Gradient

defaults write com.apple.dock mouse-over-hilte-stack -boolean NO killall Dock 

New Stacks Folder, Recent Application

defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = { "list-type" = 1; }; "tile-type" = "recents-tile"; }' killall Dock 

Two Dimensional Dock

defaults write com.apple.dock no-glass -boolean YES killall Dock 

Three Dimensional Dock

defaults write com.apple.dock no-glass -boolean NO killall Dock 

Safari

Font Size, Set Minimum Value


defaults write com.apple.Safari WebKitMinimumFontSize 13 defaults write com.apple.Safari WebKitMinimumFixedFontSize 14 killall Safari 

Font Size, Disable Minimum Font Size

defaults delete com.apple.Safari WebKitMinimumFontSize defaults delete com.apple.Safari WebKitMinimumFixedFontSize killall Safari 

Safari Bookmarks, Disable Fav-Icons

killall Safari cd ~/Library/Safari rm WebpageIcons.db ln -s /dev/null WebpageIcons.db 

Safari Bookmarks, Enable Fav-Icons

Drag and drop the original WebpageIcons.db into ~ ▸ Library ▸ Safari

Warning

For the next command lines, you will be using sudo command that will affect the whole system. Next command lines will be harmless as long as they are correctly typed (but I suggested you to copy and paste them directly to your Terminal). If you want to play around with sudo command lines, do it for your own risk.

Menu Bar

Solid White Menu Bar

sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1 

Grayish Menu Bar

sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0

Translucent Menu Bar

sudo defaults delete /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables'

Finder

Sidebar, Change Headings

cp /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/LocalizableCore.strings ~ 

Open LocalizableCore.strings and search for SD5. Change the headings strings as you like; Don't forget to save. Then type into Terminal :

sudo cp ~/LocalizableCore.strings /System/Library/CoreServices/Finder.app/Contents/Resources/English.lproj/ killall Finder 

No hay comentarios:

Publicar un comentario