Tags

redhat
employment
ripple
interfaces
ncurses
ruby
refs
filesystems
retro gaming
raspberry pi
sinatra
3d printing
nethack
gcc
compiler
fedora
virtfs
project
gaming
vim
grep
sed
aikido
philosophy
splix
android
lvm
storage
bitcoin
projects
sig315
miq
db
polisher
meditation
hopex
conferences
omega
simulator
bundler_ext
rubygems
book review
google code in
isitfedoraruby
svn
gsoc
design patters
jsonrpc
rjr
aeolus
ohiolinuxfest
rome
europe
travel
brno
gtk
python
puppet
conference
fudcon
snap
html5
tips
ssh
linux
hardware
libvirt
virtualization
engineering expo
cloud
rpm
yum
rake
redmine
plugins
screencasting
jruby
fosscon
pidgin
gnome-shell
distros
notacon
presentation
rails
deltacloud
apache
qmf
passenger
syrlug
hackerspace
music
massive attack
crypto
backups
vnc
xsd
rxsd
x3d
mercurial
ovirt
qpid
webdev
haikus
poetry
legaleese
jquery
selenium
testing
xpath
git
sshfs
svg
ldap
autotools
pygtk
xmlrpc
slackware

Jun 13 2011 pidgin gnome-shell

Adding pidgin icon to gnome-shell status tray

While it's a great interface to the system, one thing I miss with the new gnome-shell (now being shipped by default with Fedora 15) is a system-tray status icon for Pidgin, my preferred IM and IRC client.

The current graphical notification, residing in the messages/notification area, doesn't quite cut it as that area auto-disappears and as I would like some persistently on the screen at all times, continuously flashing until I respond if I get a new message. I'm sure I could turn off the auto-disappearing feature, but I like that functionality the way it is.

Fortunately adding the icon back to the system status area in the upper right is trivial. Simply create the following directory

~/.local/share/gnome-shell/extensions/pidgin.status@gnome-shell.morsi.org

Then copy these two files in there

metadata.json

{
  "shell-version": ["3.0.2"], 
  "uuid": "pidgin.status@gnome-shell.morsi.org", 
  "name": "Pidgin Status Icon", 
  "description": "Integrates Pidgin Messaging Client into the status bar"
}

extension.js

// Creates a system status notification icon for pidgin

const StatusIconDispatcher = imports.ui.statusIconDispatcher;

// gnome-shell extension entry point
function main() {
    StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['pidgin'] = 'pidgin';
}

Then simply restart gnome-shell by pressing alt-f2 and typing r and hitting enter. Now you should see the Pidgin icon in the upper right!