Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
I got tired of running yum or yumex on my own every few days just to see that there weren't any updates waiting for me. So I developed this superkaramba widget to do it for me. This will poll yum every hour (or on demand if you click refresh) and give you a list of available updates.

Please let me know if you find any bugs or would like any particular additions to the widget. My only plans for the widget after this current build are to add checkboxes to allow particular packages to be selected for update and to display error messages.

Also, if you are voting bad, please tell me why so I can make this widget better. I can't fix problems with the tool if I don't know what they are ;-).

*************************************
NOTE: You must be setup in your /etc/sudoers file to be able to run yum or else you can only use this widget as root.
Last changelog:

********************************
v0.1:

-Initial release
-Automatically refreshed every hour
-On demand refresh button

********************************
v0.2

-Added vertical scroll for package list
-Fixed positioning of "System up to date" message

********************************
v0.3

-The update button now works. Keep in mind this will update ALL packages. I am working on adding check boxes to select particular packages for update.


Ratings & Comments

5 Comments

Shulyaka

Hello! I'v got sudo configured properly, but the Monitor doesn't work. It's strange. The '~/.yumtemp' file is always empty. If I run "sudo yum list updates | grep -A 100 'Updated Packages' | awk '{print $1}' > ./.yumtemp.txt" manually it would work as expected. I'v wrote a test script to test python and it worked well: #!/usr/bin/python import os os.system("sudo yum list updates | grep -A 100 'Updated Packages' | awk '{print $1}' > ./.yumtemp.txt") But why doesn't this code work in the Monitor? I tried to change 'pollYumCmd = "sudo yum list updates ...' line to 'pollYumCmd = "echo $USER > ./superkaramba_user.txt"' in yummonitor.py file and it returned my normal username to superkaramba_user.txt file, so Yum Monitor is run as normal user. Please help, I'm confused.

Shulyaka

I'm sorry. I should have read previous post more carefully. I forgot to comment requiretty line. Now it works! Thanks for the great theme!

Yves

Thanks for it! I just have to update my sudo configuration with the following parameters : - comment the line : Defaults requiretty - add the line : natyves2 localhost=NOPASSWD:/usr/bin/yum My distribution is FC6, disable 'requiretty' is mandatory to avoid the message : “sudo: sorry, you must have a tty to run sudo” Thanks Yves

LaTouf

thanks for this ! really good just one thing : isn't it possible to allow kind of "view-only" mode in which you don't have to be log as root ? ( yum check-update doesn't need root access ... )

rowancompsciguy

Yes, that's a very good idea. I will try and add this to the next release. Thanks!! :-)

Pling
0 Affiliates
Details
license
version v0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

More Karamba & Superkaramba from rowancompsciguy:

Shiny Liquid Weather Backgrounds
rowancompsciguy
last update date: 17 years ago

Score 5.0

Digital Klock
rowancompsciguy
last update date: 18 years ago

Score 5.0

Slashdot RSS Reader
rowancompsciguy
last update date: 18 years ago

Score 5.0

Battery Monitor
rowancompsciguy
last update date: 18 years ago

Score 5.0

Other Karamba & Superkaramba:

Evolution Task Theme (for Karamba)
L0rclA5CII
last update date: 22 years ago

Score 5.0

Karambaqua
manor
last update date: 22 years ago

Score 5.0

Karamba Print Queue Monitor
Praxxus
last update date: 22 years ago

Score 5.0

The DarkGirl wallpaper and Karamba theme
xray
last update date: 22 years ago

Score 5.0

TecnoBar for Karamba
ZIOlele
last update date: 22 years ago

Score 5.0

Karamba Ink Level Monitor
Praxxus
last update date: 22 years ago

Score 5.0