Notices


Reply
Thread Tools
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#51
Originally Posted by fnordianslip View Post
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.
Here's what I noticed with that.

Mine said 42-11 or whatever.

I updated to 44-1 and Uname-a did not change

I updated to 52-1 and it now says unknown. I did all upgrades OTA. Also my Conky still said 42-11 after the first update, and now doesn't say anything at all about FW level. That's just an echo of the hostname I believe. Mine says the Hostname, which I changed.

Reason I changed the Hostname was that after all the upgrades it never changed from 42-11. Also, it was just too freakin' long for my Tastes. Nw it is "Nokia-N900" Short and sweet. I figured if Nokia was going to "miss" it during the upgrades it would read what I wanted rather than an obsolete/incorrect FW level.

N.B to change hostname, open your favorite editor and change /etc/hostname
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#52
Ah. Makes sense. I should have looked in the conf file. I'm a bit embarassed now. The host name shouldn't change with an update, but would do with a reflash.
 
Posts: 1,283 | Thanked: 370 times | Joined on Sep 2009 @ South Florida
#53
Originally Posted by fnordianslip View Post
Ah. Makes sense. I should have looked in the conf file. I'm a bit embarassed now. The host name shouldn't change with an update, but would do with a reflash.

You're correct there. I just borked my install this evening and had to reflash. Now the Hostname is current FW level and my Ol' friend Conky has the proper FW name! I'm a bit curious why if the Hostname originally had the FW name in it why Nokia didn't have a plan in place to Update the Hostname when the FW updated.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#54
Well, end users would normally be expected/allowed to choose their own hostname. You wouldn't want two hosts with the same name on the same network, for example. So modifying the hostname via update would be a bad plan. A reflash is a fresh install, though, so understandable under those circumstances.
 
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#55
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!
Thank Snafu! I've been trying to figure out how to get the battery percent on here for awhile gave up till I found your old post.

I used just

${color yellow}Battery:$color ${goto 110}${execibar 30 hal-device bme |grep "percentage" |awk '{print $3;}'}

Which gave me "battery: 100%"

I'm a happy camper now.

x
 
Posts: 204 | Thanked: 561 times | Joined on Jan 2010
#56


every time i see this program I think of Conky from Pee Wee's Playhouse
 
Ronaldo's Avatar
Posts: 682 | Thanked: 208 times | Joined on Jan 2010 @ UK
#57
Conky icon looks freaky, so i changed mine .

the monitor icon with green wave
Attached Images
 
__________________
n900 (UK) Global 3.2010.02.8

Last edited by Ronaldo; 2010-03-02 at 04:01.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#58
Thanks.
Here is my advanced config based on biggzys work:

Code:
# Conky, a system monitor, based on torsmo
#
# Any original torsmo code is licensed under the BSD license
#
# All code written since the fork of torsmo is licensed under the GPL
#

# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# Please see COPYING for details
## This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
# $Id: conky.conf 1193 2008-06-21 20:37:58Z ngarofil $

alignment top_left
background no
maximum_width 800
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color white
default_shade_color white
default_graph_size 15,50
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont Droid Sans Mono:size=11
xftalpha 0.8
double_buffer yes
gap_x 20
gap_y 60
minimum_size 5 5
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints below,sticky
stippled_borders 0
update_interval 3.0
uppercase no
use_spacer none
show_graph_scale no
show_graph_range no

TEXT
$alignc $nodename - $sysname $kernel on $machine ${color light blue}Uptime:$color $uptime
${color 0084C9}$stippled_hr
${color light blue}Frequency:$color  ${freq}MHz ${color light blue}Temperature: ${goto 290} $color${execi 3 cat /sys/class/power_supply/bq27200-0/temp}°C  ${goto 340} ${color light blue}Load:$color $loadavg   ${color light blue}Processes:$color $processes  ${color light blue}Running:$color $running_processes
${color light blue}CPU Usage:$color  $cpu% ${color light blue} ${goto 168} Current: ${goto 280} $color${execi 3 cat /sys/class/power_supply/bq27200-0/current_now}mA ${goto 350}${color grey}${cpubar 5}
${color light blue}CPU Graph: ${color black}${cpugraph 16,232 ffffff 0094ff}${color light blue} ${goto 340} Lo:${color black}${loadgraph 1 16,105 ffe400 ffe400}${color light blue} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 00ff00 00ff00}${color light blue} Mem:${color black}${memgraph 15,105 ff0000 ff0000}
${color light blue}RAM  Usage:$color${goto 110}$mem${goto 190} | $memmax${goto 310}$memperc%${goto 350}${color grey}${membar 5}
${color light blue}Swap Usage:$color${goto 110}$swap${goto 190} | $swapmax${goto 310}$swapperc%${goto 350}${color grey}${swapbar 5}
${color 0084C9}$stippled_hr
${color light blue}rootfs${goto 110}$color${fs_free /}${goto 190} | ${fs_size /} ${color grey}${goto 310}${fs_free_perc /}%${goto 350}${color grey}${fs_bar 5 /}
${color light blue}home${goto 110}$color${fs_free /home}${goto 190} | ${fs_size /home} ${color grey}${goto 310}${fs_free_perc /home}%${goto 350}${color grey}${fs_bar 5 /home}
${if_mounted /home/user/MyDocs}${color light blue}MyDocs${goto 110}$color${fs_free /home/user/MyDocs}${goto 190} | ${fs_size /home/user/MyDocs} ${color grey}${goto 310}${fs_free_perc /home/user/MyDocs}%${goto 350}${color grey}${fs_bar 5 /home/user/MyDocs}$endif
${color light blue}Battery:$color ${goto 110}${color green}${execi 30 if [ "`hal-device bme |grep "is_charging" |awk '{print $3;}' |sed -e :a -e '$!N;s/\n/ /;ta'`" = "true" ]; then  echo "Charging..."; fi}$color${goto 310}${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'}%${goto 350}${color grey}${execibar 30 hal-device bme |grep "percentage" |awk '{print $3;}'} 
${if_mounted /media/mmc1}${color light blue}mmc1${goto 110}$color${fs_free /media/mmc1}${goto 190}| ${fs_size /media/mmc1} ${color grey}${goto 310}${fs_free_perc /media/mmc1}%${goto 350}${color grey}${fs_bar 5 /media/mmc1}$endif
${color 0084C9}$stippled_hr
${if_up gprs0}${color light blue}gprs0: ${color light blue}Up:$color ${upspeed gprs0} kB/s${color grey} - ${color light blue}Down:$color ${downspeed gprs0} kB/s  $else${color light blue}gprs0: ${color light blue} Not Connected$endif
${if_empty ${wireless_essid wlan0}}${color light blue}wlan0:  ${color light blue}Not Connected $else${color light blue}wlan0 ESSID: $color${wireless_essid wlan0} ${color light blue}Rate: ${color}${wireless_bitrate wlan0} ${color light blue}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color light blue}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color light blue}Down:$color ${downspeed wlan0} kB/s $endif
${if_up gprs0}${color light blue}gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color light blue}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff00 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color light blue}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color light blue}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$endif
${color 0084C9}$stippled_hr
${color light blue}Process Top 1-3       PID   CPU%   MEM%                   ${goto 400}Process Top 4-6       PID   CPU%   MEM%
${color #ffffff} ${top name 1}    ${top pid 1} ${top cpu 1} ${top mem 1}     ${color #ffffff} ${top name 4}    ${top pid 4} ${top cpu 4} ${top mem 4}
${color #ffffff} ${top name 2}    ${top pid 2} ${top cpu 2} ${top mem 2}     ${color #ffffff} ${top name 5}    ${top pid 5} ${top cpu 5} ${top mem 5}
${color #ffffff} ${top name 3}    ${top pid 3} ${top cpu 3} ${top mem 3}     ${color #ffffff} ${top name 6}    ${top pid 6} ${top cpu 6} ${top mem 6}
Temperature and Current work only with the power Kernel.

Just copy / create the code to /home/user/MyDocs/conky.conf
Attached Images
 

Last edited by DaSilva; 2010-05-26 at 11:36.
 
Posts: 209 | Thanked: 44 times | Joined on Jan 2010 @ Austria
#59
@ DaSilva
Looks good! What file do I have to modify/paste your settings?
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#60
Just copy / create the code to /home/user/MyDocs/conky.conf
 

The Following User Says Thank You to DaSilva For This Useful Post:
Reply

Tags
conky


 
Forum Jump


All times are GMT. The time now is 15:41.