Tiny Theme

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:

first version of my karamba theme.
shows:
- hostname, kernelversion, uptime
- processortype, speed, temperature, cpu usage
- used/av ram/swap/hd
- current download/upload
- new mails
- date/time
- actually played song in xmms
- control for xmms

Velayo

16 years ago

Thank you for your prompt response I'm linux challenged, so please bear with me.

What do you mean "make the mail... excutable? How? What path do I have to change? I did entered my mail data. Nothing is shown besides the names of the accounts

Report

C

cschroeti

16 years ago

there is a script, which checks your mails in the theme-directory.

so you have to change the lines, which look like this
"text x=85 y=5 sensor=program program="/path/to/mails_pop3.pl server username password" color=0,0,0 "
in the mail-section to fit the path of your mailscript. (/path/to/ has to be replaced with the way to mails_pop3.pl)

to make the mailscript executable, you have to run a "chmod +x mails_pop3.pl" within the theme-directory.

Report

Velayo

16 years ago

How do I change the time so that it displays 12 hours periods instead of 24

now 15:30:00 want 3:30:00

Report

C

cschroeti

16 years ago

change the format-tag in the timesection to format="h:m:s ap" and it will give you what you want.

Report

Velayo

16 years ago

This theme is great, for one it blends with the nuvola icon theme I have in my computer. Second it doesn't use too much space. Its got everything I can think of in un simple theme.

I did basically what you said with the mail and still can't get it to work. Second what program or command do I need to get the temperature of my cpu to display. I had to change the size of the fonts so that they didn't look one on top ot the other, but with the swap ram I can't get it to look properly.

Report

C

cschroeti

16 years ago

have you made the mailscript executable? have you changed the path to it? have you entered your mail-data? is there anything shown next to the names of your accounts?

for this temperature you need working acpi. the theme simply does a cat /proc/acpi/thermal_zone/THRM/temperature
if you have no working acpi, this won't work. have a look at http://karamba.sourceforge.net/?a=docs/sensors#sensor
perhaps you can figure out, if this will work for you. i don't use that, because it didn't work for me.

Report

zoroaster1982

16 years ago

I installed the theme. It works great. Everything is perfect.
It just seems like I don't have the fonts you use. And I took a look at the theme file, but I could not figure out how to set the mail accounts. I'm going to use three of them.
Please help.

Thanx.

zoroaster1982

Report

C

cschroeti

16 years ago

there in the mail section you find two points - one for the first account and one for the second. if you want to use a third, simply add such a section for this account. then you have to adjust the y values to 35.
to enter your name/password/server edit the lines, which look like this:

text x=85 y=20 sensor=program program="./mails_pop3.pl server username password" color=0,0,0 fontsize=12 font="nimbus sans l" interval=20000

and replace server,username and password with your values.

Report

zoroaster1982

16 years ago

This is what I did,
#Account1
text x=40 y=5 value="ZFN" color=0,0,0 align=left fontsize=10 font="nimbus sans l"
text x=85 y=5 sensor=program program="./mails_pop3.pl mail.informatik.uni-bremen.de amirkh meinpasswort" color=0,0,0 fontsize=10 font="nimbus sans l" interval=15000

#Account2
text x=40 y=20 value="amiroo-online.de" color=0,0,0 align=left fontsize=10 font="nimbus sans l"
text x=85 y=20 sensor=program program="./mails_pop3.pl mail.amiroo-online.de web934p1 meinpasswort" color=0,0,0 fontsize=12 font="nimbus sans l" interval=20000

#Account3
text x=40 y=35 value="sitesforadvertise.com" color=0,0,0 align=left fontsize=10 font="nimbus sans l"
text x=85 y=35 sensor=program program="./mails_pop3.pl mail.sitesforadvertise.com web395p1 meinpasswort" color=0,0,0 fontsize=12 font="nimbus sans l" interval=18000


..and it is still not workin. I changed the intervals, nothing happend.
I thought it is maybe because ./mails_pop3.pl is not executable. I made it executable and still no changes.

Have an idea?

Report

C

cschroeti

16 years ago

yeah, my mistake.
i had a second copy of the mail-script in my home-dir, so it worked for me this way.
you have to make the script executable and change the paths to fit the location of the script.
for example in my case i had to change

./mails_pop3.pl
to
/home/schroeti/.superkaramba/Themes/tinytheme/mails_pop3.pl

i'll fix the theme.
thanks.

Report

zoroaster1982

16 years ago

Thanx a lot. now it's working.
Keep your work up.

Report

zoroaster1982

16 years ago

I have to say, I was looking for karamba themes with all the feutures like this, but they where all too big or I had to used several themes to get the feutures I neede. But this one is great!
I haven't dl it, yet. But I will do it now ;-)
Thanx in advance.

Keep it up.

Report

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 Sep 17 2004
added Sep 16 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1