A Linux Blog by Eduard Dopler

Monochrome Elementary Tray Icons for Pidgin

Tray icons for Pidgin matching monochrome Elementary ThemeMatching the nice Elementary-Theme there are also Icons for Pidgin (via). Sadly, monochrome icons for the statustray are missing. But with a small script you can link the IM standard icons out of the theme for the use with Pidgin’s tray.

#Link elementary-themed icons to pidgin tray
sudo mkdir /usr/share/pixmaps/pidgin/tray/hicolor/22x22/status/elementary
cd /usr/share/pixmaps/pidgin/tray/hicolor/22x22/status/elementary
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-available.svg ./pidgin-tray-available.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-away.svg ./pidgin-tray-away.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-busy.svg ./pidgin-tray-busy.png
sudo ln -s $HOME/.purple/themes/elementary/purple/status-icon/22/log-in.svg ./pidgin-tray-connect.png
sudo ln -s /usr/share/icons/elementary/status/22/indicator-messages-new.svg ./pidgin-tray-email.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-invisible.svg ./pidgin-tray-invisible.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-offline.svg ./pidgin-tray-offline.png
sudo ln -s /usr/share/icons/hicolor/22x22/actions/im-message-new.svg ./pidgin-tray-pending.png
sudo ln -s /usr/share/icons/elementary-monochrome/status/24/user-idle.svg ./pidgin-tray-xa.png
for i in pidgin-tray*.png; do if [ ! -f ../$i.bku ]; then sudo mv ../$i ../$i.bku; fi; sudo ln -sf `pwd`/$i ../$i; done

This script creates a folder named “elementary” in the tray directory of Pidgin. Afterwards in this new folder it links the tray icons of the Elementary Theme which I found fitting for the particular action. These link files are then moved to the parent directory where Pidgin takes his tray icons from.
The last script line creates backups of the files which are going to be overwritten (first run only).


  • The Elementary Pidgin Icon Theme and the Elementary Desktop have to be installed. For the latter there is a package called elementary-theme in the PPA elementaryart.
  • It is possible that our new Pidgin tray icons are overwritten after an update. In this case you have to run the script again. Maybe you just try the last line in the 22x22/status/elementary directory.
  • Tip: Copy the script to that directory and leave it there along with the created symbolic links.
  • If you use an icon size different to 22×22, you have to change that in the script, of course.

monochrome Pidgin tray in use


elementarypidgin.sh (1.2KB text/plain) or
elementarypidgin.sh.gz (0.4KB application/x-gzip)

[ This blog entry is also available in German. ]

Tags: , , ,

Leave a Reply