Customizing the Editor in Fugu

When I changed hosts for my blog, it also meant that I could no longer just SMB the files around. I had to find an actual SFTP/SCP-client for my Macbook. A quick Google search turned up Cyberduck and Fugu. I arbitrarily chose Fugu. (Turns out this was the right decision. Dustin convinced me to try Cyberduck; version 2.6.1 crashed three times in a row while I was trying to type in the hostname. But I digress…)

Fugu is pretty slick, but it would only open files for editing using one of the preset editors, none of which I had. I decided to see if I could change the list of available editors to include TextEdit, since I was only editing basic CSS.

Turns out you can. Here’s how.

1. Right click on the Fugu application and choose “Show Package Contents”

picture_1.png

2. Navigate to Contents, Resources, ODBEditors.plist

picture_2.png

3. Open the ODBEditors.plist file in TextEdit. Scroll to the bottom of the file and either create a new entry or modify one of the existing entries. I modified the emacs entry, since I don’t plan on ever using it. You can copy and paste the following into the file:

Updated text version thanks to Rich:

<dict>
    <key>ODBEditorBundleID</key>
    <string>com.apple.TextEdit</string>
    <key>ODBEditorCreatorCode</key>
    <string>ttxt</string>
    <key>ODBEditorLaunchStyle</key>
    <integer>0</integer>
    <key>ODBEditorName</key>
    <string>TextEdit</string>
</dict>


Original post text version:

<dict>
    <key>ODBEditorBundleID</key>
    <string>-</string>
    <key>ODBEditorLaunchStyle</key>
    <integer>0</integer>
    <key>ODBEditorName</key>
    <string>TextEdit</string>
    <key>ODBEditorPath</key>
    <string>/Applications/TextEdit.app</string>
</dict>

Original post image version:
picture_3.png

4. Save the file and you’re good. Load up Fugu, click Fugu, Preferences. In the preference pane, click the Files icon. In the External Text Editor, choose the name of the editor you just created. In my case, TextEdit.

picture_4.png

Viola! You can now command-J to edit files with your chosen editor from Fugu.

iTunes Update

For those of you who use iTunes, version 4.5 is now available. It has several new features and now you can download a free single from an “emerging artist” every week. It seems like this update is made up of a bunch of small things that ellict a “that’s kinda cool” response, instead of a few “WOW” features. For example it’s kinda cool that you can watch movie trailers straight from iTunes (and of course buy the soundtracks and audiobooks). It’s also kinda cool that you can watch music videos. I’m not really a music video fan but I watched a couple and it was sorta nice, but not something I would really miss if it wasn’t available.

One new feature that is pretty useful is the improved printing options. Now you can print a list of your songs, or a list of all the albums you have. You can also print cd covers with actual album art (or a mosiac of all the covers for a mixed cd). I don’t really ever burn discs, but if I did, I think this is a really cool feature. I’m thinking about making a mix cd just to test it out. :)

All of the audiophiles out there will probably be happy with the new Apple Lossless Encoder, which promises full CD quality audio in about half the size an uncompressed audio file would require. This would also probably be a good option to back up CDs onto your computer without a loss in quality.

If you go to the iTunes site you can read about all of the other features I didn’t cover like: Radio Charts, iMix, Wish List, and now your library has links back to the music store as well.

The Little Driver That Could

I have a Powerbook G4 and I love it. I wouldn’t trade it for any of the Windows notebooks in the world. However, there is one teensy, tiny little thing I envy about all of those behemoth Windows notebooks–the built in scrolling on the trackpad. Just run your finger down one side of the trackpad, and voila! scrolling like magic. Now, I don’t need to be envious any longer because I found a driver for OS X that does the same thing and a whole lot more (ok, so really Dustin found it).

Before I go any further I must warn you that this software is BETA! If you don’t know what that means, don’t install it. Simple as that. The software is known as SideTrack and it is currently at version 0.8.
http://www.ragingmenace.com/software/sidetrack/index.html
http://www.macupdate.com/info.php/id/12800

Installation. Installation was fast, just run the program you download. However, when I rebooted the fist time, I didn’t think my computer was going to boot. It took a LONG time to move from the grey screen. Don’t worry, it booted normally the next time I restarted. When you finally get it rebooted, tapping the trackpad is turned off by default. Go to System Preferences and at the bottom you’ll see the SideTrack button. Then configure away. This driver has a LOT of features. Go to the link above for a good list of everything it does. I’ll just cover the features I found most useful.

Scrolling. You can set up the scroll area to be either on the left or right of the trackpad and you can set the width of the scrolling area. It takes a while to get used to the scrolling and where exactly you need touch the trackpad to get it to work. If you set the area wider it may help you get used to it. After using it for a week I can pretty much always hit the correct area. You can also set up horizontal scrolling but since I rarely need to scroll left and right, I haven’t set it up.

The button. You can set the mouse button to be either a right or left mouse click. At first I set it up as a right click, since I mostly tap the trackpad to left click (if you intend to keep it this way, you need to set the tap to “left click with drag“ or you won’t be able to move windows or select text). However, after using that button as a left click for over a year, I found it was just too hard to retrain myself to see it as a right click. So, I changed it back and found a different solution for right clicking.

Corners. You can set the corners to be a left or right click, or a keystroke, or other options. So, for right clicking, I set the top left corner to a right click. It takes some practice to find exactly where you need to tap, but you can always make the area bigger and I like it better than Ctrl clicking.

Ok, that’s what I like about it. There is really only one thing I can complain about–sometimes your mouse will freeze for a second or two. Not really too annoying but you will notice it. Overall, though, it’s very, very cool. And the thing I love the most? You can set it to let you tap to select the user to login. I never understood why tapping didn’t work in the fist place.