Asinine Monkey

The ramblings of a systems administrator

Apple

Add spacers to the Leopard Dock

The dock in Mac OS X Leopard is generally functional but once populated with a lot of applications can become quite cluttered.

One way of solving this is by using an undocumented method of adding a spacer to the dock. To do this fire up Terminal and enter the following two lines:

$ defaults write com.apple.dock persistent-apps -array-add '{"tile-type" = "spacer-tile";}'
$ killall Dock

You can then drag the spacer to its desired location. To add more spacers just repeat the above commands as many times as necessary.

Additional Network Devices for Time Machine

Apple's Time Machine is a perfect example of a consumer backup tool done right. Uncomplicated and great at enticing the user to actually use it.

Unfortunately Apple in trying to keep it consumer friendly stopped short of allowing Time Machine to see all the possible network devices you may have that could be potential Time Machine backup drives.

To fix this fire up Terminal and enter the following line:

$ defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

You will now have access to devices such as D-Link's DNS-323 which wouldn't normally show up in Time Machine.

Tweak the Leopard Dock

Don't like the new 3D look to Mac OS X Leopard's dock? Fire up Terminal and enter the following two lines:

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


You'll now be treated to a 2D dock without the 3D glass effect that some have found to be quite annoying.

The Last Gasp of DRM?

It seems that Steve Jobs got under the skin of quite a few organisations with his Thoughts on Music piece. And as could be expected many of those same organisations began squealing like pigs at the mere mention of DRM being scrapped any time soon.

Macrovision, a long time purveyor of such 'quality' DRM, responded to Steve Jobs in an open letter which Daring Fireball has kindly unravelled for us all to read and digest:

Macrovision Translation

The Music Industry and DRM

Steve Jobs has published a well written piece on the current state of DRM in the music industry:

Thoughts on Music

Daring Fireball has published an equally well written response further expanding some of points raised by Jobs:

Reading Between the Lines

Interesting times are most definitely ahead.

John C. Dvorak Just Keeps On Rambling

I'm starting to wonder if 'talking rubbish' should be a national crime punishable by death both here in the United Kingdom and in the United States.

Whilst we in the UK have had the recent pleasure of trying to avoid Jade Goody's ill-advised use of her mouth on TV, over in the US the esteemed John C. Dvorak once again begs the IT industry to question why this quack is still being paid to write the following diatribe:

A Unified Linux

It's one thing to readily admit to baiting Apple Mac users for the purpose of generating traffic to his badly written articles. It's another to keep on spouting crap such as this and actually think that people will ever (or ever did) take you seriously.

And please don't get me started on Rob Enderle. A lot like London buses, when one peddler of rubbish comes along another isn't too far behind.

PHP on Mac OS X

To enable PHP 4.x on an installation of Mac OS X Tiger, just follow these 8 simple steps:

  1. Launch Terminal which can be found in Applications > Utilities
  2. Launch Nano (a simple command line text editor) by entering the following command at the prompt (you will be prompted for your password): sudo nano -w /etc/httpd/httpd.conf
  3. Locate the following line by pressing CTRL+W and entering the following text: #LoadModule php4_module
  4. Remove the # from the beginning of the line.
  5. Locate the following line by pressing CTRL+W and entering the following text: #AddModule mod_php4.c
  6. Remove the # from the beginning of the line.
  7. Save the file and exit Nano by pressing CTRL+X
  8. Finally restart Apache by entering the following command at the prompt: sudo apachectl restart

PHP has now been enabled.