Mathematics, philosophy, programming, in-line skating and everything in between. More about me…

My Blog

My Latest Tweets

Follow me on Twitter…
English | Czech
Choose your language. I write in English, but I translate most of my articles to Czech as well. Zvolte si jazyk. Píšu anglicky, ale většinu svých článků překládám i do češtiny.

Liferea Tray Icon Patch

I use Liferea (Linux Feed Reader) to read well over 40 RSS and Atom feeds. It starts automatically after I log in to GNOME and sits in the system tray all day. When any of my feeds are updated, Liferea shows the number of new items directly in the tray icon. So far so good. Trouble is, Liferea has a strange notion of what “new items” are…

Liferea somehow differentiates between “new items” and “unread items”. I must admit that I have never really found out what exactly makes “new items” new. Their number changes not only when new items arrive, but also when I open the program’s window. The changes seem to be unpredictable. I don’t doubt there is some cunning algorithm behind this, but I don’t even want to care about it. All I want to know is the number of unread items.

Unfortunately, Liferea normally displays the number of new items in the tray icon. This had bugged me for a while, until I decided to do something about it.

My small patch modifies Liferea to display the number of unread items in the tray icon. The number of new items is still shown in the tooltip, just in case :-)

Liferea tray icon Liferea tray icon (after my change)

I patched Liferea 1.4.26 since it is the current version in my Ubuntu 9.04. The bleeding-edge Liferea 1.7.2 is a bit different, so the patch would require some tweaking in order to be applied. Feel free.

November 29, MMIX — Linux. 1 comment.

1 comment Add your own…

(avatar) Vita June 29, MMX
Patch for Liferea 1.6.2: liferea-1.6.2-tray-unread.patch

Speak your mind

Allowed HTML tags are a, blockquote, em, code, li, ol, p, pre, strong, ul. Links to other comments in the form “[IV]” or “[4]” are detected automatically.