Hierarchy

November 14, 2007

As I mentioned yesterday, one of the changes in Mac OS X 10.5 Leopard that I didn’t like is that the new “Stacks” functionality in the Dock took away the ability to right-click on a docked folder and see a hierarchical menu with the contents of the folder and its subfolders.

I’ve been working for the past week on a little application that has that functionality. When launched, it displays a little palette that folders (or whatever) can be dragged onto, and then right-clicking will open up the hierarchical menu that I miss from previous versions of Mac OS X. Left-clicking will open the folder in the Finder.

This is a 1.0, and it’s the first Cocoa project of mine that I’ve released, so I’m sure there will be bugs. The drag-and-drop is definitely a little kludgy. But I’m releasing it as freeware, and I’ll keep working on it to make it a little more elegant. In the meantime, I hope Apple restores the original functionality to the Dock in a 10.5.x release so I don’t have to rely on another application.

Hierarchy v1.0 can be downloaded here. I’d be happy to hear about bugs and/or feature requests.

Quay

November 13, 2007

My only real beef with Leopard so far has been that I lost my ability to right-click on folders in the Dock and get a hierarchical menu with the contents of the folder and subfolders. Goodness only knows why Apple thought it would be a good idea to take that away, since it was considerable user pressure that got the feature added to Mac OS X in the first place.

I’ve spent the past week working on a little Mac app to restore the ability to get hierarchical menus of Leopard folder contents. I was pretty close as of last night — just a few more tweaks to make it something I wouldn’t be embarrassed putting up for public review — but it looks like Rainer Brockerhoff has beat me to it.

Icon for QuayHis new app is called Quay — there’s nothing posted yet other than the icon, but if the icon is a pretty good indication of exactly what the app will do, it’s a better implementation than mine was anyway.

I’ll continue to finish my little application up anyway and put it up for giggles. It’s going to be freeware, so maybe it will have some use for people who think (like me) that Apple is going to bring this functionality back in an upcoming 10.5.x release, and don’t want to pay for a shareware app in the meantime. But I’ll definitely be interested in checking it out.

Installing Leopard on an unsupported Power Mac G4 “Sawtooth”

November 9, 2007

Last night, I got a 500-MHz Power Mac G4 (AGP graphics) to successfully install and boot into Mac OS X 10.5 Leopard. This took a little bit of doing, because Apple tried to thwart it by allowing only G4 Macs with a minimum clock speed of 867 MHz to install Leopard from the unmodified DVD.

Apple’s clock speed requirement was therefore the first hurdle I faced. My first stop was the how-to guide on MacOSXHints.com. The general idea is that you download and install xar (a program that compresses and decompresses installer packages, and comes with Leopard but not earlier versions of OS X), decompress one of the installer packages on the Leopard DVD, modify a file within the package that determines what Leopard’s clock speed requirement will be, recompress the installer package, and then make a copy of everything on the DVD (substituting our modified package) and boot off that copy in order to do the install.

Things immediately became difficult. I downloaded xar, but its configure program wouldn’t run. It was locating libxml2, one of xar’s dependencies, but it wasn’t finding xmlwriter.h. That file was apparently left out of the libxml2 distribution that comes preinstalled in Mac OS X 10.3.9.

So I downloaded a copy of libxml2, built and installed that, and then ran xar’s configure script again, only this time pointing to my newly installed libxml2 (since it wanted to keep finding the old one and aborting by default). Finally, xar built.

(I might mention here that although that doesn’t sound like it took a very long time, I’m not a Unix guru and don’t have a lot of experience with configure and make, and so there was a lot of trial and error involved in figuring out how to make this whole thing work. I’m also aware that I could have used the xar built into Leopard, which is already installed on my iMac Core 2 Duo, but I didn’t have the iMac available and I was determined to make it work the hard way.)

The next step worked without a hitch. Using xar, I decompressed the installer package. I edited the file to require only 400 MHz (my G4 is clocked at 500, but I figured I might as well give it a little room), and then I recompressed the installer package.

Next, I used Disk Utility to restore the Mac OS X Leopard DVD to an external USB drive. I figured that I could boot off that drive and install Leopard, no problem.

OK, two problems. The first problem was that the G4s had USB 1, and copying 7+ gigabytes from a DVD onto a hard drive over a USB 1 connection is very, very slow. The second problem was that apparently, this G4 won’t boot off USB drives. Oops. So that very, very long wait as the DVD was copied to the drive was for naught.

Luckily, nearby I had a G3 with two hard internal hard drives, one of them with plenty of space to hold that seven gigs worth of stuff. So I took it from the G3, put it into the G4, and waited as the DVD copied to that drive (faster than over USB, but still pretty slow).

With that all done, I picked the new drive in the Startup Disk preference panel, and rebooted the G4, expecting to see the Leopard installation screens. Instead, I saw a kernel panic; something about there not being a driver for PowerMac3,1 (Apple’s code for my particular G4).

I did some searching through Apple discussion groups, and discovered that the firmware could be an issue. The latest firmware for this G4 was the Power Mac G4 Firmware Update 4.2.8, and the G4’s current firmware was 2.x.x (don’t remember it exactly and didn’t write it down). Unfortunately, as you can see from the linked page, the firmware updater only runs on Mac OS 9, and that wasn’t installed on the G4.

Luckily, the G3 that had given up its second hard drive for the cause had OS 9 installed on the first drive. Unluckily, that hard drive seemed to be bolted inside the G3 case in a very secure fashion that I could not comprehend. There were no screws holding it in, so far as I could tell, but I couldn’t get the thing out of there. And the ATA cable in both the G3 and the G4 is a tiny little thing, so there was no way I was going to be able to attach the G3’s hard drive to the G4’s motherboard while the drive was still bolted inside the G3 case.

Unless… we open up computer #3. I had an old Dell nearby with a nice, long ATA cable, so I scrunched the G3 and G4 cases as close to each other as I could, and got the G3’s drive hooked up to the G4. Then I turned on the G3 (the hard drive’s power was still coming from the G3, because that cable wasn’t long enough), and once the hard drive had spun up, I turned on the G4.

First, it booted into the Mac OS X 10.2 installation that was also on that hard drive. Unhelpful. I selected the OS 9 installation in System Preferences and rebooted.

I didn’t think to hold down Shift and disable extensions. So it took 7 or 8 minutes for the G4 to start up OS 9, loading a whole ton of extensions. After all the extensions were loaded, the computer froze — apparently some sort of extension conflict. Goodness knows I haven’t played with pre-Mac OS X recently enough to have any hope of debugging extension conflicts. So I rebooted with Shift held down.

After getting through the “Welcome to Macintosh” screen, it popped a new box; apparently, the Multiple Users control panel was active and there was a password set. Unfortunately, I never used the OS 9 installation on the G3, and had no idea what the password could be. So back to the web (on computer #4, another Dell) to find out how to kill Multiple Users. Turns out that I could reboot in OS X, go into System Folder/Preferences, and delete Multi-User Prefs. OK. Done. Reboot back into OS 9 with extensions off, and I finally make it to the Finder.

So I try to fire up Internet Explorer 5.1, but apparently it needs an extension to even launch. So I fire up Netscape Communicator instead, and then discover that with extensions turned off, there is no internet connectivity. So I can’t download the firmware updater. I’d download it on the Dell and then move it over to the G4, but the G4 has no floppy drive. And I don’t really feel like burning a CD to move a 1.2 MB file.

So I reboot in OS X, download the firmware updater, and then back into OS 9. Run the updater, reboot holding down the Programmer Button, and the firmware updates. Woohoo - back in Jaguar, it’s showing that the firmware is now 4.2.8.

I disconnect the G3-G4 mess, put the Leopard-installer hard drive back into the G4, and finally! The installer starts up, Leopard installs, and all is right with the world.

Clip of System Profiler and About This Mac running in 10.5 on the G4

It seems to be running great. Most actions seem more responsive than under Panther on the same system, but other things are obviously slowed down by the fact that the graphics card is doing almost none of the graphics work. (See the System Profiler image above; Core Image is “Software” instead of “Hardware Accelerated,” and Quartz Extreme is “Not Supported.”)

Mossberg on the Gateway One

November 1, 2007

From Walt Mossberg’s review of the Gateway One in today’s Wall Street Journal (subscription required):

At the high end, the $1,799 Gateway One has a much smaller screen than the comparably priced iMac, which sports a huge 24-inch display with much better resolution for the same price. The $1,799 iMac also has a faster processor. All the iMacs come with a better operating system and better bundled multimedia software.

My emphasis. Ouch. He also gets in a dig at all the bloatware trial crap installed on the Gateway. His conclusion: “The Gateway One may appeal to style-conscious Windows users, but I think the iMac remains the best consumer desktop on the market.”

First impressions of Mac OS X Leopard

October 26, 2007

OK, now that I’ve been playing with Leopard for a little while, I can make a couple of observations:

  1. I got hit with one of the kinks right off the bat. I mentioned in the previous post that there’s a little bug with the Leopard installer that obviously didn’t effect only me — it causes the internal hard drive not to appear in the installer until you’ve had it open and pondering the meaning of life for a few minutes. Then it magically reappears. It was obviously worrisome that Leopard didn’t recognize my hard drive right away — was this a sign of things to come? But it appears not to have had any impact on my actual use of Leopard post-install.
  2. No rounded corners on the sides of the menu bar! This is one of those Mac things that has made it feel more polished since the beginning; it was even part of the plot of David Pogue’s 1993 Mac techno-thriller, Hard Drive. Luckily, someone has already come up with a little app to restore the rounded corners, Displaperture. (Thanks to Brad Choate for the link.) I don’t know exactly what Displaperture is doing, but the rounded corners disappear when using Exposé.
  3. I like the ending screen of the new Leopard Installer (both for OS X itself and for apps):

    Mac OS X Leopard Installer.app

  4. I’m not a huge fan of the new look of the title bar buttons. I’m no graphics expert, so I can’t put my finger on exactly what’s bothering me, but I think it might have something to do with that little bit of light gray just below the buttons:

    Title bar buttons

    That bit of gray makes the buttons appear photoshopped into the title bar, in an amateur way, like the way I’d do it if it were my unfortunate job to make the title bar buttons.

  5. I had been using UNO to create a unified interface in Tiger already, so I’m very happy with the look of the windows in Leopard. I especially like how Apple has made the active window stand out much better than in Tiger.
  6. I don’t mind the translucent menu bar, but maybe that’s because I’ve got a desktop image with a pretty neutral gray background.
  7. I like the new look of the Dock on the side, which is my normal preference. I tried it for a few minutes on the bottom, and I agree that it’s pretty ugly. Maybe it’s something I’d get used to if I liked the Dock on the bottom.
  8. I like the “grid” view in Stacks, although I miss the nested-folders-in-submenus old way of navigating through folders in the Dock. Come to think of it, I haven’t even seen the “fan” view — and it doesn’t look like there’s an option to see it with the Dock on the side. That’s interesting, but not that disappointing, since the fan view didn’t look that useful.
  9. I really like being able to set a hot corner for putting the displays to sleep.

Installing Mac OS X Leopard: Hard drive not recognized

October 26, 2007

Looks like I’m the unlikely recipient of an apparently wide-spread bug, if the number of views on this Apple forum discussion is any indication. It looks like sometimes, for an as-of-yet unknown reason, it takes the Leopard install CD a few minutes (3-4 in my case) to recognize the internal hard drive. So when you first start up the install, it doesn’t see the disk — either in the installer or in Disk Utility. (It boots up just fine in 10.4 and you can see it in the 10.4 Installer Disk Utility.)

So I rebooted a bunch of times, verified and repaired the disk in 10.4, and Leopard still didn’t see it. I read that Apple discussion, waited the few minutes in the Leopard Disk Utility, and the drive popped right up. So I’m starting the install now. Hopefully this doesn’t mean that it’ll take 5 minutes for Leopard to recognize my hard drive every time I boot.