Mac OS X LeopardUpgrade

From HerzbubeWiki
Jump to: navigation, search

Purpose

To keep notes about upgrading to Mac OS X 10.5 (Leopard) from 10.4 (Tiger).


Installation

OS install

  • remove all printer drivers except HP drivers to save ~1GB of space
  • installation takes ~30 minutes on MacBook Pro
  • installation produces no trouble whatsoever

Developer Tools

  • the DVD also contains Xcode 3.0
  • it is now possible 'not to install into the default folder /Developer
  • although I would like to install to /Applications/Developer, I don't use this option and keep the default location for two reasons
    • because I don't want to experience any surprises
    • I need to clean out a previous Xcode 2.4 install
  • installation seemed to work nicely, although the system hung on logout and I had to force-reboot the system; this could also have been the result of other install activities I did in parallel while the developer tools installer was running

Windows/Boot Camp

  • boot into Windows
  • inserting Leopard install DVD should autorun the installer
  • update drivers


Configuration

System Preferences

These are the changes I did in System Preferences.app. Mine is a German installation, therefore I note the settings in German:

  • Erscheinungsbild
    • Gleichmässiges Bewegen verwenden = true
  • Exposé & Spaces
    • Spaces aktivieren = true
    • Spaces in der Menüleiste anzeigen = true
  • Schreibtisch & Bildschirmschoner
    • Schreibtisch-Hintergrund = Aqua Blue
  • Spotlight
    • switched keyboard shortcuts for Spotlight menu and Spotlight window
  • Bluetooth
    • Bluetooth-Signal = false
    • Bluetooth-Status in der Menüleiste anzeigen = false
  • Netzwerk
    • Airport
      • AirPort-Status in der Menüleiste anzeigen = false
  • Sharing
    • Web-Sharing = true


Finder

Preferences

  • Erweitert
    • Vor dem Ändern eines Suffixes nachfragen = false
    • Papierkorb sicher entleeren = true

Shares

  • connect to osgiliath/daten + store password in keychain
  • put new shortcut into Dock


Apache/PHP

Leopard ships with Apache2, but does not migrate any settings from the Tiger's old Apache1.3 installation. Do the following migration:

At the moment, Marc Liyanage does not offer binaries for PHP5 on Leopard.


Applications

Tinker Tool

  • install new version 3.8 for Leopard
  • actually there are no options to change :-)


Processor.prefPane

Update the Processor.prefPane that is still installed from the Xcode 2 by the new version 4.5.0 that is located in

/Developer/Extras/PreferencePanes/Processor.prefPane


fink

TBD


Tweaks/Hacks


No transparency on Menubar

Found on macosxhints.com: http://www.macosxhints.com/article.php?story=20071115135215262

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

Update: In newer versions of Mac OS X 10.5 (one source that I googled says since 10.5.2) there is now an official setting in "System Preferences -> Schreibtisch & Bildschirmschoner -> Schreibtisch" that lets you enable/disable menubar transparency.


Stack overlays

Folders dragged into the Dock are treated as stacks, i.e. the Dock displays not the folder's natural icon but instead a "stack" of all icons of all the files and directories inside the folder. The icon on top of the stack is the one of the file or directory at the top of folder's content list, according to the folder's sort order.

A nice trick that gives the natural icon of the folder back to the stack is to create what people on the net are calling a "stack overlay":

  • open the folder that you want to represent in the dock in the finder
  • create an empty dummy folder or file
  • if the stack's content is to be sorted by name, give the dummy folder/file a name with a preceding space (e.g. " Downloads")
  • if the stack's content is to be sorted by date, use the following command to give the dummy folder/file a date far away in the future
touch -mt 202001010101.01 " Downloads"
  • give the dummy folder/file the desired icon (e.g. copy/paste into the Info window in the Finder)
  • the stack will notice the icon change only after something has changed in the stack's folder, so create another dummy folder/file that you can then delete again immediately

Voilà. The stack still displays stacked icons, but at least the top-most and most noticeable icon now is the one that you want to represent the folder in the Dock.


Update: In newer versions of Mac OS X 10.5 it is now possible to explictly set the appearance of folders dragged into the Dock. You can choose between "Folder" and "Stack".


Remove old man pages from Tiger

Leopard stores its man pages compressed as .gz files. The old uncompressed Tiger files are, however, still left in place, the Leopard installer does not remove them.

For instance, man bash will refer to bash version 2.05b, although bash --version tells you that the actual version installed on the system is 3.2.17. In the file system, this looks like this:

nargothrond:~ --> l /usr/share/man/man1/bash.*
-rw-r--r--  1 root  wheel  228193 19 Aug  2006 /usr/share/man/man1/bash.1
-rw-r--r--  1 root  wheel   70941 24 Sep 03:41 /usr/share/man/man1/bash.1.gz

To remove all the old cruft:

  • backup
find /usr/share/man -type f -exec test -e {}.gz \; -print | xargs tar --absolute-names -czvf ~/man.tgz {}
  • preview what is going to be removed
find /usr/share/man -type f -exec test -e {}.gz \; -exec echo rm {} \;
  • delete files
sudo find /usr/share/man -type f -exec test -e {}.gz \; -exec rm {} \;

Warning: The macosxhints.com tip that mentions the problem (http://www.macosxhints.com/article.php?story=20071201021830891) seems to provide a misleading solution which effectively erases all man pages!!! One of the comments to the hint (the one made by user muckilius) nicely sums up, though, what is the correct thing to do.


Re-install man pages killed by Xcode 3 installer

It seems that the Xcode 3 installer erroneously removed some man pages. The theory explained by http://lists.apple.com/archives/Mac-opengl/2007/Nov/msg00088.html goes like this:

  • Leopard installer correctly installs the man pages
  • Xcode 3 installer removes old Xcode 2, including man pages
  • Xcode 3 installer installs the new Xcode 3, which does not contain the man pages

To fix the problem, TBD


Modify Apple logo at startup

Instructions here: http://www.macosxhints.com/article.php?story=20071028021722206


Change background image on login screen

This hint uses the "defaults" solution (which I prefer): http://www.macosxhints.com/article.php?story=20070610164328933

sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture '/Library/Desktop Pictures/Aqua Blue.jpg'

This hint uses the "replace file" solution: http://www.macosxhints.com/article.php?story=20071027002458808


Remove 3D look from Dock

To remove the 3D look from the Dock - even when it is at the bottom position of the screen - issue this command:

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