TDE - T Desktop Enhancements

Karamba & Superkaramba

Source (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
Score 64%
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:

15 years ago

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

gglug

12 years ago

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 :)

Report

gglug2

11 years ago

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

Report

roflcopter

12 years ago

I really like this widget....

I mainly use the system monitor (CPU and Memory).

Very nice looking.

Report

MikeM

14 years ago

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

Report

cioannou

14 years ago

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

Report

skip0110

14 years ago

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"

Report

metallman

14 years ago

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

Report

mhanse94

14 years ago

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.

Report

anonymous-hive

14 years ago

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

Report

dmoore316

14 years ago

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

Report

covux

14 years ago

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

Report

Selecter

14 years ago

tnote ignores new lines \n\n

Report

theborg

14 years ago

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

Report

vladvasiliu

14 years ago

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.

Report

Blackx

14 years ago

I have tehe same proplem have you any idea?

cu

P.S. Im german

Report

baldrick

14 years ago

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

Report

BruceCadieux

14 years ago

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.

Report

fher98

14 years ago

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

thanks

Report

Sebastian132

14 years ago

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

Report

Sebastian132

14 years ago

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 ;-(

Report

simmerz

14 years ago

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

Report

simmerz

15 years ago

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

Report

rhorn

15 years ago

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

Report

macewan

15 years ago

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

Report

rfujimoto

15 years ago

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...

Report

15 years ago

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

product-maker 142 257

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
updated Jun 21 2004
added Dec 15 2003
downloads today
0
page views today 3