communication
 databases
 directories
 file handling
 html and code
 image editing
 image listing
 sessions and co
 string handling
 information
 forms
 apple stuff
 image handling
 array handling
 lixlpixel
php - snippets
google search terms detected and highlighted.
remove highlighting | keep highlighting
make snippet in "apple stuff" - download "OS X hacks"
 search
php - snippets

Valid CSS!

php webring logo
prev next
random list
join the Ring!

apple stuff - OS X hacks was created/last modified on Mon 22 Mar 2004 4:47 PM

Terminal-Tips: Command line defaults

All these hacks require a restart of the affected application to make the changes visible.
------------------------------------------------------------------------

To disable outlines around icon names on the desktop:

defaults write NSGlobalDomain Desktop.HasDarkBackground 0

To enable outlines around icon names at the desktop:

defaults write NSGlobalDomain Desktop.HasDarkBackground 1

------------------------------------------------------------------------

Highlight active application with blue array in dock:

defaults write com.apple.dock showforeground true

------------------------------------------------------------------------

Change the translucency of the Terminal window :

defaults write com.apple.Terminal TerminalOpaqueness 0.8

the "0.8" refers to 80% translucency.

------------------------------------------------------------------------

To enable Finder Zoom Rectangles at the MacOS X Desktop:

defaults write com.apple.finder ZoomRects true

To disable Finder ZoomRectangles:

defaults write com.apple.finder ZoomRects false

------------------------------------------------------------------------

To see all the hidden files and directories:

defaults write com.apple.finder ShowAllFiles TRUE

learn more about some of the PHP functions used in this snippet: array, dir, file, for, min, require, round, tan

view the GNU general license - view the GNU library license - search on PHPsnippets - see your code like this

 a lixlpixel.com site

PHParadise.com - PHP-classes.org - your site on safari