maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Conky now in fremantle extras-testing (https://talk.maemo.org/showthread.php?t=37698)

fnordianslip 2009-12-31 14:00

Re: Conky now in fremantle extras-testing
 
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.

les_garten 2009-12-31 16:28

Re: Conky now in fremantle extras-testing
 
Quote:

Originally Posted by fnordianslip (Post 447920)
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!

jaysire 2010-01-01 00:04

Re: Conky now in fremantle extras-testing
 
Quote:

Originally Posted by Snafu (Post 445851)
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 :)

DaSilva 2010-01-04 08:39

Re: Conky now in fremantle extras-testing
 
Quote:

Originally Posted by Snafu (Post 445851)
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;}'}


les_garten 2010-01-12 17:09

Re: Conky now in fremantle extras-testing
 
FYI

When I updated to 44-1, it still says 42-11 in Conky.

Death Scythe 2010-01-17 23:54

Re: Conky now in fremantle extras-testing
 
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 2010-01-18 00:03

Re: Conky now in fremantle extras-testing
 
Quote:

Originally Posted by Death Scythe (Post 478880)
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.

Death Scythe 2010-01-18 20:13

Re: Conky now in fremantle extras-testing
 
Quote:

Originally Posted by fnordianslip (Post 478894)
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 2010-01-18 20:17

Re: Conky now in fremantle extras-testing
 
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

fnordianslip 2010-01-18 20:35

Re: Conky now in fremantle extras-testing
 
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.


All times are GMT. The time now is 18:04.

vBulletin® Version 3.8.8