Wednesday Sep 23, 2009

purple-url-handler and XMPP URLs

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:

xmpp:chrisg_fans@muc.im.sun.com?join

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.

Saturday Jun 21, 2008

Return of automatic status setting in IM

At last the rest of the bits of “gaim” that disappeared from Solaris when it moved to be “pidgin” have returned in Nevada build 92. I'm talking about “purple-remote” which is the program that replaces “gaim-remote” and thus allows me once again to set my away message using “utaction” so when I disconnect from my Sun Ray session my IM status is automatically set as well.

If you take the script that I wrote last time and do a global edit changing “gaim-remote” to be “purple-remote” it will work. Something I realise now but did not then was that you only need one ut-action command to handle both connection and disconnection so this will do it:

utaction -d "purple-remote 'setstatus?status=away&message=Away from Sun Ray'" -c "${HOME}/bin/sh/ut-where"


Monday Jul 23, 2007

Good Morning build 68

Build 68 has hit our Sun Ray server last week. Which was good news and bad news. The good news is that this gets us the new “pidgin” IM client. The bad news is that the build of pidgin does not contain the XMPP (aka jabber) plugins which renders it as much use as a chocolate Tea pot. The bug id is: 6577264. Not fixed in build 69.

Luckily it took seconds for some bright spark to have a version built from source. The config options are “CC=cc -disable-perl --disable-tcl –prefix=/blah”. Disabling perl is obviously goodness, but TCL is a pity but with it it just dumps core. Alas this version is not aware of the gnome-keyring.

Apart from that the build is good.

: estale.eu FSS 1 $; uname -a

SunOS estale 5.11 snv_68 sun4u sparc SUNW,Sun-Fire

: estale.eu FSS 2 $; 
 


Update: For those who are close to GMP I have built both SPARC and x86 copies of pidgin for Nevada. They can be found here ~cg13442/pidgin/$(uname -p)/bin

If you use the c-shell you have my deepest sympathies but they don't run to me giving a c-shell friendly path.

As with the one mentioned above they don't understand how to talk to the gnome keyring

About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today