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

16 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

rfujimoto

17 years ago

I can't edit... I forgot to mention, the changes above assume you have the facilities already defined... but if you don't, a little bit of hacking should work in the filter directive

Report

L0rclA5CII

17 years ago

Minor suggestion for the "My Notes" theme. Instead of using "cat", I've found using "fold -w 28 -s" works a lot better. Definite improvement with longer notes.

Report

C

chip2003

17 years ago

Thanks for you idea. I think, I've found an even better solution (since you get lots of lines more when using fold). It'll be part of TDE 1.0, which I'm going to release in a couple of days. But hey, thanks for your suggestion!

Regards, Chip

Report

robomort

17 years ago

This theme rocks. But I have a small problem.
In the monitoring area I can get the voltages to display OK but not fan speeds or temperatures. Running sensors in a terminal yeilds meaningful figures.
I have tried subsituting label"fan2" with fan2 "CPU Temp" and of corse similarly for case fan and temp.
I am at a loss as to what is going on here. Any ideas? BTW the chipset is VIA 686a and monitoring via ISA buss.

here is a copy of the terminal output it may be of some use ?

Thanks
Rob

linux:~ # sensors
max1617-i2c-0-18
Adapter: SMBus Via Pro adapter at 5000
Algorithm: Non-I2C SMBus adapter
Board: +0

Report

robomort

17 years ago

Don't worry I found a solution in another thread.

Re: Re: Sensors Issue
by minkiux on: 08/12/2003, 4:30
I've found the settings for via686a-isa-6000!!!

You must change /etc/sensors.conf in this way:

- search chip "via686a-*" section
- comment (with #) lines that report labels for temp1, temp2, etc...

OK, that's work!!

anyone else having probs with settings take a look at the tmon page here http://www.kde-look.org/content/show.php?content=6977

Report

C

chip2003

17 years ago

Ok, that sounds good ;-)

Chip

Report

Savagearth

17 years ago

I would like to know how to make tcal start on sunday.

Nice job man.

Report

C

chip2003

17 years ago

Hi,

thanks! tcal uses the normal 'cal' shell command. Take at the code of tcal.theme, theres a couple of lines containing 'cal -m' ...
The '-m' stands for monday as the first day of the week (cent. european). Just remove '-m' in each of these lines and it should be ok. (The background image will stay as it is).

I'm going to publish two versions of tcal with the next version, one for central european users an one for US/UK users (first day = monday).

Regards, Chip

Report

Savagearth

17 years ago

I have already try that, the problem is the calendar number is 1 row offset up. I'm maybe not clear on that but try it you'll see what I mean.

Thanks to answer me.

Report

C

chip2003

17 years ago

I'sorry, I don't know what you mean. I substituted "cal -m | grep -v ' ' | cut -b -2" (first day of tcal) by "cal | grep -v ' ' | cut -b -2" and it did work. Did you try the line above directly in a shell? if yes, try a higher value at the "cut" command at the end (3 or 4 instead of 2). Or try to leave "| grep -v ' '" away.

Regards, Chip

Report

whitewolf

17 years ago

For Mandrake 9.1 users, I have gotten the log file working. (if you haven't already) Just log off and restart x. Once you are back in, open up a terminal and then do a chmod 744 /var/log/messages. Reload the logbar and boom, it worked. :o (if only i knew this hours ago that it only needed a reboot)

Report

whitewolf

17 years ago

However, chmod does not last. After about 10 minutes of reporting the log, the permissions go back to root only. I had to redo the theme myself by adding a chmod 744 /var/log/messages to keep it reporting the logs continuously. Anybody needing a copy of the redone theme, can contact me. Thanks

Report

whitewolf

17 years ago

I installed this theme and wanted to use the TMessage. It displays nothing. I tried doing the chmod 744 /var/log/messagusr in Mandrake 9.1 and it said file not found. Is there a different location that I should be using in this distro or something? Someone please help.

Report

C

chip2003

17 years ago

You're right, the correct path is /var/log/messages.

Chip

Report

whitewolf

17 years ago

Still having a problem. Nothing displays, and I did change the path to /var/log/messages. I then did a chmod 744 /var/log/messages. I even tried opening /var/log/messages in KWrite and there is nothing. Any ideas?

Report

C

chip2003

17 years ago

Hi,

are you sure, that /var/log/messages exists? Maybe mandrake systems collect the kernel messages somewhere else...? (I don't know Mandrake at all, on SuSE it works).

Maybe you should do a 'find / -name messag*' to find out where it is. Or - even better - ask someone who's fit with mandrake linux ;-)

Regards, Chip

Report

deadbabylon

17 years ago

On my system (Debian woody) the calender does not work. How can I fix this?

Report

C

chip2003

17 years ago

Ok, have a look at the code of tcal.theme.
There's some shell commands that gets the calendar info:
cal -m| grep -v ' ' | cut -b -2

Try if the commands 'cal' and 'cut' (and grep also) are available on your machine.

If yes, try the complete command string 'cal -m| grep -v ' ' | cut -b -2' and look what happens.

Regards, Chip

Report

deadbabylon

17 years ago

Hi, this is the result:

PC01:/# cal -m| grep -v ' ' | cut -b -2
cal: Ung

Report

C

chip2003

17 years ago

Try it without the '-m' (just cal | ...)
The -m is just to show the week beginning with Monday instead of Sunday (US/UK). This should work then.

Regards, Chip

Report

deadbabylon

17 years ago

Sorry for the bad description.
The sheet is there but without the dates.

(Sorry for my bad english)

Report

udo

17 years ago

Hi,

I had the exact same problem, myself is running debian sid/unstable/testing and I had no dates on the sheet as well.
The option -m does not exist for debian's cal command, so this should do the job:

#Month
text x=110 y=22 sensor=program program="cal |grep ' '|grep ' 20'|sed 's/ //'" align="center" shadow=1 bgcolor=100,100,100

x=44 y=45
#Days:
#1
text x=0 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b -2"
#2
text x=25 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 4-5"
#3
text x=50 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 7-8"
#4
text x=75 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 10-11"
#5
text x=100 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 13-14"
#6
text x=128 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 16-17"
#7
text x=155 y=0 sensor=program program="cal | grep -v '[A-Z][a-z][a-z][a-z]*' | cut -b 18-20"

Report

huru

17 years ago

Maybe you're missing 'cal' command line tool?

Report

Peman

17 years ago

Hey, nice theme man.
Lets find out a way, to mark
the current day in the cal theme.
It would be nice...

Mach weiter so!

Report

huru

17 years ago

That would be nice addition :)

Really nice work!

Report

16 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

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Jun 21 2004
added Dec 15 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0