All posts by Thomas Pindelski

An efficient Lion installation

Saving space.

If you use a Solid State Drive for your Mac OS and apps, then you know that the small, costly SSD can fill up quickly. If you download Lion from the App Store onto a machine with Snow Leopard installed, the download is what Apple calls an ‘incremental’ one. Only changed files are updated. OS X aficionados swear than the only real OS X installation is a ‘clean’ one, meaning you install Lion on a fresh drive or partition and then migrate over from your Snow Leopard drive or partition just what you need. I have never seen any comparative performance measurements to substantiate this claim so, until I do, I disregard it as so much urban myth.

So assuming you do an incremental install, one thing the installer will not do is erase apps and files you no longer need.

Which are these?

First, any PPC app – one written to run on Apples using IBM G3/4/5 CPUs, will no longer run. The brilliant PPC emulator software known as Rosetta, included through the last version of Snow Leopard, is no more. Which of your apps are PPC? Go to Applications->Utilities->Activity Monitor and click on the ‘Kind’ column heading to sort your apps by Intel, Intel (64 bit) and PPC.

Activity Monitor displays which CPU apps run on.

Well, guess what. As long as you have copies of your PPC apps in a Snow Leopard disk or partition, you might as well delete these from your Lion installation because there’s no way they will ever work.

Well, how about all the other crud which has built up from generations of machines? Time to fire up the free Omni DiskSweeper which, after a few minutes grinding (or few seconds if you use an SSD) will tell you where all your files reside, sorted by size in decreasing order. Now you can get serious about purging stuff, but do make a backup before you go ballistic.

Here’s my Users directory – the biggest part of which is MobileSync (backups of iPad/iPhone etc which could be erased); Music can be moved to an HDD. VirtualBox is only needed if you must run Windows. That lot comprise some 18gB of the 30.3gB,meaning you only really need 12gB for Users:

Add to that Applications, which means Applications+Library+usr:

All the Lion stuff adds another 5gB.

Here are my biggest Apps:

From the above approach you can figure what you need on an SSD boot drive which is to contain OS Lion + Users + Apps/Library and hence how large the SSD needs to be, allowing +10% for free space used for temp/scratch files, Mac OS X updates and any new apps you decide to add.

I suspect that, unless you have tons of big apps and/or a huge mail database, 40gB will do it nicely for you – meaning use 36gB and keep 10% free. My SSDs are 120gB but if I was normal you wouldn’t be reading this.

Update:

Reader Fazal Majid has pointed out below in his Comment to this post that there’s a free app named Monolingual which does all of the above and more. I used it and gained 0.51gB on my SSD (Monolingual erroneously reported a gain of 1.0gB) compared to the status immediately after upgrading to OS Lion. It took a couple of minutes to run and I could see it extracting PPC code from many current apps like iPhoto and Lightroom. The apps remaining on my HackPro continue to run fine.

You can download Monolingual by clicking below:

Click to download Monolingual.

However, a check of the Library->Application Support directory disclosed that related files in this directory were not removed. They are, for the most part, small, but it’s a shame the app authors did not go all the way. Still, the price is right.

Thanks Fazal!

Windows with Lion

For the masochists among you.

My prime, nay, sole, motivation for installing Windows on my Lion Hackintosh was to allow me to look at some computer games our 9 year old had programmed which run on Windows only. (At this juncture feel free to speculate at the wisdom of a parent who sends his son to a class which uses Windows).

If you have your original Windows discs it’s free, as easy as any Windows task ever is and works. Mine is Windows XP SP3, but any version through Windows 7 is supported, not to mention many flavors of Unix and, for those unwilling to hack their PC, you can even run Mac OS X from within Windows.

The product is the updated version of the one I ran under Snow Leopard and is named VirtualBox. Created by Sun it’s now part of Oracle and it’s free. Set it up right (the instructions are good but ‘techie’) and you can run Windows in an OS Lion window and cursor directly to that window like any other OS window. Windows runs in its own space and viruses cannot migrate to the OS installation. Several years with VB under Leopard and Snow Leopard have not resulted in any problems on the Mac side. Yes, I still get the inevitable lock-ups on the Windows side.

You can download VirtualBox here; it’s professionally supported and I have found it to be bug free.

Here’s a snap of Win XP running in Lion:

By all accounts Windows 7 is far better than XP or Vista so if you must have Windows and do not want to have to boot into a separate partition or use another machine, this is one way to go. Speed is fine on my Hackintosh and you don’t have to be Einstein to do this successfully. Sound worked out of the box as did wireless broadband. Once I installed the included ‘Guest Additions’ software (it’s under ‘Devices’ in the VB menu) I was able to set screen definition to full screen and the mouse cursor no longer had to be clicked in the Windows window to make it work. Looking at the simply awful font rendering in this OS I can’t help wondering how anyone with any aesthetic values could use this garbage. Whatever.

During the long, rambling installation process, which I had to redo from scratch as the Lion installation trashed my previous VB/Win, I grumbled about Windows to a friend, who is an iPad/Mac babe. Her reply was priceless:

Windows will always be with us! At least it attracts most of the viruses!

Making Lion roar

Getting rid of the silly things.

Apple’s latest OS, Lion, tries hard to dumb down the user experience compared with its awesome Snow Leopard predecessor. Mercifully, much of this silliness is reversible and I address some of the issues below.

This dumbing down reflects the effort Apple is making to have Lion’s UI more like that in iOS on the iPhone and iPad and I see where they are coming from. Nonetheless, I liked the way Snow Leopard worked, do not propose to use a touch tablet with my Hackintosh and therefore prefer things like they were. If you want to go the touch tablet route for your desktop, try one in an Apple Store first. I found the ergonomics did not work for me; they may be right for you.

Scrolling:

Scrolling has been reversed. Drag the scroll wheel down on your mouse and the screen scrolls up. That works with touch devices but is counterintuitive with a mouse. Go to System Preferences->Mouse and uncheck this box to revert to the old way:

Spell check:

Apps like Mail add the spell checker. It’s every bit as awful as in iOS, uses a rigid rule set, does not learn from mistakes and is insanely frustrating. A friend reports that he wrote that he wanted to “kick some ass” but ended up sending an email promising to “lick some ass” instead. He’s with his lawyers right now.

Disable spell check in System Preferences->Language & Text by unchecking this box:

Finder:

Finder has made many retrograde steps. Color is poorly used, directories hard to find. First, delete the ‘Show all Files’ choice. It’s useless. Right click, Remove from Sidebar.

Then make Finder show the Library directory. Go into Applications->Utilities->Terminal and copy and paste the following into Terminal:

chflags nohidden ~/Library

Hit enter, quit Terminal and go to Apple->Force Quit->Relaunch Finder for this to take effect.

By default, Finder does not show your boot drive, though it does show attached drives. Duh!

Go to Finder->View and click ‘Show Path Bar’.

Click on any Boot directory in the Sidebar and you will see the path at the base of the Finder window. In this example I have clicked on the Desktop in the Sidebar.

Click on the word SSD Boot (or whatever your boot drive is named). Finder will display the Boot directory.

Now click-drag the word ‘SSD Boot’ into the Sidebar. You can now access the boot directory.

Mail:

If you prefer the old look of Mail, go to Mail->Preferences->Viewing and check the top box:

Launchpad:

This one is about as dumb as it gets. The Launchpad icon appears in the Dock by default. Drag it out. The app purports to show an iPad-like screen with all your Apps on the display. Snag is, there’s no way of editing what shows so every Apple app, no matter how obscure or rarely used, shows up. And, in yet another childish knock at Adobe, Adobe apps – or any other apps for that matter – only display on the second and subsequent pages, out of alphabetical order. Too silly. This is a prime example of what I call ‘dumbing down’.

Launchpad. Can you spell ‘Duh!’?

Auto saving:

Apple made a big deal of this feature, long available on just about every app on a PC. Plus, it only works on amateur-hour apps like Numbers and Pages. For heavy duty pros who use Word and Excel, just save your work regularly like you always have or enable auto save. Even Microsoft added that feature a decade ago. Pure Cupertino hype, that one. If Jobs was selling water, his would be wetter and clearer than anyone else’s, I suppose. And 50% more.

Further, if you use TimeMachine for continuous versioned back-ups, it’s hard to see what this feature adds.

Safari:

Safari now wants to open with the last page you were using. Go into Safari->Preferences->General and change the New Windows and New Tabs settings to Homepage.

Then go to System Preferences->General and uncheck this box:

In this way, if you last quit Safari with many tabs open, you will not have to wait for all those pages to be reloaded when you next start Safari. Instead, you will be taken directly to your home page only, with no tabs open.

Mission Control:

I have saved the worst UI error for last. If you liked the ability to display multiple Windows of all your loaded apps as an app switcher (this was named Spaces in Snow Leopard), Mission Control makes sure that you now have a mess to work with. Use multiple monitors as I do and this mess is spread in random order across all three:

Suffice it to say that if Houston’s Mission Control was organized like this, Apollo 11 would still be searching for a landing site on the moon. Just drag this silly icon out of the Dock where it is installed by default.

Do the above and Lion starts to resemble the robust desktop OS which was Snow Leopard.

Why bother even upgrading from Snow Leopard?

  • Because your Mac will be ‘bricked’ earlier if you do not.
  • Because flaky MobileMe will disappear and be replaced by (hopefully less flaky) iCloud Q3/2012. As Snow Leopard and earlier OSs will not support full iCloud functionality, how else are you going to keep all your Macs and iOS device in Sync for Contacts, Mail and iCal?
  • Because new apps will increasingly only run on Lion. Remember Rosetta and PPC apps? Cynically excluded from Lion to obsolete your great PPC iMac.
  • Finally, let’s not complain too loudly. This, my favorite Steve Jobs quote, remains as true today as it ever has.