Skip to content

purple-url-handler and XMPP URLs

September 23, 2009

I’ve finally worked out how to drive purple-url-handler. Strictly John worked it out, so I will stand on his shoulders, but for some reason it would not work for me and I now know why and have a workaround.

First you need an XMPP URI on a web page. Some thing like:

will when clicked in a browser that has the right helper, something OpenSolaris has had for some time, will take your IM client to that room. However with pidgin that is only the case if that room is available in the first XMPP server listed in your list of accounts. So given that this room is on Sun’s IM server with the list of accounts looking like this:

It will try and connect to the first XMPP server listed, which is google and hence fail. Changing the order to be:

and then logging in and out and now the link will work. You can drag and drip the entries in pidgin.


From → Solaris

  1. Calum Mackay permalink

    mmm, causes pidgin 2.5.5 to get a glibc malloc erorr "corrupted double-linked list" on my Linux box.
    I suppose you can’t be held responsible for that 🙂

  2. Upgrade to OpenSolaris 2009.06 and pidgin 2.5.5 works just fine. Upgrade to the dev build and you get pidgin 2.5.8 again a working copy.

  3. Calum Mackay permalink

    yup, indeed; that’s the plan. thanks.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: