Intrepidly lacking

I updated my desktop to the new Ubuntu release (Intrepid Ibix)

This is mostly good, but I discovered a problem as a side-effect of them improving their mouse support. Now that my mouse is auto-detected with all its buttons, the side-button no longer defaults to being a middle-click. I like having the side-button do middle clicks.

So, no problem, I thought. I’ll just go rebind it. There is doubtless something in the mouse settings that lets me adjust this – I mean, Windows generally handles this fine, so surely Ubuntu will be at least equivalent.

This turned out to not be true.

After a lot of searching, I found the community documentation for the Logitech Marblemouse USB, which (sort of) discusses how to remap buttons.

So I ran:
$ xinput set-button-map "Logitech USB Gaming Mouse" 1 8 3 4 5 6 7 2 9

This didn’t remap it, per se. It swapped clicking the mouse wheel and clicking the side-button.

(I’m not certain that this will persist through a reboot. I might need to meddle with .Xmodmap.)

It’s a weird place to be lacking what I consider basic functionality.

Ubuntu: sharing music with iTunes

  1. sudo aptitude install mt-daapd
  2. Edit /etc/mt-daapd.conf so that mp3_dir = [your music directory]. (Also any other configuration changes you might want to make; the file is well-commented.)
  3. sudo /etc/init.d/mt-daapd restart

Really this would work on any Debian-derived distro… but I’ve only tried it on Ubuntu.

Update: It looks like mt-daapd puts an admin interface on http://localhost:3689/ (with the default password being ‘mt-daapd’), which you can use to configure things like the location of your music. So you might not even need to do any config file editing…

Disadvantages to a Hollywood office

Yesterday when leaving work I stepped out the back door of our building and almost blundered through someone filming a scene for something.

The back doors of our building had been made over into a hospital entrance, and someone who was the very embodiment of The Wise Old Bum was dispensing advice to people in scrubs, while some sort of faux-homeless band played on the bridge crossing the alley to the parking garage.



I’ve been running Ubuntu on my home computer for a week and a half now. That’s right, I’ve joined the “A-list blogger circle-jerk”. For certain values of “A”. Specifically, the value “F”.

I’ve mostly found alternatives for all the programs I used. The only area where I’m not quite satisfied is a music player; I used foobar2000 on Windows, and I haven’t found one to match it yet. (I’ve settled on Quod Libet at the moment, though its UI is a bit lacking.)

WoW works, but I seem to be paying a ~10fps tax for running it under Wine. It’s a pain, but it’s still playable.

I still have XP on a partition, but I haven’t yet run into anything I need to boot into it for. This is a promising development.

I’m looking forward to Hardy Heron’s release. It’ll come with the newer nvidia drivers, which apparently improve performance. This will be appreciated, as I’ve been unimpressed by canvas in Linux-Firefox so far.

Topsy turvy

A bug report for maphilight lead to me becoming aware of a fascinating quirk in IE. A quirk in which IE holds to published standards with fanatical zeal, contrary to everything one might have come to expect, and far in excess of Firefox/Opera/Safari.

When you use the .innerHTML property to add an element to the DOM, IE will fire an “unknown runtime error” if that element is incorrectly nested. So trying to place a

inside a

(as was the case in the bug report) will error very unhelpfully.

Surprising behavior.

Anyway, this led to the release of maphilight 1.1.1. (Which also includes an official minified version of the file, for convenience’s sake.) widget

I couldn’t find a WordPress widget that produced output similar to’s linkrolls script. (You can just put their script into a Text widget, but its output doesn’t always mesh well with WordPress themes – it hardcodes h2s, and so forth.)

The Automattic example widget came close, but was a bit lacking on the customization front. for WordPress also came close, but I disagree with having your server fetch the RSS feed, instead of using the perfectly good JSON API.

So I took the Automattic widget, hacked some extra features into it, made it configurable, and you can now see it in my sidebar. Well, footer currently. It’s a theme thing.

If you want it yourself, here’s the link: plus

Edit on 2008-03-27: This is now in the plugins repository.
Edit on 2008-04-16: Version 1.1 released, granting multiple widget instances.