PVA – Archives

Sưu tầm những bài viết hay trên internet…

Tag Archives: Conky

check gmail script for conky

My script: import os import string #Enter your username and password below within double quotes # eg. username=”username” and password=”password” username=”your-username” password=”your-password” com=”wget -q -O – https://”+username+”:”+password+”@mail.google.com/mail/feed/atom –no-check-certificate” temp=os.popen(com) msg=temp.read() index=msg.find(“<fullcount>”) index2=msg.find(“</fullcount>”) fc=int(msg[index+11:index2]) if fc==0: print “0 new” else: print fc,” email(s) from” for i in range(1,fc+1): # run for every new email message # [...]

Set the battery in conky correctly

from: http://linuxinside.blogspot.com/2008/03/set-battery-in-conky-correctly.html Configure the battery at Conky can be a nightmare looking for this solution at web ‘cus there isn’t very information about it. I already had this problem… ACPI battery number is given as argument, at ‘funtions’ battery, battery_bar andbattery_percent. By default the argument is BAT0. But if it doen’t work, let’s find out the correct argument: Open [...]

Conky – xfce – multiple instances

From: http://crunchbanglinux.org/forums/topic/7066/conky-multiple-instances/ Q: Running Statler Xfce I notice that sometimes when checking xfce-taskmanager, that there are multiple (2-4) instances of Conky running. Is this normal for the app? A: I used to get this with xfce before shifting to #! 0.04.01. It might be a session management issue. If conky is in some kind of autostart script [...]

Follow

Get every new post delivered to your Inbox.