Networking

Security

Octoshape

You can remove the Mac OS X version of Octoshape, (Article at Windows Secrets), by running the following command:
<pre>sudo rm -r /Users/*/Library/Preferences/Macromedia/Flash Player/www.macromedia.com/bin/octoshape</pre>

This will remove the program for all users on the system. To remove it for a specific user, replace the asterisk with the user name.

Terminal

Key Re-Mappings

Remap the following keys:
Terminal.app + Preferences:
Got to keyboard tab, change mappings for page up and page down to:
<pre>[esc][5~
[esc][6~</pre>
Note: [esc] shows up as \033.

The only funk above is the network_service item. This is really just the network adapter's name. So, to set an IP of 10.0.0.2 with a subnet of 255.0.0.0 and a default route of 10.0.0.1 on my MacBook Pro's ethernet address, I'd do the following:

Change Screen-Capture Save Location

Disable Transparent Menu Bar

To disable, simply type the following at a prompt in terminal:
<pre>defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 1</pre>

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:
<pre>defaults com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1</pre>

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

Time Machine Backup Interval

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:
<pre># defaults write com.apple.dock no-glass -boolean YES

killall Dock</pre>

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

Replace Dock Glowing Dots

Get Round Corners

Change Background Image at Startup

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

Lock the Dock

There are multiple ways to lock the Dock in OS X Leopard. The first is to enable Parental controls on a given account, where you can enable/disable the ability of the user to 'Modify the Dock.' This requires a user not being an administrator, which can be a drag if you just want to keep from accidental deletions.

Method 1

The quickest method is to run the following command as the user who wants their dock locked:
<pre>defaults write com.apple.dock contents-immutable -bool true</pre>

To make this apply, restart the dock with the following command:
<pre>osascript -e 'tell application "Dock" to quit'</pre>

To unlock the dock again, run the same command as above, replacing true with false:
<pre>defaults write com.apple.dock contents-immutable -bool false</pre>

You'll need to run the command above to restart the dock for changes to take affect.

Method 2

If you've got a directory server, or are running the Server edition of Mac OS X, you can simply enable the dock locking feature in account preferences within the control panel.