Notices


Reply
Thread Tools
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#21
Originally Posted by rcull View Post
Code:
${if_up gprs0}${color yellow}gprs0: ${color yellow}Up:$color ${upspeed gprs0} kB/s${color grey} - ${color yellow}Down:$color ${downspeed gprs0} kB/s
${color yellow}Up: ${color black}${downspeedgraph gprs0 20,320 ff0000 00ff00}${color yellow} Down: ${color black}${upspeedgraph gprs0 20,320 00ff0000 ff0000}$endif${if_up wlan0}${color yellow}wlan0 ESSID: $color${wireless_essid wlan0} ${color yellow}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color yellow}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color yellow}Down:$color ${downspeed wlan0} kB/s 
${color yellow}Up: ${color black}${downspeedgraph wlan0 20,320 00ff00 ff0000}${color yellow} Down: ${color black}${upspeedgraph wlan0 20,320 ff0000 00ff00}$endif
Added some colour, Lined everything up and added a Loadgraph Diskiograph and Memgraph plus swaps between gprs0 and wlan0 both with up and down graphs.

Rick
Seems to me that the upspeedgraph and downspeedgraph are swapped around in your conf
__________________
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
#22
New build 1.1 now in extras-testing. This one should go to extras. You can vote for it here.

First post updated
.
__________________
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: 93 | Thanked: 30 times | Joined on Sep 2009 @ Sydney, Australia
#23
I would like a Conky to be able to display an alternate screen with just a few key bits of info in HUGE fonts.

Sort of info to be displayed would be CPU Frequency, CPU Usage %, RAM Usage %, SWAP Usage % (Ideally, make this second screen configurable).


That way, when you are in your Dashboard, and Conky is running beside other apps in a small window, you can still see the live values in Conky.

This would allow you to see the impact of having different apps multitasking.

Last edited by Zelig87; 2009-12-21 at 11:13.
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#24
You can customise conky now to use large fonts and display some minimal set of info, but at the moment only as a standalone app and not yet as a desktop widget

I will look into widgetising conky, but think that it is useful enough as it is now to put into 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.
 
Posts: 93 | Thanked: 30 times | Joined on Sep 2009 @ Sydney, Australia
#25
Sorry, my eyes glazed over when you started talking about config files........

Maybe rcull can put together a config to tide us over until you widgetise Conky.
 
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#26
How about this.
You will need to save conky.txt as conky.conf in MyDocs ( thats the named with your N900's name )
Attached Images
 
Attached Files
File Type: txt conky.txt (1.9 KB, 139 views)
__________________
Class .. : Power User,Tester,Apprentice Developer
Humor .. : [#####-----] Alignment: Gadget Junky,Grumpy old man
Patience : [##########] Weapon(s): Indifference
Agro ... : |##--------] Relic(s) : 770,N800,eee

 

The Following 2 Users Say Thank You to rcull For This Useful Post:
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#27
I've made a conky.conf with bigger fonts, but sacrificed all the file-system and network info to do so.



Here's the conf. Save it to /home/user/MyDocs/conky.conf

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
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# 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
draw_borders no
draw_graph_borders yes
draw_outline no
draw_shades no
use_xft yes
xftfont Droid Sans Mono:size=16
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 $sysname $kernel on $machine ${color yellow}Uptime:$color $uptime
${color ff8a00}$stippled_hr
${color yellow}Frequency:${goto 170}$color$freq MHz ${color yellow}CPU Usage:$color $cpu% $alignc ${color yellow}Load:$color $loadavg
${color yellow}CPU  Now:${goto 170}${color red}${cpubar 18}
${color yellow}CPU  Hist:${goto 170}${color black}${cpugraph 16,620 ff0000 ff0000}
${color yellow}Load Hist:${goto 170}${color black}${loadgraph 1 16,620 ffe400 ffe400}
${color ff8a00}$stippled_hr
${color yellow}RAM  Usage:${goto 170}$color$mem of $memmax $memperc%${color green} ${membar 16}
${color yellow}Swap Usage:${goto 170}$color$swap of $swapmax $swapperc%${color green} ${swapbar 16}
${color ff8a00}$stippled_hr
${color lightgrey}Name${goto 272}PID${goto 340}CPU%${goto 424}MEM%${goto 520}RES${goto 660}VIRT
${color #ff6000} ${top name 1}${goto 244}${top pid 1}${goto 312}${top cpu 1}${goto 400}${top mem 1}${goto 520}${top mem_res 1}${goto 660}${top mem_vsize 1} 
${color #ffa800} ${top name 2}${goto 244}${top pid 2}${goto 312}${top cpu 2}${goto 400}${top mem 2}${goto 520}${top mem_res 2}${goto 660}${top mem_vsize 2} 
${color #fffc2a} ${top name 3}${goto 244}${top pid 3}${goto 312}${top cpu 3}${goto 400}${top mem 3}${goto 520}${top mem_res 3}${goto 660}${top mem_vsize 3} 
${color #24ff00} ${top name 4}${goto 244}${top pid 4}${goto 312}${top cpu 4}${goto 400}${top mem 4}${goto 520}${top mem_res 4}${goto 660}${top mem_vsize 4} 
${color #24ff00} ${top name 5}${goto 244}${top pid 5}${goto 312}${top cpu 5}${goto 400}${top mem 5}${goto 520}${top mem_res 5}${goto 660}${top mem_vsize 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.

Last edited by fnordianslip; 2009-12-21 at 13:59. Reason: Clarification
 

The Following User Says Thank You to fnordianslip For This Useful Post:
mklass's Avatar
Posts: 197 | Thanked: 55 times | Joined on Nov 2009 @ Manchester, UK
#28
Originally Posted by rcull View Post
I've spent a couple of hours playing with this

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
#
# Please see COPYING for details
#
# Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
# Copyright (c) 2005-2007 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
# All rights reserved.
#
# 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
draw_borders no
draw_graph_borders yes
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 yellow}Uptime:$color $uptime
${color ff8a00}$stippled_hr
${color yellow}Frequency:$color  $freq MHz             $alignc ${color yellow}Load:$color $loadavg      $alignr  ${color yellow}Processes:$color $processes  ${color yellow}Running:$color $running_processes
${color yellow}CPU Usage:$color${goto 110}$cpu% ${goto 350}${color red}${cpubar 10}
${color yellow}CPU:${color black}${cpugraph 16,300 ff0000 ff0000}${color yellow} Lo:${color black}${loadgraph 1 16,105 ffe400 ffe400}${color yellow} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 00ff00 00ff00}${color yellow} Mem:${color black}${memgraph 16,105 ff0000 ff0000}
${color yellow}RAM  Usage:$color${goto 110}$mem${goto 190}| $memmax${goto 310}$memperc%${goto 350}${color green}${membar 10}
${color yellow}Swap Usage:$color${goto 110}$swap${goto 190}| $swapmax${goto 310}$swapperc%${goto 350}${color green}${swapbar 10}
${color ff8a00}$stippled_hr
${color yellow}rootfs${goto 110}$color${fs_free /}${goto 190}| ${fs_size /} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /}
${color yellow}home${goto 110}$color${fs_free /home}${goto 190}| ${fs_size /home} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /home}
${color yellow}MyDocs${goto 110}$color${fs_free /home/user/MyDocs}${goto 190}| ${fs_size /home/user/MyDocs} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /home/user/MyDocs}
${color yellow}mmc1${goto 110}$color${fs_free /media/mmc1}${goto 190}| ${fs_size /media/mmc1} ${color grey}${goto 310}free${goto 350}${color green}${fs_bar 10 /media/mmc1}
${color ff8a00}$stippled_hr
${if_up gprs0}${color yellow}gprs0: ${color yellow}Up:$color ${upspeed gprs0} kB/s${color grey} - ${color yellow}Down:$color ${downspeed gprs0} kB/s
${color yellow}Up: ${color black}${upspeedgraph gprs0 20,320 ff0000 00ff00}${color yellow} Down: ${color black}${downspeedgraph gprs0 20,320 00ff0000 ff0000}$endif${if_up wlan0}${color yellow}wlan0 ESSID: $color${wireless_essid wlan0} ${color yellow}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color yellow}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color yellow}Down:$color ${downspeed wlan0} kB/s 
${color yellow}Up: ${color black}${downspeedgraph wlan0 20,320 00ff00 ff0000}${color yellow} Down: ${color black}${upspeedgraph wlan0 20,320 ff0000 00ff00}$endif
${color ff8a00}$stippled_hr
${color lightgrey}Name                  PID   CPU%   MEM%
${color #ff6000} ${top name 1}    ${top pid 1} ${top cpu 1} ${top mem 1}
${color #ffa800} ${top name 2}    ${top pid 2} ${top cpu 2} ${top mem 2}
${color #fffc2a} ${top name 3}    ${top pid 3} ${top cpu 3} ${top mem 3}
${color #24ff00} ${top name 4}    ${top pid 4} ${top cpu 4} ${top mem 4}
Added some colour, Lined everything up and added a Loadgraph Diskiograph and Memgraph plus swaps between gprs0 and wlan0 both with up and down graphs.

Rick

Edit: swapped upspeed and downspeed ( thanks Fnordianslip )
How do I get Conky to look like this?

Cheers
__________________
The N900 Is Amazing.....Are You Jealous?
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#29
Originally Posted by mklass View Post
How do I get Conky to look like this?

Cheers
If you have the latest version from extras-testing (that is 1.6.1-0maemo5-1.1 or later) then you can save your own conky.conf in MyDocs (that is /home/user/MyDocs/conky.conf).

When you then run conky, it will use that one instead of the default conf (which is in /etc/conky/conky.conf).

Hope this helps.
__________________
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-22 at 10:54. Reason: No more votes needed for this version
 
mklass's Avatar
Posts: 197 | Thanked: 55 times | Joined on Nov 2009 @ Manchester, UK
#30
Originally Posted by fnordianslip View Post
If you have the latest version from extras-testing (that is 1.6.1-0maemo5-1.1 or later) then you can save your own conky.conf in MyDocs (that is /home/user/MyDocs/conky.conf).

When you then run conky, it will use that one instead of the default conf (which is in /etc/conky/conky.conf).

Don't forget to vote for the latest build here, so we can get it in extras.

Hope this helps.
Many thanks for that quick reply. I will be sure to vote..

Cheers
__________________
The N900 Is Amazing.....Are You Jealous?
 
Reply

Tags
conky


 
Forum Jump


All times are GMT. The time now is 21:08.