Active Topics

 



Notices


Reply
Thread Tools
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#41
Thanks to all the testers and voters of Conky, it is now available in the extras repository and on the Downloads page for Maemo 5.
__________________
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: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#42
Originally Posted by fnordianslip View Post
Thanks to all the testers and voters of Conky, it is now available in the extras repository and on the Downloads page for Maemo 5.
Congratulations and Thanx!
 
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#43
Originally Posted by Snafu View Post
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.
Nice! I did it with the temp-file only because of the cpu cycle issue and because I didn't know you can execute something every n seconds this way. I also haven't seen references to hal-device on the n900 before, so very interesting indeed!

I will be using your hack... er... solution now
__________________
Read about my N900 experiences from my blog.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#44
Originally Posted by Snafu View Post
First of all: Thank you fnordianslip and rcull for your wonderful work here.


Of yourse you can see the Information on the status bar. But unfortunatly it is not very acurate (with just 8 Bars)



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!
It doesn't work for me if it is charging (displays an empty bar and no "Charging!" message) and I would like to fill the lower right area which is currently unused for this.
How can I do that?

Only the following works (without the charging) and the bar is smaller than the others:

Code:
${color lightgrey}Name                  PID   CPU%   MEM%			${goto 380}${color yellow}Battery: ${execi 60 hal-device | grep percen | awk '{print $3"%"}'}
${color #ff6000} ${top name 1}    ${top pid 1} ${top cpu 1} ${top mem 1}     ${goto 380}${color green}${execibar 60 hal-device bme |grep "percentage" |awk '{print $3;}'}

Last edited by DaSilva; 2010-01-04 at 10:12.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#45
FYI

When I updated to 44-1, it still says 42-11 in Conky.
 
Posts: 94 | Thanked: 27 times | Joined on Dec 2009
#46
Just a question about conky as I was trying to figure out if my wifi remained connected even after I'd already disconnected (wifi bug); will the "wlan0" field show a connection even after wifi has been disconnected?
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#47
Originally Posted by Death Scythe View Post
Just a question about conky as I was trying to figure out if my wifi remained connected even after I'd already disconnected (wifi bug); will the "wlan0" field show a connection even after wifi has been disconnected?
It should say "Not connected" like the gprs0 connection does when it is not connected, if you are using the default conf file from the package in extras.
__________________
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:
Posts: 94 | Thanked: 27 times | Joined on Dec 2009
#48
Originally Posted by fnordianslip View Post
It should say "Not connected" like the gprs0 connection does when it is not connected, if you are using the default conf file from the package in extras.
Will N900's with the wifi bug (wifi staying connected even after connection has been terminated) show an active conncetion?
 
NotTheMessiah's Avatar
Posts: 373 | Thanked: 40 times | Joined on Nov 2009 @ Norwich
#49
one thing ive noticed is conky mis-reports the firmware version. guessing the 1.2009.42 is a hard coded string cos im running 2.2009.51
__________________
i finally have the device and its even better than i could have ever possibley imagined! well done nokia, very well done indeed!
 

The Following User Says Thank You to NotTheMessiah For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#50
Nope, it should work just fine. My guess is that your device does not know what version it is. That happened to me when i attempted to force the 1.1 upgrade with apt-get.
Try running "uname -a" in xterm and see what it says.
 
Reply

Tags
conky


 
Forum Jump


All times are GMT. The time now is 12:43.