Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#31
It looks very interesting. But with such (apparent) fine-grained sampling, isn't there a risk that the monitoring application itself will take the OMAP3 SoC out of its best power-saving modes? Can someone reassure me here?
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#32
Originally Posted by TA-t3 View Post
It looks very interesting. But with such (apparent) fine-grained sampling, isn't there a risk that the monitoring application itself will take the OMAP3 SoC out of its best power-saving modes? Can someone reassure me here?
The sample rates can be adjusted to a degree with "update_interval" which is currently set to 3.0 secs.

It seems as though running conky places less load on the CPU than running htop (but more than top) in xterm, so I still think it is reasonable.

However, in general, I can offer no such reassurances. I don't advocate running conky continuously on your device if you are concerned about power consumption (which we all are, of course). This is part of the reason why I haven't yet attempted to widgetise it - I don't think I'd want it eating cycles on my desktop continuously. The other part of the reason I haven't widgetised it yet is, of course, down to my incompetence
__________________
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-21 at 14:18.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#33
You should be able to create multiple startup Icons that Launch Conky with different Config files, ehh?
 
Posts: 95 | Thanked: 47 times | Joined on Sep 2009
#34
Hi

Thanks for the work on conky, I loved this program on my PC

Is it possible to add calendar events and weather information? they are the only widgets I use and I would love to use only conky on the desktop
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#35
Originally Posted by les_garten View Post
You should be able to create multiple startup Icons that Launch Conky with different Config files, ehh?
In theory, yes.

The desktop file is in /usr/share/applications/hildon/conky.desktop.

It's contents are:
Code:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Conky
Icon=conky
Exec=/usr/bin/conky.sh
Type=Application
It launches conky.sh which looks for a conky.conf in MyDocs and launches conky with that, otherwise defaults to /etc.conky.conf.

So you should be able to clone the desktop file and Exec conky directly with a line like:

Code:
Exec=`which conky` -d -c path-to-my-conky.conf
You might want to change the Name field in the cloned desktop file so you can distinguish between your Conkys. You may even want to change the icon, but then I expect you'd need to make your own icons and update the icon cache.

I've not tried any of this yet, so YMMV
__________________
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 User Says Thank You to fnordianslip For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#36
It seems that I overlooked the 10 days quarantine period for promotion from extras-testing to extras, so hopefully, we will have Conky in extras in time for 2010
__________________
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.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#37
Originally Posted by peio View Post
Hi

Thanks for the work on conky, I loved this program on my PC

Is it possible to add calendar events and weather information? they are the only widgets I use and I would love to use only conky on the desktop
I believe that weather in Conky may well be possible, but I can't imagine it would be better than the OM-Weather widget, and I don't plan on looking into using it myself. It seems that there are some posts in the Ubuntu forums that discuss it, so if you want to follow it up, I'd start with google. I don't think this build of Conky is missing anything essential for solving the weather issue, but if anyone thinks differently, let me know.

I don't know about the calendar events, but my guess is that Conky wouldn't support integration with the maemo stuff, as it is.

Sorry I can't be of much help here.
__________________
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.
 
Posts: 8 | Thanked: 0 times | Joined on Dec 2009
#38
Hello there, i am new to the N900 and new to Linux in general. Looks like you have to install this app using the TermX. Anyone care to post a quick guide? This app looks pretty useful!

Thank you.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#39
Originally Posted by Shadowjump View Post
Hello there, i am new to the N900 and new to Linux in general. Looks like you have to install this app using the TermX. Anyone care to post a quick guide? This app looks pretty useful!

Thank you.
Hi, congrats on getting your new N900 and welcome to Maemo and Linux.

Currently, Conky is in the Extras-testing repository, where it will remain until New Years Eve, and then will hopefully be promoted to Extras. It has enough votes already, so there should be no problem with the promotion, and there are no reported issues.

If you want to try it now, then you would need to enable the Extras-testing repo in application Manager, and then download the Conky package. See the Extras-Testing page in the wiki here. The section on "How to activate Extras-testing" tells you how to enable the extras-testing repo in Application Manager.

Please note that other packages in the extras-testing repo may be unstable and cause issues, so it is probably best to enable it temporarily if you wish to install conky, then disable it afterwards.

You will be pleased to know that you don't need to use the terminal to install it

Have fun
__________________
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.
 
Posts: 9 | Thanked: 7 times | Joined on Dec 2009
#40
First of all: Thank you fnordianslip and rcull for your wonderful work here.

Originally Posted by fnordianslip View Post
Perhaps, or something like it. I didn't put any content in the default conky.conf that was accessible on the status bar, so that's why there's no battery info in it at the moment.
Of yourse you can see the Information on the status bar. But unfortunatly it is not very acurate (with just 8 Bars)

Originally Posted by fnordianslip View Post
The other thing is that I'm not sure the way Jaysire's doing it at the moment is ideal, because that value from lshal doesn't seem to change during charging, and only updates a few seconds after the charger is unplugged. Perhaps some more logic is required in the helper script to determine charging status and report something slightly different through conky.
And Jaysire is using a second script and a temporary file to update the info.

Before finding this thread I thought about a similar solution. I just added
Code:
${color yellow}Battery:$color ${goto 110}${color red}${execi 30 if [ "`hal-device bme |grep "is_charging\|is_discharging" |awk '{print $3;}' |sed -e :a -e '$!N;s/\n/ /;ta'`" = "false true" ]; then  echo "Charging!"; fi}$color${goto 310}${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'}%${goto 350}${color green}${execibar 30 hal-device bme |grep "percentage" |awk '{print $3;}'} 





.
to my config, just underneath the SWAP-Info.

This displays the string "Charging!" if the battery is being charged (and not just connected to the PC/Power together wit the percentage and a bar. (see screenshot)
The information is updated every 30 sec to save CPU-Cycles.

The only thing I miss is the option "default_bar_size" which is not available in the current build. With this option the bar would be the right size.

Have fun!
Attached Images
 

Last edited by Snafu; 2009-12-30 at 00:23. Reason: removed unnecessary backslash
 

The Following 6 Users Say Thank You to Snafu For This Useful Post:
Reply

Tags
conky


 
Forum Jump


All times are GMT. The time now is 13:51.