Week of 2008-05-03 17:00 to 2008-05-10 16:59

Making Raggle use your default browser on Mac OS X

screenshot of Raggle

Raggle is a swell console/terminal-based RSS client I mentioned a while ago (nearly two years ago to the day — weird!). Like any RSS program, it will allow you to open a link or feed item in a regular web browser. Since it’s in the terminal, that may not work as desired, opening them in a console web browser like ELinks or not opening them at all.

On Mac OS X, getting Raggle to open up those links in your default web browser is easy thanks to the /usr/bin/open command.

Raggle preferences and other files are stored under ~/.raggle so navigate there in your terminal. It doesn’t create your custom configuration file automatically, so just start a new text file there called “config.rb” (Raggle is a Ruby program, thus the .rb).

(You can change pretty much any behavior you want using this file; check out the doc/default_config.rb that came with your Raggle download for full examples.)

Customizing the browser is really simple. Here’s all you’ll need in the config.rb file:


$config = {
    'browser_cmd' => ['/usr/bin/open', '%s'],
}

And that’s it!

Rebuilding the Desktop

Among the activities I haven’t done on a computer in nigh on a decade now: Rebuilding the Desktop. (You don’t have do it on OS X.) I had to look up how.

You can rebuild the Desktop manually by holding down the Option and Command (Apple) keys while the computer starts up.[…] Click OK when you see the message “Are you sure you want to rebuild the Desktop file on the disk “your disk”? Comments in info windows will be lost.

Nowadays of course, we have the more-advanced “Repair Permissions” as placebo technique for whatever ails your Mac. ;)

Top 10 Movie Soundtrack Albums

Ten arbitrary and somewhat random favorites (click to view at Amazon):

Honorable Mentions:

  1. Ferris Bueller’s Day Off (no album ever released, but an awesome set of songs).
  2. Twin Peaks (Angelo Badalamenti, TV).
  3. Grand Theft Auto III, Vice City, San Andreas, and IV.

MacVim

MacVim screenshot

Project hosted on Google Code, bringing the venerable text editor into the 21st Century of Mac.

MacVim is a port of the text editor Vim to Mac OS X that is meant to look better and integrate more seamlessly with the Mac than the existing Carbon port of Vim. Here is a list of some of its features:

  • Safari style tabs, Multiple windows, Toolbar, Transparent backgrounds
  • GUI Dialogs
  • Multibyte
  • Keyboard bindings to standard Mac OS X short-keys (such as Cmd-z, Cmd-g, Cmd-o, etc.)
  • Extensive help files
  • Font panel: access to all of your fonts via the standard OS X font panel, proportional fonts render with fixed advancement
  • Input Methods for non-English keyboard input
  • Full-screen editing
  • ODB Editor protocol support
  • Client/Server: use the —remote switch on the command line to open files; script the server with remote_send() et al

Coding by Björn Winckler. See also the vim_mac Google Group.

Not to be confused with Mac Vim, the old Carbonized version.

The gravitational pull of Linux

A pair of stories on /. today hold a particular fascination for me, particularly when taken together:

“Linux Desktop Distro Shootout”

“War Brewing on the Inexpensive Laptop Front”

They point to a pair of stories:

Infoweek: “Linux Shootout: 7 Desktop Distros Compared”.

We tested openSUSE, Ubuntu 8.04, PCLinuxOS, Mandriva Linux One, Fedora, SimplyMEPIS, and CentOS 5.1. All performed well, and each had at least one truly outstanding feature.

(At the moment, I am veering toward Kubuntu.)

And The Christian Science Monitor: “More computer brands chase the ‘$100 laptop’”.

Bye bye, bulk. New lines of tiny PCs fit both in your purse and into third-world classrooms.

Taken together, I can see my near-future computing needs handled, particularly on the writing front.