Customizing the Editor in Fugu
August 16, 2006 at 1:36 am | Author: jessie
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”
2. Navigate to Contents, Resources, ODBEditors.plist
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. This is what it should look like:
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.
Viola! You can now command-J to edit files with your chosen editor from Fugu.








August 16, 2006 at 1:36 am
This is great but I’m getting permission error:
/Applications/dev/Fugu.app/Contents/Resources/externaleditor /Applications//TextEdit.app “/private/tmp/Fugu/tmp.mr09ON/RUNNING.txt” “/root/RUNNING.txt”; exit
execve /Applications//TextEdit.app failed: Permission denied
/Applications//TextEdit.app exited with 2
August 16, 2006 at 1:36 am
Hey jvence,
Looks like you have too many “//” in your “/Aplications//TextEdit.app” string. Remove the duplicate / and you should be good. You probably mistyped it while you were editing the ODBEditors.plist file.
August 16, 2006 at 1:36 am
Thanks for the hint Jessie! You can also change the order they appear, so your favourite editors appear at the top of the list – personally, I’d have TextEdit, Bluefish and vi as my top 3.
This doesn’t matter so much, but it’s worth a mention: A fully correct TextEdit entry looks like this:
If you’re not sure of an app’s creator code, just Google it! :-)