maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Request] Beautify "Conky" (https://talk.maemo.org/showthread.php?t=52495)

plaban 2010-05-12 16:17

[Request] Beautify "Conky"
 
"Conky" is my most used application.I like the functionality it offers but don't like the interface.It's too ugly.Is it possible to make it more beautiful?I would like to request the developer of "Conky" to add some eye candy.

shinkamui 2010-05-12 17:12

Re: [Request] Beautify "Conky"
 
What kind of eye candy would you like to see in a System Info/Resources app?

kingzeus 2010-05-12 17:16

Re: [Request] Beautify "Conky"
 
I guess he wants to see flowers and rainbows in a System Info/Resources app

hqh 2010-05-12 17:17

Re: [Request] Beautify "Conky"
 
Dancing bananas in the background would be awesome.

marktold 2010-05-12 17:22

Re: [Request] Beautify "Conky"
 
Would it be possible to loose the idea to have everything visible on one screen.

Make lots of stuff bigger and you would have to scroll down. Include some battery data as well

Markus

jerryfreak 2010-05-12 17:24

Re: [Request] Beautify "Conky"
 
i like it just the way it is :)

plaban 2010-05-12 17:28

Re: [Request] Beautify "Conky"
 
So is it must for a system info app to have a ugly UI??

qwerty12 2010-05-12 17:29

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by plaban (Post 655469)
So is it must for a system info app to have a ugly UI??

I'd say so, yes.

plaban 2010-05-12 17:31

Re: [Request] Beautify "Conky"
 
http://www.blogcdn.com/www.downloads...sk-manager.jpg

This kind of 3D effect

fnordianslip 2010-05-12 17:45

Re: [Request] Beautify "Conky"
 
Hi all,

Check out Conky's home page, and you see that you can customise it in many, many ways. The default conf file supplied by the deb in the repo was just meant to be a starting point for you all to play with. Outside of this community, I suspect that 90% of Conky users are running with a Conky conf of their own design.

Normally though, Conky runs directly on the users desktop, but I figured that an app would be more useful on the N900 and configured it like that (in the default conf file) by default.

Remember that if you want to modify the Conky conf file to your tastes, you can copy /etc/conky/conky.conf to /home/user/MyDocs/conky.conf and edit it there. When you run Conky, it will use that conf file in preference to the default. This means that you can easily tweak it using any of the installable editors on the device.

Because Conky is so heavily customisable just by editing its conf file, I'm not really keen on modifying the default, although if there are proposed changes that are very popular, and don't have any significant dependencies (i.e. powertop) then some tweaks to the default could be considered. I've an outstanding feature request to provide a mechanism supporting localisation which I will hopefully get onto soon, and this would also tend to affect the likelihood of changing the default conf.

Note that the packaged version in Extras is not built from the latest source release, and doesn't support Lua, as there didn't seem to be an easy route to satisfy those dependencies.

I look forward to seeing some conky.conf files posted here on t.m.o.

By the way, if you wanna see a truly horrible Conky, this is the one that offended my eyes when I first built a package from Debian sources and used their conf file.

http://homepage.mac.com/darren.long/...reenshot02.png

fnordianslip 2010-05-12 17:48

Re: [Request] Beautify "Conky"
 
Lol. I like the fix it yourself tag. It wasn't me, but that, in a nutshell, is the essence of my post above :)

tzsm98 2010-05-12 17:49

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by marktold (Post 655466)
Would it be possible to loose the idea to have everything visible on one screen.

Make lots of stuff bigger and you would have to scroll down. Include some battery data as well

Markus

I actually like the current look. Marktold's suggestion of going to the information being presented larger is a good one.

Rather than scrolling, why not have pages, ala the four Maemo homepages on the device. NewLC has a symbian application called Phone Info that displays on one screen
  • IMEI,
  • MAC address,
  • Bluetooth address,
  • Machine id
  • Model Name
  • Platform
  • Firmware version
  • Device on for hh:mm:ss
On a second screen it displays
the various drives

On another screen it displays
  • CPU Speed
  • CPU type
  • Total RAM
  • Screen Resolution (L x W in pixels)
  • Application area size (L x W in pixels)

On yet another screen it displays the available type fonts using a
1234, Lorem ipsum ... text sample to display the font.

Having Conky display it's current information plus whatever is mentioned above that is not in Conky right now would turn it into a one stop shopping device information tool. Healthcheck displays some of the information available in Conky and uses a scrolling interface.

The classic black background with vibrant colors for the information is, to me, very appealing as a look for a system widget. Moving the information to several pages will certainly provide additional space for increasing the displayed size of the information.

plaban 2010-05-12 17:57

Re: [Request] Beautify "Conky"
 
3 Attachment(s)
Some ideas

biggzy 2010-05-12 18:05

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
Heres how its looking on my N900 with my custom modified config ...
Attachment 9870

Nothing drastic just got rid of the flat bright colors and made the bars thinner.

fnordianslip 2010-05-12 18:06

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by plaban (Post 655526)
Some ideas

Touche. Some ideas for you :)

By the way, when I built the package, I configured it without support for the weather stuff, primarily because I'm lazy and the dependencies weren't trivially solved. As there's the OmWeather widget already, I figured we could live with that.

plaban 2010-05-12 18:08

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by biggzy (Post 655541)
Heres how its looking on my N900 with my custom modified config ...
Attachment 9870

Nothing drastic just got rid of the flat bright colors and made the bars thinner.

Can you please share the config file along with the battery icons and signal icons?

biggzy 2010-05-12 18:16

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by plaban (Post 655549)
Can you please share the config file along with the battery icons and signal icons?

The battery and signal mods are in the n900 mods topic, here is my conky config file .. http://www.speedyshare.com/files/22403298/conky.conf

plaban 2010-05-12 18:31

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by biggzy (Post 655561)
The battery and signal mods are in the n900 mods topic, here is my conky config file .. http://www.speedyshare.com/files/22403298/conky.conf

Looking nice :)

plaban 2010-05-12 18:47

Re: [Request] Beautify "Conky"
 
It will nice if more .config files are shared here :)

ToJa92 2010-05-12 18:53

Re: [Request] Beautify "Conky"
 
I thought I'd request support for a Conky desktop overlay, that would be awesome. Perhaps a interested coder can ask the developer of Live Wallpaper how you make a widget that is beneath icons and above the background.

dbrodie 2010-05-12 19:01

Re: [Request] Beautify "Conky"
 
Well, actually, now that conkey supports RGBA shouldn't it be really easy to have it as a pretty desktop widget?

[EDIT]
BTW, here are a few nice example:
http://blog.conky.be/2010/03/01/plea...-cotm-entries/
(I bit odd but they where for valentine's day :) )

aspidites 2010-05-12 19:13

Re: [Request] Beautify "Conky"
 
Check Tawan's post here: http://bbs.archlinux.org/viewtopic.php?id=94241&p=4

he's using conky in the bottom left corner.

Also here: http://s218.photobucket.com/albums/c...t=obshot-2.jpg

On the right side, the card with all the states has a conky overlay.

Plenty more examples in the archlinux screenshots page. Conky doesn't have to be "ugly".

DaSilva 2010-05-25 20:32

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by biggzy (Post 655561)
The battery and signal mods are in the n900 mods topic, here is my conky config file .. http://www.speedyshare.com/files/22403298/conky.conf

Can you please re-upload it?
Thanks

biggzy 2010-05-25 20:36

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by DaSilva (Post 677020)
Can you please re-upload it?
Thanks

Yes no probs, here is the file .. http://www.speedyshare.com/files/22626586/conky.conf

Biggzy.

DaSilva 2010-05-25 22:33

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
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

Benson 2010-05-25 23:28

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by shinkamui (Post 655449)
What kind of eye candy would you like to see in a System Info/Resources app?

Boobs, mostly.

xman 2010-05-26 16:14

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
Here's mine. Color are mostly the same. But I add a batt % and another column of run apps. And a few truncated words.

x

HTML 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 yellow}Battery:${color}${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'}%
${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}
${if_mounted /home/user/MyDocs}${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}$endif
${if_mounted /media/mmc1}${color ffa800}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}$endif
${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        $else${color yellow}gprs0: ${color red} Not Connected$endif
${if_empty ${wireless_essid wlan0}}${color yellow}wlan0:        ${color red}Not Connected $else${color yellow}wlan0 ESSID: $color${wireless_essid wlan0} ${color yellow}Rate: ${color}${wireless_bitrate wlan0} ${color yellow}Conn. 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 $endif
${if_up gprs0}${color yellow}gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color yellow}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff0000 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color yellow}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color yellow}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$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 #C0C0C0} ${top name 5}                ${top pid 5} ${top cpu 5} ${top mem 5}
${color #ffa800} ${top name 2}                ${top pid 2} ${top cpu 2} ${top mem 2}        ${color #C0C0C0} ${top name 6}                ${top pid 6} ${top cpu 6} ${top mem 6}
${color #fffc2a} ${top name 3}                ${top pid 3} ${top cpu 3} ${top mem 3}        ${color #C0C0C0} ${top name 7}                ${top pid 7} ${top cpu 7} ${top mem 7}
${color #24ff00} ${top name 4}                ${top pid 4} ${top cpu 4} ${top mem 4}        ${color #C0C0C0} ${top name 8}                ${top pid 8} ${top cpu 8} ${top mem 8}


rwheres 2010-08-08 10:18

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
Here's mine

I too bits 'n pieces from this thread and added inbound/outbound connections and ports:

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
$nodename - $sysname $kernel on $machine ${color #4072a5}$alignr Uptime:$color $uptime ${color #4072a5}Battery:${color}${execi 30 hal-device bme |grep "percentage" |awk '{print $3;}'}%
${color #4072a5}Frequency:$color  $freq MHz            $alignc ${color #4072a5}Load:$color $loadavg      $alignr  ${color #4072a5}Processes:$color $processes  ${color #4072a5}Running:$color $running_processes
${color #4072a5}CPU Usage:$color${goto 110}$cpu% ${goto 350}${color lightgrey}${cpubar 10}
${color #4072a5}CPU:${color black}${cpugraph 16,300 ff0000 ff0000}${color #4072a5} Lo:${color black}${loadgraph 1 16,105 ffe400 ffe400}${color #4072a5} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 00ff00 00ff00}${color #4072a5} Mem:${color black}${memgraph 16,105 ff0000 ff0000}
${color #4072a5}RAM  Usage:$color${goto 110}$mem${goto 190}| $memmax${goto 310}$memperc%${goto 350}${color lightgrey}${membar 10}
${color #4072a5}Swap Usage:$color${goto 110}$swap${goto 190}| $swapmax${goto 310}$swapperc%${goto 350}${color lightgrey}${swapbar 10}
${color #4072a5}rootfs${goto 110}$color${fs_free /}${goto 190}| ${fs_size /} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /}
${color #4072a5}home${goto 110}$color${fs_free /home}${goto 190}| ${fs_size /home} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /home}
${if_mounted /home/user/MyDocs}${color #4072a5}MyDocs${goto 110}$color${fs_free /home/user/MyDocs}${goto 190}| ${fs_size /home/user/MyDocs} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /home/user/MyDocs}$endif
${if_mounted /media/mmc1}${color #4072a5}mmc1${goto 110}$color${fs_free /media/mmc1}${goto 190}| ${fs_size /media/mmc1} ${color grey}${goto 310}free${goto 350}${color lightgrey}${fs_bar 10 /media/mmc1}$endif
${color #2F567C}$stippled_hr
${if_up gprs0}${color #4072a5}gprs0: ${color #4072a5}Up:$color ${upspeed gprs0} kB/s${color grey} - ${color #4072a5}Down:$color ${downspeed gprs0} kB/s
${color }gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color #4072a5}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff0000 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color #4072a5}wlan0 ESSID: $color${wireless_essid wlan0} ${color #4072a5}Rate: ${color}${wireless_bitrate wlan0} ${color #4072a5}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color #4072a5}Up:$color ${upspeed wlan0} kB/s ${color grey} - ${color #4072a5}Down:$color ${downspeed wlan0} kB/s
${color #4072a5}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color #4072a5}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$endif
${color #4072a5}Connections: Inbound: ${tcp_portmon 1 32767 count} ${alignr}Outbound: ${tcp_portmon 32768 61000 count}
$color ${tcp_portmon 1 32767 rhost 0} port: ${tcp_portmon 1 32767 lservice 0} ${alignr} ${tcp_portmon 32768 61000 rhost 0} port: ${tcp_portmon 32768 61000 lservice 0}
$color ${tcp_portmon 1 32767 rhost 1} port: ${tcp_portmon 1 32767 lservice 1} ${alignr} ${tcp_portmon 32768 61000 rhost 1} port: ${tcp_portmon 32768 61000 lservice 1}
${color #2F567C}$stippled_hr
${color #4072a5}Process Top 1-4      PID  CPU%  MEM%                  ${goto 400}Process Top 5-8      PID  CPU%  MEM%${color}
${top name 1}    ${top pid 1} ${top cpu 1} ${top mem 1}      ${top name 5}    ${top pid 5} ${top cpu 5} ${top mem 5}
${top name 2}    ${top pid 2} ${top cpu 2} ${top mem 2}      ${top name 6}    ${top pid 6} ${top cpu 6} ${top mem 6}
${top name 3}    ${top pid 3} ${top cpu 3} ${top mem 3}      ${top name 7}    ${top pid 7} ${top cpu 7} ${top mem 7}
${top name 4}    ${top pid 4} ${top cpu 4} ${top mem 4}      ${top name 8}    ${top pid 8} ${top cpu 8} ${top mem 8}


PipoXtreme 2010-08-08 10:41

Re: [Request] Beautify "Conky"
 
Guys where I have to put this conf file now.. the directory from dasilva I can't find in my N900 ?!

DaSilva 2010-08-08 10:44

Re: [Request] Beautify "Conky"
 
It should be the main directory if you connect your N900 to your PC or it is called "N900" on the phone.

plaban 2010-08-08 10:50

Re: [Request] Beautify "Conky"
 
Looking good. Thanks :)

plaban 2010-08-08 10:51

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by PipoXtreme (Post 779390)
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

atilla 2010-08-08 10:58

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
mine is a little bit like on a lsd trip:)

if someone wants it just say it...

anthonie 2010-08-08 11:32

Re: [Request] Beautify "Conky"
 
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!

PipoXtreme 2010-08-08 18:51

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
what I have to type n the xterminal for the CPU (batt) temp and for the current ? Can anybody give me this code's?

DrWilken 2010-08-08 19:09

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by PipoXtreme (Post 779709)
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?

Quote:

Originally Posted by DaSilva (Post 677306)
Temperature and Current work only with the power Kernel.


DaSilva 2010-08-08 20:57

Re: [Request] Beautify "Conky"
 
@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

GaRy delaMEr 2010-08-10 11:54

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
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}_________________________


James_Littler 2010-08-10 13:04

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
Quote:

Originally Posted by DaSilva (Post 677306)
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

James_Littler 2010-08-10 14:30

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
Another strange symbol, this time next to 'Temperature', it reads 43A°C.

Screenshot attached.

Any ideas how to fix this?
Thanks


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

vBulletin® Version 3.8.8