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.

The MacBook Pro – Let the Lusting Begin

Every time Steve Jobs takes the stage in his signature black turtleneck and jeans, I cringe. Not because I particularly dislike his wardrobe or even Steve J himself; I cringe because I know he is invariably going to inspire a nearly undeniable urge to decimate my budget. He has succeeded once again.

If you haven’t heard about the MacBook Pro, a quick Google search or a stop by the Apple website will get you up to speed. An Intel Core Duo processor, 15.4″ widescreen, built in iSight, a screen as bright as their cinema displays, Front Row and remote included, and their new “patent pending” MagSafe power connector are a few of the major bullet points.

But really, the most important factors are that it’s an Apple Intel notebook, it’s amazingly thin, and it’s wrapped in shiny aluminum (although I was hoping for carbon fiber… I guess there’s always next year…). I must have one. Now.

I’ve managed to hold off the temptation so far, plunking down $3k on a notebook wasn’t exactly in the plan, but damn if I don’t want one. Badly. I’ve even managed to get it in my shopping cart a couple of times, most notably after Steve J said “If you want one I suggest you get your order in early” during his keynote. That simple phrase must’ve set off the zombie obedience mode in my brain, because before I knew it, I was happily configuring away at the Apple store.

I have to keep reminding myself that I’m holding out for revision two. It’s basically a constant chant whenever I read anything about the MacBook: “revision two, revision two, must wait, revision one always sucks, revision two will be awesome, but look at it! <drool>, no! focus! revision two.”

We’ll see if I cave… :)

Howl’s Moving Castle

Howl’s Moving Castle is the latest Studio Ghibli release from acclaimed Japanese director Hayao Miyazaki. Dustin and I saw the film with its original Japanese dialog and subtitles at one of the theaters here in town.

Overall, I have mixed feelings about the movie. It was as beautiful as Spirited Away and as mysterious as Princess Mononoke. Miyazaki has the incredible ability to create a modern animated film that looks like it was originally drawn decades ago during the early years of animation.. on the surface. Suddenly, though, you see the enormous amount of detail each and every scene incorporates. On animation alone I’d be tempted to say that this film surpasses Spirited Away.

It’s the story, however, that differentiates the two. While Spirited Away had a fairly straightforward plot, Howl’s Moving Castle has a plot full of twists, turns, subplots, and dead-ends. Overall it is a fairly simple story: Sofie, a young girl working in her late father’s hat shop, gets cursed by the Witch of the Waste and turns into an old woman. Sofie then sets out to find Howl to have the curse removed. I won’t give any more of the story away, as you should definitely see it yourself. I will say however, that there are plot elements that just do not seem to flow well with the rest of the movie. At some points, I was left wondering what I had missed.

This confusion led me to read the book by Diana Wynne Jones that was the basis for the movie. It is an excellent book and an easy read; I think it took me around five to six hours straight to finish it. The book differs greatly from the movie and while it does provide some useful additional information, most of the more puzzling movie scenes are not in the book at all. If you do read the book before you see the movie, don’t be surprised when the two bare little resemblance to each other.

Overall, I think I still think Spirited Away is my favorite Miyazaki film, with Howl’s Moving Castle coming in a close second. Perhaps if I see it again, or in English, I might change my mind. If you have not seen it yet, it is definitely worth the eight plus dollars of admission to see it in the theater.

Fullmetal Alchemist

Finally! Fullmetal Alchemist premiered on Cartoon Network last night. I hope you all watched it and now have your Tivos, Replays or (Heaven forbid) VCRs set up to record it every Saturday. While I tend to strongly dislike the English dub of most anime, Funimation did a pretty good job. The dialog is fairly true to the original Japanese, which is always a plus. Also, as far as I can tell, they didn’t edit the show for either content or time, at least with episode one. Overall I’d say this is one of the better dubs I’ve watched. The DVDs are not supposed to be out until February, so for all of you who haven’t seen the first few episodes in Japanese, you better double check those record settings.

Halo 2

So, here I am, sitting in the Alamo Drafthouse, watching people play Halo 2 on the movie screen. While I’m not a huge Halo fan, I must say this is pretty cool. I actually got to play for a while, and the dual wielding is awesome. This is actually an event from the end of the whole “ilovebees.com” saga. I didn’t pay much attention to it, but apparently a lot of people were really, really into it. So, the Microsoft PR machine set up four locations across the country for a “training” event. Basically, it just means you get to come out and watch/play Halo 2 all night, with an Xbox Live connection to the other three locations. Another reason the Drafthouse is the best theater in Austin is the free wireless access, which is allowing me to bring this post to you straight from the source. When we get home, and I feel like it, we’ll post some pictures. Yes, you all have my permission to turn green with envy now.

Bleh, Dustin does not have anything with spellcheck installed, so any misspelled words are all his fault. :)