Category Archives: Open Source

Multiple Twitters

Ben Morrow contacted me some time ago asking me to look into some problems he had with my AJAXed Twitter plugin for WordPress.

AJAXed Twitter was never meant to be used with more than one account, so his request was not a bug, but a design flaw. Yesterday I took the chance and completely rewrote the plugin part, using WordPress’ great 2.8 API (piece of cake!).

Be sure to check it out.

Well, some sync today

After getting an Android phone and blogging about it’s lack of synchronisation options in Gnome I was finally able to make some progress.

The answer is GCALDaemon which can read Evolution’s .ics-files (even the locally cached ones from my university) and copy the events within to Google Calendar.

Combining it with my Notification Server you can use “bin/” in a script and even get a nice notification after running it (for example a few minutes after logging in).

Not the best solution (I’d rather skip one step and write directly to my Legend), but usable nevertheless.

Android – No sync today…

Yesterday I got my first phone with Android, the HTC Legend. While I really love it so far, there is one big issue, that turned out to be a complete mess in Linux: Syncing it with Evolution.

Apparently there are no solutions at all that allow you to conveniently plug in the phone and push calendar events, contacts or notes.

After following some traces here’s my disappointed summary:


Complete mess in Debian (maybe Ubuntu as well). After checking out all the repositories and building libopensync1 from svn still no clue how to use it with Evolution.


Android doesn’t understand it out of the box.
Funambol doesn’t sync anything besides contacts.
Synthesis costs money, but can be evaluated 30 days. Once I get a SyncML running here, I could give it a try.

HTC Sync

No idea which protocol it uses, but I can’t get SynCE for OpenSync (for blind trial and error) working here anyway. Some obscure python errors in OpenSync to blame.


Help, I need somebody, help…

Xorg and HAL (2)

As already mentioned in “Xorg and HAL” X-land is in state of “complete” redesign.

Today I read at Phoronix that Intel released their driver update 2.11.0. Curious as I tend to be I had to compile Xorg, Mesa and the driver once again to take a look at what’s going on myself.

Because support for setting properties via udev seems to have gone in favour of the shiny new “conf.d” features, my old post is definitely outdated.

Not that big of a deal though, to configure your touchpad/-stick you now have to create InputClass-Sections in *.conf-files in “/etc/X11/xorg.conf.d/” (99-trackstick.conf in this example).

Section "InputClass"
	Identifier			"dualpointstick"
	MatchProduct			"DualPoint Stick"

	Option "ButtonMapping"		"3 2 1 4 5"
	Option "EmulateWheel"		"true"
	Option "EmulateWheelButton"	"2"
	Option "EmulateWheelTimeout"	"400"
	Option "YAxisMapping"		"4 5"

By the way: Subsequent rules seem to be overwritten, so copying “/usr/lib/X11/xorg.conf.d/05-evdev.conf” makes sure “normal” input devices use the evdev driver.

Ah, in case you might have wondered: Yes, contrary to mice I use touchpads and tracksticks with my left hand. Which other OS would allow me to configure input devices like that?

AJAXed Twitter Plugin for WordPress

Ricardo González wrote a nice plugin for WordPress that displays the public timeline of a twitter account in your WordPress theme.

Though the plugin works I found two major problems:

  • Sometimes Twitter doesn’t provide the timeline at first request.
  • Embedding it in your theme significantly slows down loading of the blog.

I came up with a solution to both of them (featuring MooTools or jQuery support) using XMLHttpRequest.

Basically all it does is wait until the page is loaded and then request the tweets. If Twitter decides not to provide the timeline, the request is sent again until a configurable number of retries is reached.

There are two ways to use this plugin:

  1. Configure it manually (see how-to below)
  2. Use it as a widget (version two and above)

If you use it as widget, simply use the management functionality for widgets provided by WordPress. Otherwise (if your theme doesn’t support widgets for example) you can set also it up manually as I did on this blog (because I use MooTools here).
Continue reading AJAXed Twitter Plugin for WordPress

Time-tracking Hamsters

I’m following the development of a great time-tracking software since mid 2008. Project Hamster, an applet for Gnome’s panel, has constantly evolved from a nice tool to something I could not do without any more.

It’s easy to use, fast and for someone like me (I always forget to write down start and stop times) it comes with a few handy reminding features.

The new interface they are planning for Gnome 2.30 is cleaner and better arranged than ever before, but I’ll let the screenshots (excuse the German labels) speak for themselves.

Xorg and HAL

A few things have been brewing in Linux-world concerning the replacement of HAL for some time now: Ubuntu’s Lucid Lynx (10.04) for example will ship without it.

Xorg 1.7.4 was uploaded to Debian/unstable three days ago and comes with udev support, which also means that support for configuration of input devices via HAL was dropped (at least for Linux).

So, in case you might wonder how to configure your input devices, here’s an example for my Synaptics touchpad. Similar to HAL, put your .fdi-files into “/etc/udev/rules.d/”.

ACTION!="add|change", GOTO="xorg_synaptics_end"
KERNEL!="event*", GOTO="xorg_synaptics_end"
ENV{ID_INPUT_TOUCHPAD}!="1", GOTO="xorg_synaptics_end"



Although you can get rid of HAL completely, some (Gnome-) packages are still built with HAL support and dependencies. I for example had to rebuild gnome-power-manager and sound-juicer but after that I was able to disable HALs start-script. Another problem you might face is the dependency of bluez (the bluetooth implementation) on HAL.

If you’re interested: Xorg developer about udev-directions