Planet GNOME Jonny Lamb's personal website. Fri, 28 May 2021 22:04:13 +0000 en-GB hourly 1 Sciopero Tue, 28 Oct 2014 11:11:36 +0000 Continue reading "Sciopero"]]>

Public transport strikes in Rome are so frequent that it’s hard to remember when they are. I wrote a GNOME Shell extension to help remind me when there’s one either coming up or in progress. Find it on It gets its data from another little service I just made.

A Roma gli scioperi dei mezzi pubblici sono così frequenti che spesso è facile dimenticarsi quando ci sono. Ho scritto un’estensione per GNOME Shell per avvisare quando c’è o si avvicina uno sciopero dell’Atac. La puoi trovare su Funziona grazie ad un altro piccolo servizio che ho creato.

Automatic Connections Mon, 04 Oct 2010 13:30:00 +0000 Continue reading "Automatic Connections"]]> My network blocks SIP on 3G, so when I start using its 3G service after leaving a wireless network my N900 constantly complains about not being able to connect. Although this is my specific annoyance, there are many similar requests, such as I only want my work XMPP account enabled when I’m at work.

I wrote a simple application to achieve this. A list of wireless networks is configured per instant messaging account. libconic is used to listen for connect & disconnect events. When said events occur, accounts are enabled or disabled as configured.

I just uploaded it to extras-devel. It’s called Automatic Connections.

Monorail Thu, 14 Jan 2010 14:44:00 +0000 Continue reading "Monorail"]]> Recently, I’ve been working on a file transfer app for the N900. It’s called monorail and I uploaded it to extras-devel last night, so you can try it out right now.

I implemented an OssoABookContactView with support for filtering on Contact Capabilities (or a draft of it, at least) as old-style caps aren’t great. This gives a nice list of address book contacts who have at least one account that should support receiving file transfers. It would be nice if these extra caps could go into the address book which is where they belong, but it won’t.

If someone would find this widget useful, I’ll clean up the code and maybe throw it in its own library.

I also started to implement a sharing plugin, but it turns out it’s poorly documented and appears to be impossible to do anything useful for my use-case, like popping up a dialog when the user taps “Share”. The example isn’t very exemplary, but does contain some amusing code.

This sharing plugin is only half-written and impossible to debug. If anyone has any pointers on writing these plugins, I would appreciate them.

It’s a shame that although Hildon widgets can look really good on the device, it can often take some fiddling to make them look consistent with the rest of the UI. Additionally, oddities in some widgets can leave you baffled, or amused.

The most annoying thing I have come across regarding this app is just how little I can get it integrated. The file manager is all hard-coded so there’s no way to add a Send to Contact menu item, and no buttons can be added to the libsharing dialog (which appears when the user shares a photo) which is annoying as it looks like it’s missing this feature.

Telepathy Extras Thu, 14 Jan 2010 12:30:00 +0000 Continue reading "Telepathy Extras"]]> A few weeks ago, I got a cool Christmas present from work. It’s pretty sweet, and I’ve been writing some apps for it. I’ll try and blog about them here.

A while ago, I wrote some a number of account plugins for Maemo 5, so that other Telepathy connection managers could be used and well-integrated into the N900’s Contacts and Conversations User interface. This enables the following extra protocols:

There are still a few problems which I’ll try to iron out soon enough but they appear to be working pretty well. The best thing about it is clearly the integration with the rest of the phone, as demonstrated by Marco in the screenshot above.

The PR1.1 update, which is due today, also opens the door for enabling other protocols dynamically by providing libpurple plugins. I will be adding Facebook Chat support soon, and someone else has made a package for Twitter.

This is in extras-testing for you all to download and try out. You can find all the packages in the Network category of the Application manager. The Extra protocol plugins for Conversations and Contacts metapackage (telepathy-extras, in reality) pulls in all the cool account plugins and connection managers of the time. File bugs from the package link.

Debugging Telepathy Sat, 02 May 2009 00:31:29 +0000 Continue reading "Debugging Telepathy"]]> Sometimes debugging Telepathy can be a pain. I die a little every time I see just run gabble from the command line with GABBLE_DEBUG=all on #telepathy.

Daf started implementing a debug interface in gabble but he fled the country, so I finished it off, and added a hot new dialog to Empathy.

Additionally, if you are a Telepathy developer, this may be an interesting addition to your shell startup file:

g () {
    project=$(basename `pwd`)
        libtool --mode=execute gdb -q --args ./src/$project --g-fatal-warnings