robotthoughts

FlickrFan and My Mac Desktop

One of the things I missed when I moved from Linux to Mac OSX was the ability to display Flickr photo feeds as the background of my monitor desktop. Dave Winer fixed part of the equation for me by setting up FlickrFan which allowed me to grab Flickr feeds and bring them to my computer. Assigning the pictures for use as a screen saver or archiving is trivial but what I really wanted was to have the pictures displayed as my desktop background while I worked. Here is how I did it:

Once you have setup the screen saver you want in the Mac System Preferences you need to create two small scripts. The first script called RunScreenSaver (or whatever you wish) contains this simple code.

#!/bin/bash
/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app
/Contents/MacOS/ScreenSaverEngine -background &>/dev/null & echo $!

Make sure the /System/…/ScreenSaverEngine path is all one line above. WordPress wants to break it apart for formatting reasons.

The second script called KillScreenSaver (or whatever you wish) contains this simple code.

#!/bin/bash
killall ScreenSaverEngine

Be sure to make both script files executable by typing this in your terminal.app:

chmod a+x RunScreenSaver
chmod a+x KillScreenSaver

Or you can simply download both scripts.

When you want the background running, run the first script by double clicking it in the finder and when you want to stop the background run the second script by double clicking it in the finder. Of course, you can also run each script from the terminal.app:

./RunScreenSaver
./KillScreenSaver

Update:

Dave Winer over at Scripting News did a quick video of this effect:

Next Post

Previous Post

4 Comments

Leave a Reply

© 2024 robotthoughts

Theme by Follow Me on Mastodon

Bitnami