JustLooking - OS X image viewerI may have just found the first half-decent, quick and small image viewer that suits my expectations.
JustLooking

It can be configured as default viewer for all your image files and when you open an image it has a nice interface that lets you skip forward and back in the directory from where you opened the file. JustLooking also has a nice fullscreen option and can rotate images (90° only).

I think this app may have a good chance of replacing Preview as my default image viewer.

The following post outlines how I managed to get a wallpaper compiled out of my top 50 artists at last.fm that changes automatically every hour. To achieve that I used the last.fm cover art website, Automator and the Unix utility cron.

  1. Open Automator and start a new workflow. First thing we have to make sure is that the old wallpaper gets deleted. You wouldn’t want your harddisk fill up with wallpapers. So drag the “Find Finder Items” action from the Finder Library to the workflow and set it up as showed in the picture. (Wallpaper is a folder in my Pictures folder that holds all of my background images.)
    Find Finder Items
  2. Choose the “Move to Trash” Action from the Finder Library and drag it under the previous Action.
  3. Next we have to get the desired wallpaper from the previously mentioned page. First go there and set up the wallpaper just as you like it. Make sure the “Randomise” checkbox is checked, otherwise it wouldn’t make much sense to reload the image every hour, would it? 😉
    When you’re done setting up your image click on “Image Me” and wait for the picture to appear, then copy the address from the address bar of your browser.
    Back in Automator choose the Safari Library and drag the “Get specified URLs” Action to the workflow. Paste the just copied address into the “Address” field in the Action. (Or if you did this with Safari and got the page still open, just click the “Current Safari Page” button)
    Get Specified URLs
  4. To save the image in the right folder we need the “Download URLs” Action from the Safari Library and specify the folder we chose previously in the delete step.
    Download URLS
  5. In the following two steps of the workflow the file is renamed with date and seconds till midnight, so it has a different filename each time it gets downloaded. Otherwise OS X wouldn’t change the wallpaper even if the image changed.
    Rename
  6. The last Action is Finder’s “Set the Desktop Picture” which you just have to drag into the workflow and you’re done.
  7. Save the workflow as Application into your Applocations folder and remember the name. (I named mine “last.fm – Azath0th – Wallpaper”). Now comes the scary part – the Terminal 😉
  8. We have to set up a cronjob. In order to do that type in crontab -e and paste the following in the crontab file.
    SHELL=/bin/bash
    0 * * * * /usr/bin/open "/Applications/last.fm - Azath0th - Wallpaper.app"

    Of course you have to substitute the name of the program with yours.
    This executes the Automator workflow every hour at 0 minutes on every possible day. (0 * * * *)

That’s it!
A few words of caution though:

Be sure that your desired download folder doesn’t contain any other files that contain “coverart” in their filename or Automator will delete those as well.

When the workflow runs it forces itself into the foreground which can be a bit annoying sometimes. I’m not sure what happens if you’re in the middle of a presentation and the workflow kicks in, it might be better to deactivate it during those occasions by putting a hash caracter (#) in front of the call in the crontab file.

Enjoy it and please tell me if you’ve got any ideas to improve the whole thing.

Yesterday I finally set up my good old iBook as juke box. It now sits on a shelf besides my working table and runs iTunes fullscreen wirelessly connected to the net and the stereo via my AirpotExpress. It’s working perfectly and I am really satisfied with it. The only downside was, that when I wanted to control anything on the iBook I had to reach over there.

I evaluated several different utilities for remote control but wasn’t really satisfied with any of them, then I remembered about Synergy. What it does is best quoted from it’s page:

Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems without special hardware. It’s intended for users with multiple computers on their desk since each system uses its own display.

That’s exactly what I was going for and luckily setup was really easy (instructions for Mac OS X).

  1. Download Synergy from Sourceforge.net
  2. Unzip the archive and copy the resulting folder wherever you want (“Applications” might be a good idea 😉 )
  3. Decide on your “Server” (= the computer who’s keyboard and mouse will control all the other machines). On this machine you need to make a file named synergy.conf with the following contents
    section: screens
    screen1:
    screen2:
    end
    section: links
    screen1:
    left = screen2
    screen2:
    right = screen1
    end

    Substitute screen1 and screen2 with the hostnames of your computers (just punch in hostname in your Terminal and find out). Note that there is no implicit logic in the config file about the placement of the screens. So you have to tell Synergy that screen1 is right of screen2 and the opposite or you won’t be able to leave one of the screens with your mouse.
    The provided sample config is pretty well documented so you should be able to figure out the appropriate positioning for your particular set up very easily.
  4. When you’re done with the config, all there’s left to do is start Synergy. Just execute the following in your Terminal.
    First on the Server (alter the program path to match your system):
    /Applications/Synergy/synergys -c synergy.conf
    and then the client(s):
    /Applications/Synergy/synergyc screen1
    again substitute screen1 with the hostname of your server

If you didn’t make any mistakes in the config file you should be up and running by now and be able to move freely between all of your screens no matter to what machine they are connected.

The best thing about Synergy is that it is cross platform compatible, meaning you can connect Windows, Linux and Mac machines in a similar manner. To know more about the program consult the documentation provided in the installation directory.

UPDATE:
For the lazy, there is even a Mac OS X GUI Programm to do the configuring: SynergyKM 😉

iScrobbler is an awesome little menubar item that submits all the music you play, to the music community site last.fm. It just sends track name, artist & album, no filename or file type. So it can’t determine if you played from an original CD or a file on your computer (just in case you worried 😉 ).

To start your last.fm experience you first have to get an account there. Easy as that!

Next you need the iScrobbler application, you can choose from two different versions:

The Beta version works fine for me (Mac OS X 10.4.8. & iTunes 7.0.2) so you might as well try it and take advantage of the added features.

Setting up the iScrobbler application isn’t much of a big deal and I trust you to find out how to do that yourself 😉
The tricky part was finding out how to get iScrobbler to also “scrobble” the tracks I played on my iPod. I say “finding out” was hard, because the instructions delivered with the program aren’t that clear, but once you figure it out it’s actually quite simple. I’ll try to sum up in a few steps how I think is the easiest way to accomplish that.

  1. Make sure you’ve got an intelligent playlist in iTunes that keeps track of recently played music. In the standard set-up this is called “Recently Played”. I made myself one that lists all of the tracks that where played in the last 2 weeks and named it “scrobble”.
    This list doesn’t necessarily have to be existent on your iPod as well.
  2. Set your iPod to sync automatically and disable disk use.
    In my case this means that a few selected playlists get automatically synced to my 4GB iPod nano and I didn’t need disk use anyway so it was ok for me to disable that.
  3. Klick on “Preferences…” in the iScrobbler menu in your menubar and check “Enable iPod Submissions” and select your prepared playlist in the dropdown underneath.

So much for that but one big caveat remains:
You have to “scrobble” the tracks you played on your iPod before you play any other music in iTunes!

This is due to some obscure policy by last.fm that only accepts track submissions in the order they are played, for whatever reason – I’m sure they have a good one 8)

If you’re interested check out my profile and see what I’ve been listening to.
There’s also a good iScrobbler support group in last.fm that’s worth checking out if you run into problems or want to check for program updates.