After upgrading all of my personal machines to Leopard, I’ve found myself using the Screen Sharing feature quite often. Many people have two Mac’s these days, particularly owners of the MacBook Air, and screen sharing makes it incredibly convenient to access a machine in another room.
As with most things I do frequently, Quicksilver has utterly spoiled me. The process of making the Finder active, pressing Command+K, and selecting or typing vnc://champ.local is just way too long.
Fortunately, it’s really easy to integrate Screen Sharing into our Quicksilver workflow.
Here’s how.
You’ll need to edit unix plaintext files, rather than rich text which TextEdit.app seems to insist on producing. TextWrangler is a great, free, text editor for editing Unix plain text files, although I’m partial to TextMate.
First, make sure Screen Sharing is turned on in the Sharing Preference Pane in Leopard.

Suppose you want to connect to a machine named “champ” in the Sharing Preference Pane.
The script will have the contents:
#!/bin/sh # Nice and short open vnc://champ.local &
Save the script into ~/Library/Application Support/Quicksilver/Scripts/champ.sh and make sure that folder is scanned by Quicksilver.
You’ll also need to make sure the script is executable, so open up Terminal.app and change the permissions:
chmod a+x ~/"Library/Application Support/Quicksilver/Scripts/"*.sh
That’s it. Now you should just be able to invoke Quicksilver, start typing the name of the machine you want to share the screen with, and presto! Nice and fast.

March 2nd, 2008 at 4:18 pm
Nice! Tnx!
March 3rd, 2008 at 8:27 am
I’ve just symlinked /System/Library/CoreServices/ScreenSharing.app into my Apps folder.
Then screen sharing is just:
* activate QS
* Type “scr”
* enter hostname
March 10th, 2008 at 5:06 pm
Whoa, much better method.
My next course of action was to figure out how to pass the host name to the script through quicksilver, but this saves me the trouble.
Though, I would still like to learn how to do that for some other scripts I have… Suggestions anyone?
March 10th, 2008 at 5:32 pm
Well, I take that back. I actually like my script better, as it’s a tad faster, and I’m not Screen Sharing to that many machines, just one or two on the other side of a VPN link.
It’s nice having both though. Thanks for the tip Nigel.
March 30th, 2008 at 5:48 pm
Exactly what I was looking for! Thanks.