Notices


Reply
Thread Tools
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#1
Conky build 1.1 is now available in extras-testing for fremantle.



It looks like this (thanks to rcull for his config tweaks):


The default conky.conf is installed in /etc/conky/conky.conf. There is a conky.sh launcher script invoked by the desktop file that launches conky with /home/user/MyDocs/conky.conf if that config file exists, otherwise it reverts to the default. The default conf uses the droid fonts, so those are installed as a dependency. It is all optified.

Conky doesn't run as a widget, yet, just as a regular application.

Change log
conky (1.6.1-0maemo5-1.1) freemantle; urgency=low
Fixed broken install of default conky.conf in /etc/conky/
Using conky.conf from rcull, with some tweaks.


conky (1.6.1-0maemo5-1.0) freemantle; urgency=low
debian/control file now contains BugTracker URL.
debian/control contains updated description.
First release build for extras.


conky (1.6.1-0maemo5-0.8) freemantle; urgency=low
Desktop file now runs launcher script.
Launcher script (conky.sh) now launches with conky.conf from
/home/user/MyDocs/ if found, otherwise defaults to
/etc/conky/conky.conf.
Default conf now properly aligns the filesystem bars.
Default conf now hides info for MyDocs and mmc1 when they are unmounted.
Default conf now masks properties for gprs0 and wlan0 when they are not
connected.


Edits
Mon 21st Dec 2009. Edited for build 1.1
Tue 22nd Dec 2009. No more votes needed for build 1.1
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.

Last edited by fnordianslip; 2009-12-22 at 10:56. Reason: No more votes needed for package in extras-testing
 

The Following 32 Users Say Thank You to fnordianslip For This Useful Post:
d-iivil's Avatar
Posts: 2,154 | Thanked: 2,186 times | Joined on Dec 2009 @ Hellsinki, Finland
#2
Nice one
 
Posts: 271 | Thanked: 220 times | Joined on Sep 2009
#3
wow, great app!
 
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#4
Originally Posted by fnordianslip View Post
You can tweak/replace the installed conky.conf, or you can put your own somewhere else (i.e. ~/.conky.conf) and edit (or clone/modify) the desktop file in /usr/share/applications/hildon/conky.desktop.
Thanks! Now for getting it as an overlay on the desktop...

Anyway: How did you get the file system bars even like that? Mine all have different lengths and it looks bad, since the left margin isn't straight.

I managed to fix it by adding / removing spaces in the conf file, but that won't keep it good looking for much longer, when the usage numbers change...
__________________
Read about my N900 experiences from my blog.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#5
Originally Posted by jaysire View Post
Thanks! Now for getting it as an overlay on the desktop...

Anyway: How did you get the file system bars even like that? Mine all have different lengths and it looks bad, since the left margin isn't straight.

I managed to fix it by adding / removing spaces in the conf file, but that won't keep it good looking for much longer, when the usage numbers change...
Ah, the file-system bars. Yep, I cheated with spaces as well

All suggested tweaks to the default conky.conf considered. I suppose I should put a launcher script in the package that checks for a local ~/conky.conf and uses that instead of the default if one if present.

When it gets into extras, we can run the traditional "Post your conky" thread
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.

Last edited by fnordianslip; 2009-12-18 at 22:58. Reason: Typo
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#6
Aha.

Found a solution to the fs bars here.

That bit of my conky.conf now looks like:
Code:
${color grey}rootfs    $color${fs_free /}/${fs_size /} ${color grey}free $alignr  $color${fs_bar 8,440 /}
${color grey}home      $color${fs_free /home}/${fs_size /home} ${color grey}free $alignr  $color${fs_bar 8,440 /home}
${color grey}MyDocs    $color${fs_free /home/user/MyDocs}/${fs_size /home/user/MyDocs} ${color grey}free $alignr  $color${fs_bar 8,440 /home/user/MyDocs}
${color grey}mmc1      $color${fs_free /media/mmc1}/${fs_size /media/mmc1} ${color grey}free $alignr  $color${fs_bar 8,440 /media/mmc1}
Notice the double space after alignr. it is actually the first space that gets right-aligned, shoving the bar up against the edge of the window.

I'll tweak the default conf in the next package version.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 

The Following 2 Users Say Thank You to fnordianslip For This Useful Post:
Posts: 377 | Thanked: 97 times | Joined on Dec 2009 @ US
#7
Very geeky. And I don't mean that in a bad way. Seems to work well on my n900, and I will likely keep it.

I'll still stick to top and df, but this app is nice for a quick overview.

I'd vote on it, but I don't really have the motivation to sign up to another part of the maemo.org domain.

Either way, thank you.
 

The Following User Says Thank You to That One Guy For This Useful Post:
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#8
I made my own tweak: A battery percentage line. I put mine on a separate line, but I guess some people would want it at the top with the cpu monitor...

Anyways, here's my addition to conky.conf (I put it before the CPU Usage -line):

${color grey}Battery: $color ${head /home/user/batterylevel 1}%
It simply outputs the first line from the file /home/user/batterylevel, so no exciting connection to a battery-deamon here. I don't think any of Conky's built in battery commands work.

To make /home/user/batterylevel contain the actual battery level, I made the following shell script:

#!/bin/sh
while :
do
lshal | grep battery.charge_level.percentage | awk '{print $3}' > /home/user/batterylevel
sleep 120
done
This one stores the battery charge level in the file /home/user/batterylevel every 120 seconds.

I haven't extensively tested it yet, but it seems to work for me. I also made an init-script for /etc/init.d that launches it at start (you have to symlink it from rc2.d), but I won't start spreading that before I see that there aren't any big problems with this.

Please don't use conky's "exec" to run lshal directly, since both exec and lshal are very resource intensive and will require about 40% cpu all the time just for showing you your battery level!

I would've done this with crontab instead, but there is none and very little information about alternatives that work.
__________________
Read about my N900 experiences from my blog.
 

The Following User Says Thank You to jaysire For This Useful Post:
Posts: 86 | Thanked: 10 times | Joined on Nov 2009
#9
working good. nice and useful app.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#10
Originally Posted by Dak View Post
Good job!

This is a useful app to me. Thanks for making it
Just so you know, I didn't write it myself. Thanks for the thanks though.
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Reply

Tags
conky


 
Forum Jump


All times are GMT. The time now is 14:38.