Gmail + Conky

The_Techie

Resident Techie
Joined
Dec 26, 2006
Messages
11,242
Reaction score
84
Location
Netherlands
Disclaimer: This is aimed at people relatively new to Linux, such as myself. Experts should already know this.

I found an awesome Python script for use with Conky here, which will show you how many unread gmails you have.

This works fine, unless you're like me with millions of labels and auto-archiving filters in place. The problem is that they only fetch your unread emails in your inbox itself, once you archive an unread item it won't be recognized by this script.

Easy fix though, just change this:

com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom --no-check-certificate"

to this:

com="wget -O - https://"+username+":"+password+"@mail.google.com/mail/feed/atom/unread --no-check-certificate"

The end result is something like this :)
 
Top
Sign up to the MyBroadband newsletter
X