Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have to maintain several different versions of OS X for testing, and it would be nice to know at a glance which version of OS X is on a machine.

I've previously created custom backgrounds with the version number, but as the number of machines increases this is becoming difficult to maintain.

Is there a utility that can display the OS X version on the screen at all times, or automatically change the background image to a generated image containing the OS X version on each boot (or, I suppose, when run manually)?

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Running sw_vers -productVersion will return the OS version.

You could then use something like GeekTool to output the result of a shell script to the desktop.

GeekTool is having issues under Lion right now, but the author posted an 'experimental' build for Lion. on his Twitter page.

share|improve this answer
add comment

You could create a login script that takes the output from sw_vers and then composes it onto a stock background with something like ImageMagick. Or if you want to skip that you could pre-compose all the backgrounds you need. Then change the background with defaults or Apple Events (example).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.