Active Topics

 



Notices


Reply
Thread Tools
plaban's Avatar
Posts: 395 | Thanked: 107 times | Joined on Dec 2009 @ India
#31
Looking good. Thanks
__________________
Nokia N900: It's a computer with a phone, not a phone that can compute.


Web Advices
Tablet Phone X
Blogging Tips
Know IP Address
 
plaban's Avatar
Posts: 395 | Thanked: 107 times | Joined on Dec 2009 @ India
#32
Originally Posted by PipoXtreme View Post
Guys where I have to put this conf file now.. the directory from dasilva I can't find in my N900 ?!
copy to /etc/conky/conky.conf
__________________
Nokia N900: It's a computer with a phone, not a phone that can compute.


Web Advices
Tablet Phone X
Blogging Tips
Know IP Address
 
atilla's Avatar
Posts: 1,210 | Thanked: 597 times | Joined on Apr 2010 @ hamburg,germany
#33
mine is a little bit like on a lsd trip

if someone wants it just say it...
Attached Images
 
__________________


Nobody likes us but we dont care....
 
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#34
Let's get one thing out of the way first. Apart from displaying all sorts of system/process information to the user, another goal of Conky was to allow users to present that information in a so diverse possible way or format.

If you get to linx forums, you will find massive threads everywhere with tutorials on Conky, how to achieve certain effects.

The one I'd advise you to start with, only a couple of pages long, is
http://ubuntuforums.org/showthread.php?t=205865

To give you an example of what can be done, here the integration of the Google calendar.

http://ubuntuforums.org/showthread.php?t=837385

There are only the limits of the framework of Conky itself, but basically any systeminfo should be able to be forwarded to Conky to be displayed. Think mediaplayer info, incoming mail, weather or calendar, you name it.

The only advise I should give you before clicking on any of those links is that once you start tinkering, Conky tends to be a bit addictive. If you have a wife and kids, and the weather outside is good, send them away first .

Enjoy!
 

The Following 3 Users Say Thank You to anthonie For This Useful Post:
Posts: 195 | Thanked: 16 times | Joined on Feb 2010 @ Switzerland
#35
what I have to type n the xterminal for the CPU (batt) temp and for the current ? Can anybody give me this code's?
Attached Images
 
__________________
(n900 _Switzerland)

Last edited by PipoXtreme; 2010-08-08 at 19:00.
 

The Following User Says Thank You to PipoXtreme For This Useful Post:
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#36
Originally Posted by PipoXtreme View Post
what I have to type n the xterminal for the CPU (batt) temp and for the current ? Can anybody give me this code's?
You're probably not using the power kernel, are You?

Originally Posted by DaSilva View Post
Temperature and Current work only with the power Kernel.
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#37
@PipoXtreme: You have to enter the following command once in X-Terminal and reboot:

sudo gainroot
echo bq27x00_battery >> /etc/modules

see http://wiki.maemo.org/Kernel_Power#Battery
 

The Following 5 Users Say Thank You to DaSilva For This Useful Post:
Posts: 112 | Thanked: 105 times | Joined on Mar 2010 @ Montpellier, FRANCE
#38
Hi all

Thank you for your posts about Conky, I could create my config.
I share with you.

Sorry it's in French, but with a little change you could translate it.

The lines vertical (| pipe) and horizontal (_ underscore) are in the end of file if you change some text, adjust voffset and lengh.

Code:
# Conky, a system monitor
# $Id: conky.conf 2010-08-09 GaRy delaMer

# Use Xft?
	use_xft yes
	xftfont Droid Sans Mono:size=11
	xftalpha 0.8
	override_utf8_locale yes

# Update interval in seconds
	update_interval 3
# Create own window instead of using desktop (required in nautilus)
	background yes
	own_window yes
	own_window_class Conky
    own_window_type normal
    own_window_transparent no
    own_window_hints below,sticky
	out_to_console no

# Use double buffering (reduces flicker, may not work for everyone)
	double_buffer yes
# Subtract file system buffers from used memory?
	no_buffers yes

# set to yes if you want all text to be in uppercase
	uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
	cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
	net_avg_samples 2

# Add spaces to keep things from moving about?  This only affects certain objects.
	use_spacer none

# Size of text area
	#minimum_size 5 5
	maximum_width 800

# Draw shades?
	draw_shades no
# Draw outlines?
	draw_outline no
# Draw borders
	draw_borders no
# graph options
	show_graph_scale no
	show_graph_range no
	draw_graph_borders yes

# Stippled borders?
	stippled_borders 0
# border margins
	border_margin 5
# border width
	border_width 1

# Text alignment
	alignment top_left

# Gap between borders of screen and text
# same thing as passing -x at command line
	gap_x 0
	gap_y 40

# Default colors and also border colors
	default_color green
	default_shade_color red
	default_outline_color white
	default_shade_color white
	own_window_colour black

	color1 white
	color2 red
	color3 blue
	color4 yellow
	color5 lightgrey
	color6 ff6000
	color7 ffa800
	color8 fffc2a
	color9 24fff0

TEXT
$alignc${color1}${font Nokia Sans:size=22}GaRy delaMer$font$color
${voffset -30}$alignr${color1}Uptime$color: $uptime_short$color 
$alignr${time %A %d %B %G} 
${goto 60}SYSTEME
${goto 20}${color1}Kernel$color${goto 115}: $sysname $kernel
${goto 20}${color1}Batterie$color${goto 115}: ${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'} %${goto 200}${color1}Température$color : ${execi 3 cat /sys/class/power_supply/bq27200-0/temp} °C
${goto 20}${color1}CPU $machine$color${goto 115}: $cpu %${goto 200}${color1}Fréquence$color   : $freq MHz
${goto 20}${cpugraph 50,370 ffcc00 ff0000 -t}
${goto 20}${color1}RAM$color${goto 115}: $memperc % ${goto 200}$mem / $memmax
${goto 20}${membar 10,370}
${goto 20}${color1}SWAP$color${goto 115}: $swapperc % ${goto 200}$swap / $swapmax
${goto 20}${swapbar 10,370}
${goto 60}SYSTEME de FICHIER
${goto 20}${color1}Root$color${goto 115}: ${fs_free_perc /} %${goto 200} ${fs_free /} / ${fs_size /}
${goto 20}$color6${fs_bar 10,370 /}
${goto 20}${color1}Home$color${goto 115}: ${fs_free_perc /home} %${goto 200} ${fs_free /home} / ${fs_size /home}
${goto 20}$color7${fs_bar 10,370 /home}
${goto 20}${color1}MyDocs$color${goto 115}: ${if_mounted /home/user/MyDocs}${fs_free_perc /home/user/MyDocs} %${goto 200} ${fs_free /home/user/MyDocs} / ${fs_size /home/user/MyDocs}$else${color2}Non montée$color$endif
${goto 20}${if_mounted /home/user/MyDocs}$color8${fs_bar 10,370 /home/user/MyDocs}$endif
${goto 20}${color1}MMC$color${goto 115}: ${if_mounted /media/mmc1}${fs_free_perc /home} %${goto 200} ${fs_free /home} / ${fs_size /home}$else${color2}Non montée$color$endif
${goto 20}${if_mounted /media/mmc1}$color9${fs_bar 10,370}$endif

${voffset -388}$color${goto 460}RESEAUX
${goto 420}${color1}IP Locale$color   : $alignr${if_up gprs0}${addr gprs0}$else${if_empty ${wireless_essid wlan0}}${color2}Non connecté$color$else${addr wlan0}$endif$endif 
${goto 420}${color1}IP Publique$color : $alignr${if_up gprs0}${texeci 3400 wget --timeout=10 -q -O - http://whatismyip.org/ | tail}$else${if_empty ${wireless_essid wlan0}}${color2}Non connecté$color$else${texeci 3400 wget --timeout=10 -q -O - http://whatismyip.org/ | tail}$endif$endif 
${goto 420}${color1}Dl$color : ${if_up gprs0}${downspeed gprs0} kB/s${goto 540}${color1}GPRS$color$else${if_empty ${wireless_essid wlan0}}${color2}Non connecté$color$else${downspeed wlan0} kB/s${goto 540}${color1}Wifi$color : ${wireless_essid wlan0}$endif$endif
${goto 420}${if_up gprs0}${downspeedgraph gprs0 45,370 ffcc00 ff0000 -t}$else${if_empty ${wireless_essid wlan0}}$else${downspeedgraph wlan0 45,370 ffcc00 ff0000 -t}$endif$endif
${goto 420}${color1}Up$color : ${if_up gprs0}${upspeed gprs0} kB/s$else${if_empty ${wireless_essid wlan0}}${color2}Non connecté${voffset 82}$color$else${upspeed wlan0} kB/s${goto 540}${color1}Rate$color : ${wireless_bitrate wlan0} ${color1}Qualité$color : ${wireless_link_qual_perc wlan0}%$endif$endif
${goto 420}${if_up gprs0}${upspeedgraph gprs0 45,370 ffcc00 ff0000 -t}$else${if_empty ${wireless_essid wlan0}}$else${upspeedgraph wlan0 45,370 ffcc00 ff0000 -t}$endif$endif
${goto 460}PROCESSUS $processes} En cours $running_processes
${goto 420}${color1}NOM                    PID   CPU%   MEM%
${goto 420}$color6${top name 1}      ${top pid 1} ${top cpu 1} ${top mem 1}
${goto 420}$color7${top name 2}      ${top pid 2} ${top cpu 2} ${top mem 2}
${goto 420}$color7${top name 3}      ${top pid 3} ${top cpu 3} ${top mem 3}
${goto 420}$color8${top name 4}      ${top pid 4} ${top cpu 4} ${top mem 4}
${goto 420}$color8${top name 5}      ${top pid 5} ${top cpu 5} ${top mem 5}
${goto 420}$color9${top name 6}      ${top pid 6} ${top cpu 6} ${top mem 6}
${goto 420}$color9${top name 7}      ${top pid 7} ${top cpu 7} ${top mem 7}$color

${voffset -377}$color${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|
${voffset -3}${goto 400}|

${voffset -394}${goto 0}_______${goto 120}______________________________________${goto 520}_______________________________
${voffset 190}${goto 0}_______${goto 220}___________________________${goto 675}_________________________
Attached Images
 
 

The Following 7 Users Say Thank You to GaRy delaMEr For This Useful Post:
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#39
Originally Posted by DaSilva View Post
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
Using your code I get a little square after process Top 4-6 the MEM% column

It looks like

MEM%□
5.55□
7.71□
3.31


Strange its after just the first 3 in the column.

Any ideas?

EDIT:
Just noticed I have the square thingy next to up time and # of processes as well.

I've copied this to both MyDocs and etc/conky/ and get the same results from both file locations.

EDIT2:
No worries, fixed it, must have been where I created the file using windows then transfered to N900, copying from web page into leafpad, saving to MyDocs then cp /home/user/conky.conf /etc/conky/ and it works like a charm.

Stupid Windoze
Attached Images
 

Last edited by James_Littler; 2010-08-10 at 14:31.
 

The Following User Says Thank You to James_Littler For This Useful Post:
James_Littler's Avatar
Posts: 820 | Thanked: 436 times | Joined on May 2010 @ Portsmouth, UK.
#40
Another strange symbol, this time next to 'Temperature', it reads 43A°C.

Screenshot attached.

Any ideas how to fix this?
Thanks
Attached Images
 
 

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

Tags
conky, fix it yourself, post your conky


 
Forum Jump


All times are GMT. The time now is 22:30.