February 8, 2017

Use Google Hangouts With Extra Features In Pidgin With Purple Hangouts Plugin (Ubuntu PPA)

Purple Hangouts is a libpurple plugin which adds support for the proprietary protocol that Google uses for its Hangouts service.

Using it, you can get extra Google Hangouts features that aren't available through the XMPP interface in Pidgin and other applications that use libpurple.

Among the extra features (compared to using XMPP) provided by Purple Hangouts are group chats, self messages, synchronized history between devices and SMS support via Google Voice.

You can see a feature comparison between using Google Hangouts in Pidgin via XMPP and using the Purple Hangouts plugin, HERE.


To use it (after installing the plugin, obviously - see below) in Pidgin select Accounts > Manage Accounts, click "Add" and from the "Protocol" drop-down, select "Hangouts":


Then enter your username and click "Add".

For authentication, Purple Hangouts uses Google OAuth, and upon adding your username in the Pidgin Hangouts settings and clicking "Add", an authentication box should pop up and a new page should open in your default web browser, asking you to authorize the application with Google.

After authorizing it, a code is displayed in the web browser. Copy this code and paste it into the Pidgin authorization box:


That's it!

Tip: install Unicode Emoji for Pidgin. 

For a complete experience, I recommend installing Unicode emoji for Pidgin. Download unicode-emoji from HERE (click "Download ZIP" in the top right) and extract the downloaded archive in the ~/.purple/smileys/ folder (if it doesn't exist, create it).

Once installed, restart Pidgin, go to Tools > Preferences and on the Themes tab, select "Hangouts" for "Smiley Theme":




Purple Hangouts is not considered stable yet, so you'll find missing or incomplete features and bugs. Report any bugs you may encounter @ BitBucket.


Install Purple Hangouts in Ubuntu via PPA


Ubuntu, Linux Mint (and derivatives) users can install Purple Hangouts by using the main WebUpd8 PPA. To add the PPA and install Purple Hangouts, use the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install purple-hangouts pidgin-hangouts
 
If you don't want to add the PPA, grab the deb files from HERE (you'll need both purple-hangouts and pidgin-hangouts).

Purple Hangouts is also available in a Fedora Copr repository. Arch Linux users can install Purple Hangouts via AUR.

See the Purple Hangouts BitBucket page for source and installation instructions for other Linux distributions as well as Windows downloads.


Source: http://www.webupd8.org/2016/04/use-google-hangouts-with-extra-features.html