Mac OS X

From Secure Computing Wiki
Revision as of 13:02, 5 March 2008 by 74.95.66.25 (Talk)

Jump to: navigation, search

Flush DNS Cache

Pre Leopard: sudo lookupd -flushcache

Post Leopard: dscacheutil -flushcache

Force Safari to Reload Cached Webpage

  1. Alt/Option + Click Reload Button
  2. Ctrl + Cmd + R

Leopard Tricks & Hints

So, it appears that there a lot of new looks in Leopard that people don't really like. I'm going to try and consolidate all of those here, with a fix for each. Please feel free to contribute!

Disable Transparent Menu Bar

To disable, simply type the following at a prompt in terminal:

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

Time Machine to Network Shares

To use time machine over a network share, simply open up a terminal window and type the following command, exactly as shown:

defaults com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Now, when you have a network share mounted, you should see it as an option in the Time Machine setup options.

Dock Glass/3D Undo

If you hate the new 3D crap that Apple has bestowed upon the dock, you can disable it and get, what I would term as, a pretty darn good compromise. Simply open your terminal and type the following commands:

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

Alternatively, you can put your dock on the side, and automatically get this new appearance.

Replace Dock Glowing Dots

http://www.silvermac.com/2007/leopard-dock-with-black-triangle/

Get Round Corners

Original trick here: http://www.manytricks.com/displaperture/

  1. Download Displaperture 1.0.

Change Background Image at Startup

To change the startup background image, simply replace the JPG file at /System/Library/CoreServices/DefaultDesktop.jpg.

HP Printers/All-In-Ones

HP Network Scanning