Pidgin: Difference between revisions
 (Created page with "=== Installation ===  sudo apt install pidgin pidgin-otr  pidgin& === Configuration === * Tools > Preferences > Show system tray > Always * Tools > Plugins > [x] OTR")  | 
				|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
  pidgin&  |   pidgin&  | ||
=== Configuration ===  | === Configuration ===  | ||
==== General configuration ====  | |||
* Tools > Preferences > Show system tray > Always  | * Tools > Preferences > Show system tray > Always  | ||
* Tools > Plugins > [x] OTR  | * Tools > Plugins > [x] OTR  | ||
==== Account configuration ====  | |||
===== Google Chat =====  | |||
Use [https://github.com/EionRobb/purple-hangouts#readme this plugin], which you have to build yourself (which is easy):  | |||
 sudo apt-get install -y libpurple-dev libjson-glib-dev libglib2.0-dev libprotobuf-c-dev protobuf-c-compiler git make;  | |||
 cd ~/apps  | |||
 git clone https://github.com/EionRobb/purple-hangouts && cd purple-hangouts;  | |||
 make && sudo make install  | |||
Open pidgin and add an account.  You will now have Hangouts as an available login protocol.  Once you connect to the account, you will get a prompt requesting your oauth_code.  It will take you to a video explaining how to get it.  The steps are:  | |||
* Go to [https://accounts.google.com/AccountChooser/signinchooser?continue=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Fprogrammatic_auth%3Fhl%3Den%26scope%3Dhttps%3A%2F%2Fwww.google.com%2Faccounts%2FOAuthLogin%2Bhttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%26client_id%3D936475272427.apps.googleusercontent.com%26access_type%3Doffline%26delegated_client_id%3D183697946088-m3jnlsqshjhh5lbvg05k46q1k4qqtrgn.apps.googleusercontent.com%26top_level_cookie%3D1%26from_login%3D1%26as%3Dz7s3hj5heWb5lZU7-MizrtlPHUV-Qi1gUJznT7fxsyA<mpl=nosignup&btmpl=authsub&hl=en&scc=1&oauth=1&flowName=GlifWebSignIn&flowEntry=AccountChooser this account link] with devtools open.  | |||
* Grab the cookie value from devtools > Application > Cookies > https://accounts.google.com > oauth_code, and paste into Pidgin.  | |||
You can now do P2P OTR communication.  | |||
NOTE THAT GROUP CHAT IS NOT (YET) SUPPORTED.  I can't even get the account to show me the Google Chat rooms, unencrypted.  That means THIS IS BASICALLY A FAIL.  | |||
Latest revision as of 17:27, 13 April 2021
Installation
sudo apt install pidgin pidgin-otr pidgin&
Configuration
General configuration
- Tools > Preferences > Show system tray > Always
 - Tools > Plugins > [x] OTR
 
Account configuration
Google Chat
Use this plugin, which you have to build yourself (which is easy):
sudo apt-get install -y libpurple-dev libjson-glib-dev libglib2.0-dev libprotobuf-c-dev protobuf-c-compiler git make; cd ~/apps git clone https://github.com/EionRobb/purple-hangouts && cd purple-hangouts; make && sudo make install
Open pidgin and add an account. You will now have Hangouts as an available login protocol. Once you connect to the account, you will get a prompt requesting your oauth_code. It will take you to a video explaining how to get it. The steps are:
- Go to this account link with devtools open.
 - Grab the cookie value from devtools > Application > Cookies > https://accounts.google.com > oauth_code, and paste into Pidgin.
 
You can now do P2P OTR communication.
NOTE THAT GROUP CHAT IS NOT (YET) SUPPORTED. I can't even get the account to show me the Google Chat rooms, unencrypted. That means THIS IS BASICALLY A FAIL.