google chat in irssi

When I’m AFK, I like to have irc PMs forwarded to google chat on my phone. However, when I’m at my laptop, I don’t want to have to type google chat messages into my phone. (And I certainly don’t want to have to open up firefox for that).

Luckily, it’s trivial to use google chat over irssi! It actually took me a few minutes to figure out some of the details, because noone seems to describe exactly how they do it. So here goes:

Install the xmpp irssi plugin. On ubuntu, just “sudo apt-get install irssi-plugin-xmpp”. Start up irssi, and load the plugin with “/load xmpp”. (Or you can put that into ~/.irssi/startup).

To log in, use “/xmppconnect -host talk.google.com user.name@gmail.com yourpassword”. You can see who is on with “/roster”. Then to talk with someone, say “/query other.name@gmail.com”. That’s it!

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

9 Responses to google chat in irssi

  1. I’m interested, how you get PMs forwarded to Gtalk/xmpp ?

  2. Ah, I run irssi with irssi_proxy on my server, looks like i’ll have to write a script 🙂

  3. Patrick O'Connor says:

    Worked great, thank you!

  4. anon says:

    How can you toggle between chats?

    • anon says:

      just with /query again, ok but what if you want to run /roster again? it just doesnt happen.

      • s3hh says:

        Sorry I’ve not touched this since google chat went away. I’ve considered having my own xmpp server but haven’t bothered setting one up.

      • anon says:

        I’m using it right now since hangouts also uses the same protocol, and figured out that if you type just : ‘/query’ you drop to the main window and you can change server with ^X or type /roster again or /query someone.

  5. s3hh says:

    Neat – that sounds useful.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s