TDE - T Desktop Enhancements

Karamba & Superkaramba

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:
TDE is an set of various karamba themes:

tcal - displays a calendar
tdisk - shows disk space usage of the first 9 mounted devices dynamically.
tmessage - Displays the last lines of a log file of your choice, default is /var/log/messages .
tnote - shows your own notes on your Desktop (change them by doubleclick)
tperf - shows performance information such as CPU-load, Memory usage and Network traffic
tpower - Shows temperatures, fan speeds and voltages (requires sensors)
twho - shows which users are logged in on your machine
tnetstat -shows outgoing connections and the applications that are connecting.

Tell me your opinion!


Requires:
superkaramba
kwrite (if not available change code in tnote.theme)
sensors (for full function of tpower)
Last changelog:

TDE 1.0

General:
- Second set of background images
- Graphics, minor corrections
- Icons
- Code clean up
- Optimized query intervals to reduce CPU load.

- TDisk now shows drives automatically. No further configuration required.
- TNetstat (new)
- TMessage is now configurable: You can set the log file you want to display by clicking the little screwdriver.
- Install script


Ratings & Comments

61 Comments

gglug

I modified the tperf theme to use less CPU time when it was running (~25% on a Athlon 4000+ to under 1%). The file is here http://www.revis.co.uk/site/?q=node/61 along with the method so that you can use it to modify other TDE theme files for less CPU use :)

gglug2

I have now modified this to support dual CPUs for my Macbook Pro :) You can get the updated version at http://revis.co.uk/site/?q=node/148 (screenshot added) There is also a version for PPC powerbooks at http://revis.co.uk/site/?q=node/115

roflcopter

I really like this widget.... I mainly use the system monitor (CPU and Memory). Very nice looking.

MikeM

I always wanted something like tmessage.theme ... I downloaded and adapted the code for my desktop. Now it rules, and it is excellent.

cioannou

As a newbie , I would also like to have an option showing me the attempts made from internet users to connect to my machine. Either they succeed or not. I am spoiled with Sygate personal firewall which was really easy to configure even with advanced rules. Is there a newbie way to do that? Txs

skip0110

Modify tperf.theme like this to make it work: # CPU # model name text x=113 y=15 sensor=program program="sysctl hw.model | sed -e 's/.*: //'" fontsize=9 align="center"

metallman

Thanks for doing TDE, I really like it. I had to update the program="..." in tnetstat.theme to get it to work correctly. Otherwise it would sometimes display ESTABLISHED instead of program name. I changed it to: netstat -p --numeric-hosts --ip 2>/dev/null | grep -vE '^.*-[[:space:]]*$' | grep -E '^(tcp|udp).*' | sed -e 's/.*:.*:\([^[:blank:]]*\).*\/\(.*\)/\1\t\2/' | sed -e 's/\(.*\)[[:blank:]]\(kmail\|konqueror\|kded\).*/\1\t\2/' | sort -u I also changed tdisk.sh to make it skip filesystems that was mounted with --bind: df -k -x none -x unknown | grep ^/ | grep -v '(proc|tmp|pts)' | head -n9 | awk '{print $5" "$6}' | nl -s" " -w1 > ~/.superkaramba/tdisk.txt And program="..." in tdisk.theme to sleep 1; grep ^1 ~/.superkaramba/tdisk.txt | cut -d' ' -f 3 and sleep 1; grep ^1 ~/.superkaramba/tdisk.txt | cut -d' ' -f 2 etc. Thanks again. // Erik

mhanse94

Beautifull! ...but i find the tcal theme a little useless, so i replaced "cal -m" with: "declare -i DAYINMONTH=$(date +%d) && cal -m | sed 's/[[:space:]]'$DAYINMONTH'[[:space:]]/\['$DAYINMONTH'\]/;s/[[:space:]]'$DAYINMONTH'$/\['$DAYINMONTH'\]/;s/^'$DAYINMONTH'[[:space:]]/\['$DAYINMONTH'\]/'" to get an [] around the actual day.

anonymous-hive

I took the liberty of adding the kernel version & KDE version to the space below the network monitor in T-perf theme. It balances the chip info that is at the top. To do this, add the following lines below the last in the "edit theme" file (tperf.theme): # This adds the Kernel version & KDE version you are running text x=30 y=160 value="Kernel:" color=0,0,0 fontsize=9 align="left" text x=62 y=160 sensor=program program="uname -r" color=1,1,1 fontsize=9 align="left" text x=150 y=160 value="KDE:" color=0,0,0 fontsize=9 align="left" text x=175 y=160 sensor=program program="kde-config --version | grep KDE | sed -e 's/.*: //'" line=1 color=1,1,1 fontsize=9 align="left" I got the idea & modified the code from the ubermon theme. You may want to play with the x= setting depending on the number of characters in your kernel version. Now if I could figure out how to keep the list of processes connecting out in tnetstat.theme to not run off the background when I'm bittorrenting w/ Azureus. Any ideas? BTW, kudos to Chip2003 for a great theme set. Dave

dmoore316

I took the liberty of adding the kernel version & KDE version to the space below the network monitor in T-perf theme. It balances the chip info that is at the top. To do this, add the following lines below the last in the "edit theme" file (tperf.theme): # This adds the Kernel version & KDE version you are running text x=30 y=160 value="Kernel:" color=0,0,0 fontsize=9 align="left" text x=62 y=160 sensor=program program="uname -r" color=1,1,1 fontsize=9 align="left" text x=150 y=160 value="KDE:" color=0,0,0 fontsize=9 align="left" text x=175 y=160 sensor=program program="kde-config --version | grep KDE | sed -e 's/.*: //'" line=1 color=1,1,1 fontsize=9 align="left" I got the idea & modified the code from the ubermon theme. You may want to play with the x= setting depending on the number of characters in your kernel version. Now if I could figure out how to keep the list of processes connecting out in tnetstat.theme to not run off the background when I'm bittorrenting w/ Azureus. Any ideas? BTW, kudos to Chip2003 for a great theme set. Dave

covux

I wrote a really little script to get harddisk temperature shown in tdisk section of TDE which actually rulez! example: http://www.virtualsneets.de/kenoby/x/snap.png howto: http://www.virtualsneets.de/kenoby/x/tdisk_temp_extension_how_to.txt script: http://www.virtualsneets.de/kenoby/x/hdtemp.sh have phun! bye covux

Selecter

tnote ignores new lines \n\n

theborg

Hello i have edit the tpower tehme for mbmon at cpu and gpu and the fan´s sorry for my bad englisch dl: http://www.grautier.info/temp/tpower.theme

vladvasiliu

I really like this theme, but I have the same problems with my sensors: my case and CPU temp/fan sensors have spaces in their name, so the theme won't show these.

Blackx

I have tehe same proplem have you any idea? cu P.S. Im german

baldrick

The theme doesn't seem to like spaces in the labels. So, just edit /etc/sensors.conf and remove the spaces (e.g. CPU Temp becomes CPUTemp). There also seems to be a problem with labels longer than 8 characters. Other than that ... this is awesome. HTH Baldrick

BruceCadieux

I ran sensors to get the out put of each individual sensor. The problem I seem to be having is any sensor with a space in it's name simpll will not load. I can get most of my voltage levels, and can get one temp reading that is labeled "temp" but I have several sensors that are labeled like, [b]CPU Fan[/b] or CPU Temp (AMD)[/b] they simply will not load. They work fine in gkrellm so I know it isn't a problem with the computer. Is there a way to fix it? I really like this application.

fher98

hi... how can I setup the temp variables to fit my hp pavilion 753n?? thanks

Sebastian132

And I don't have any var/log/messagusr file in my log-folder. Pretty strange...

Sebastian132

Hallo, I use the Mandrake Linux Community 10 and the tMessage doesn't show any Kernel-Messages. Why? The MessageWindow itself is visible, but it's empty....no Text inside ;-(

simmerz

I've just found a small issue with tcal - not a major one as it wont always happen, but take May 2004 as a good example. There are 31 days in the month, which start on a saturday. This given, means that day 31 will fall in week 6, in terms of lines, and so underneath the graphic border. I'm not sure of a good solution to this, as adding an extra line for the few times this would happen seems to be a bit too much. Unless it can generate itself based on the current month? Cheers Tom

simmerz

I've just installed tcal, but it didn't show days 1-4 of the month, and started on 5. This was because the grep only searches for several spaces. I changed the days section to: #Days: #1 text x=0 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b -2" #2 text x=25 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 4-5" #3 text x=50 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 7-8" #4 text x=75 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 10-11" #5 text x=100 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 13-14" #6 text x=128 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 16-17" color=255,0,0 #7 text x=155 y=0 sensor=program program="cal -m| egrep -v ' [0-9]{4}' | cut -b 18-20" color=255,0,0 which instead searches for a space and a 4-char number, which only the year can contain. Cheers, Tom

rhorn

Would it be possible to integrate tnote into the KNotes system that's already in place in KDE?

macewan

suse 9, kde 3.2 & superk 33 -- works beautifully :)

rfujimoto

Hey, a great collection! I had to make some minor adjustments to work with the tmessage.theme though... First, I changed the text property's width to 570 since long lines were running outside of the background image... ----- Secondly I ran into permission problems with tmessage as well, but if you use syslog-ng, you shouldn't be chmod'ing files.... just make a new log for you to tail. edit /etc/syslog-ng/syslog-ng.conf Add these lines: source src { unix-stream("/dev/log"); internal(); pipe("/proc/kmsg"); }; destination messagesusr {file("/var/log/messagesusr" group("wheel") perm(0640)); }; filter f_messagesusr { level(info..warn) and not facility(mail,news,cron); }; log { source(src); filter(f_messagesusr); destination(messagesusr); }; Then change the theme to tail /var/log/messagesusr This of course assumes you're in group wheel... Hope this helps someone...

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Karamba & Superkaramba from chip2003:

TGlas 0.0 - Preview and Idea collection!
chip2003
last update date: 22 years ago

Score 5.0

TMon liquid/keramik
chip2003
last update date: 22 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