Gajim without automatic emoticons / 2017-03-25

2017-03-25 Gajim without automatic emoticons
For some circles I am active in the chat system of choice is jabber because it can be setup to demand encrypted links and has a nice array of client software which can deal with one client replacing the connection of another.

So I found gajim as client software for linux. But gajim has the habit of automatically changing text emoticons to images. I don't like that, if someone types (bf888) I want to see that and not have the last 8) replaced by an image of an emoticon with glasses.

Searching for a solution found Emoticons - Wiki gajim/gajim which states:
You are free, however, to disable emoticons completely, if you find them disturbing.
But no information on how to disable them all. I found in the advanced settings the option emoticons_theme which points at subdirs of /usr/share/gajim/data/emoticons in my installation (ubuntu). So I created a directory none with none/emoticons.py containing:
# coding=utf-8
emoticons = {
        'doesnotexist.png': ['fDpK6OGDFCCLmq5MNjihfpjZuLontjkWp5XG5V7wTIAVXwaJ'],
}
Leaving the list empty with just {} gave an error. My python knowledge is nonexistant so I took this shortcut.

And now a :-) stays a :-) as I wanted.

Tags: ,

IPv6 check

Running test...
, reachable as koos+website@idefix.net. PGP encrypted e-mail preferred. PGP key 5BA9 368B E6F3 34E4 local copy PGP key 5BA9 368B E6F3 34E4 via keyservers

RSS
Meningen zijn die van mezelf, wat ik schrijf is beschermd door auteursrecht. Sommige publicaties bevatten een expliciete vermelding dat ze ongevraagd gedeeld mogen worden.
My opinions are my own, what I write is protected by copyrights. Some publications contain an explicit license statement which allows sharing without asking permission.
Other webprojects: Camp Wireless, wireless Internet access at campsites, The Virtual Bookcase, book reviews
This page generated by $Id: newsitem.cgi,v 1.57 2022/02/15 21:48:18 koos Exp $ in 0.006698 seconds.