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)

Switch_ 2010-08-10 14:46

Re: [Request] Beautify "Conky"
 
Best advice is to either copy and paste within a linux / Windoze environment into something like wordpad before saving and importing the file onto your phone. If you have already done this it may be screwed up Windoze metadata cocking up the config.

I'm pretty sure I used Wordpad to copy / paste into and it was fine, but I had strange metadata symbols all over the place after using both phone to copy and paste and also Notepad within Windoze.

Either Notepad or Wordpad will do it without screwing up the file with crappy metadata, try both of those - if it doesn't work post back.

Taomyn 2010-08-10 14:53

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by James_Littler (Post 781628)
Another strange symbol, this time next to 'Temperature', it reads 43A°C.

Screenshot attached.

Any ideas how to fix this?
Thanks

It seems Conky has problems with the "°" symbol - if you remove it the "A" disappears

James_Littler 2010-08-10 15:01

Re: [Request] Beautify "Conky"
 
Just removed it and all is fine, weird error though

Switch_ 2010-08-10 15:05

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by Taomyn (Post 781654)
It seems Conky has problems with the "°" symbol - if you remove it the "A" disappears

Conky is fine with the ° symbol, it's the metadata that accompanies it dependant on the source symbol location and the method used to transpose it into the conky.conf file.

Try the workaround I posted above, I actually recall using Wordpad in W7 and trying various fonts to get the effect I needed without digging too deep into the metadata - and then found out it was this that caused the issue and not the original source file or font.

Taomyn 2010-08-10 15:12

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by Switch_ (Post 781671)
Conky is fine with the ° symbol, it's the metadata that accompanies it dependant on the source symbol location and the method used to transpose it into the conky.conf file.

Try the workaround I posted above, I actually recall using Wordpad in W7 and trying various fonts to get the effect I needed without digging too deep into the metadata - and then found out it was this that caused the issue and not the original source file or font.

Is there any way to insert this properly on the N900 itself? I tried in Leafpad but I just got the A back again.

Might be better if people post the conf files direct rather than relying on using the browser to copy/paste from - I gave up trying to get MicroB to play ball.

There was also a space missing before the "|" symbol for the mmc1 line which might only be noticeable if the card is less than 10MB - don't think that was down to the editor as I can't see it on the forum either.

pantera1989 2010-08-10 15:18

Re: [Request] Beautify "Conky"
 
Here. I beautified conky.

http://img34.imageshack.us/img34/9366/conky1.jpg

Done using MyPaint in 30 seconds.

James_Littler 2010-08-10 15:44

Re: [Request] Beautify "Conky"
 
Notepad++ on xp did the trick, I now have a degree sign in conky with no dodgey A.

Microsoft Expression web 1 used to do a similar thing to php files screwing with the page encoding.

Taomyn 2010-08-10 15:47

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by James_Littler (Post 781724)
Notepad++ on xp did the trick, I now have a degree sign in conky with no dodgey A.

Microsoft Expression web 1 used to do a similar thing to php files screwing with the page encoding.

That's odd as I use Notepad++ but on Win7 - I've made my own tweaks now on the N900 using Leafpad so I don't want to lose them. Any ideas how I can put the degree sign in correctly on the N900 itself? The symbol table in the editor doesn't seem to work :(

James_Littler 2010-08-10 15:53

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by Taomyn (Post 781727)
That's odd as I use Notepad++ but on Win7 - I've made my own tweaks now on the N900 using Leafpad so I don't want to lose them. Any ideas how I can put the degree sign in correctly on the N900 itself? The symbol table in the editor doesn't seem to work :(

Same problem, didn't work in leafpad on N900, notepad or wordpad on xp so I used good old Notepad++ (love it!).

Make sure your page encoding is set to UTF-8 without BOM

GaRy delaMEr 2010-08-10 15:59

Re: [Request] Beautify "Conky"
 
Hi,

I've been the same problem and i solved it with Notepad++ under Win7. Convert and Encode the file in UTF-8 format.

Also I added this line in the configuration file: override_utf8_locale yes

plaban 2010-08-10 16:31

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by GaRy delaMEr (Post 781471)
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}_________________________


Thanks
Please translate to english and upload

DrWilken 2010-08-10 16:47

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by GaRy delaMEr (Post 781749)
Also I added this line in the configuration file: override_utf8_locale yes

That did the trick for me... :)

plaban 2010-08-10 16:57

Re: [Request] Beautify "Conky"
 
English--
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}$font$color
${voffset -30}$alignr${color1}Uptime$color: $uptime_short$color
$alignr${time %A %d %B %G}
${goto 60}SYSTEM
${goto 20}${color1}Kernel$color${goto 115}: $sysname $kernel
${goto 20}${color1}Battery$color${goto 115}: ${execi 30 hal-device bme |grep "Percentage" |awk '{print $3;}'} %${goto 200}${color1}Temperature$color : ${execi 3 cat /sys/class/power_supply/bq27200-0/temp} °C
${goto 20}${color1}CPU $machine$color${goto 115}: $cpu %${goto 200}${color1}Frequency$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}FILE SYSTEM
${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}No$color$endif
${goto 20}${if_mounted /media/mmc1}$color9${fs_bar 10,370}$endif

${voffset -388}$color${goto 460}NETWORKS
${goto 420}${color1}IP Local$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 Public$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 connected$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}UL$color : ${if_up gprs0}${upspeed gprs0} kB/s$else${if_empty ${wireless_essid wlan0}}${color2}Non connected${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}PROCESSES $processes} ONGOING $running_processes
${goto 420}${color1}NAME                    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}____________________


GaRy delaMEr 2010-08-11 04:24

Re: [Request] Beautify "Conky"
 
3 Attachment(s)
Hi,

My new config with Fonts (in english ;))

You can download this font it's free for personnal use
#OpenLogos http://www.dafont.com/openlogos.font
#PizzaDude Bullets http://www.dafont.com/fr/pizzadude-bullets.font
#StyleBats http://fr.fontriver.com/font/stylebats/

Copy .ttf file in /home/user/.fonts

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_title Conky System Monitor - Nokia N900
    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 1 1
        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 1
# border margins
        border_margin 1
# border width
        border_width 1

# Text alignment
        alignment top_left

# 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 lightgrey
        color2 red
        color3 blue
        color4 yellow
        color5 white
        color6 ff6000
        color7 ffa800
        color8 fffc2a
        color9 24fff0

        own_window_title Nokia N900 - Conky System Monitor

#Fonts
        #OpenLogos                                http://www.dafont.com/openlogos.font
        #PizzaDude Bullets                http://www.dafont.com/fr/pizzadude-bullets.font
        #StyleBats                                http://fr.fontriver.com/font/stylebats/

TEXT
${goto 326}$color5${font Nokia Sans:size=22}GaRy delaMer$font$color
${voffset -30}${alignr 10}${color1}${font StyleBats}q$font Uptime$color $uptime_short$color
${alignr 4}${time %A %d %B %G}
${voffset -8}${goto 60}SYSTEM${goto 460}NETWORKS
${voffset -20}${goto 0}_______${goto 110}_______________________________________${goto 529}______________________________
$color1${font OpenLogos:size=15}t$font Kernel$color${goto 122}$sysname $kernel
$color1${font StyleBats:size=15}8$font Battery$color${goto 122}${execi 10 hal-device bme |awk -F"[. ]" '$5 == "is_charging" {chrg = $7}; $5 == "percentage" {perc = $7} END if (chrg == "false") {print perc " %"} else {print "Charging"}'}${goto 210}${color1}Temperature$color${alignr 410}${exec cat /sys/class/power_supply/bq27200-0/temp} °C
$color1${font StyleBats:size=15}A$font CPU $machine$color${goto 122}$cpu %${goto 210}${color1}Frequency$color${alignr 410}$freq MHz
${cpugraph 45,390 ffcc00 ff0000 -t}
$color1${font StyleBats:size=15}g$font RAM$color${goto 122}$mem / $memmax${alignr 410}$memperc %
${voffset -4}$color4${membar 4,390}
$color1${font StyleBats:size=15}j$font SWAP$color${goto 122}$swap / $swapmax${alignr 410}$swapperc %
${voffset -4}$color5${swapbar 4,390}$color

${voffset -35}
${goto 60}FILE SYSTEM
${voffset -20}${goto 0}_______${goto 158}___________________________
${goto 30}${loadgraph 1 24,160 ffe400 ffe400}${goto 235}${diskiograph /dev/mmcblk0 24,160 00ff00 00ff00}
${voffset -28}${color1}Lo${goto 200}Dio

$color1${font StyleBats:size=22}I$font${voffset -15} Root$color${goto 122}${fs_free /} / ${fs_size /}${alignr 410}${fs_free_perc /} %
${goto 39}$color6${fs_bar 4,355 /}
$color1${font StyleBats:size=22}J$font${voffset -15} Home$color${goto 122}${fs_free /home} / ${fs_size /home}${alignr 410}${fs_free_perc /home} %
${goto 39}$color7${fs_bar 4,355 /home}
$color1${font StyleBats:size=22}O$font${voffset -15} MyDocs$color${goto 122}${if_mounted /home/user/MyDocs}${fs_free /home/user/MyDocs} / ${fs_size /home/user/MyDocs}${alignr 410}${fs_free_perc /home/user/MyDocs} %$else${color2}Not mounted$color$endif
${goto 39}${if_mounted /home/user/MyDocs}$color8${fs_bar 4,355 /home/user/MyDocs}$endif
$color1${font StyleBats:size=22}U$font${voffset -15} Mmc$color${goto 122}${if_mounted /media/mmc1}${fs_free /home} / ${fs_size /home}${alignr 410}${fs_free_perc /home} %$else${color2}Not mounted$color$endif
${goto 39}${if_mounted /media/mmc1}$color9${fs_bar 4,355 /media/mmc1}$color$endif

${voffset -415}
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|
${voffset -3}${goto 398}|

${if_up gprs0}
        ${voffset -440}
       
        ${goto 410}$color1${font PizzaDude Bullets}a$font Local IP$color${alignr 4}${addr gprs0}
        ${goto 410}$color1${font PizzaDude Bullets}b$font Public IP$color${alignr 4}${texeci 3400 wget --timeout=10 -q -O - http://whatismyip.org/ | tail}
        ${goto 442}${color1}Dl$color ${downspeed gprs0} kB/s ${goto 540}${color1}GPRS
        ${goto 410}$color1${font PizzaDude Bullets:size=22}T$font$color
        ${goto 442}${voffset -30}${downspeedgraph gprs0 45,350 ffcc00 ff0000 -t}
        ${goto 442}${color1}Up$color ${upspeed gprs0} kB/s
        ${goto 410}$color1${font PizzaDude Bullets:size=22}N$font$color
        ${goto 442}${voffset -30}${upspeedgraph gprs0 45,350 ffcc00 ff0000 -t}
        ${alignr 20}${color1}${font PizzaDude Bullets}U$font Download$color ${totaldown gprs0} ${color1}${font PizzaDude Bullets}O$font Upload$color ${totalup gprs0}
       
$else
        ${if_empty ${wireless_essid wlan0}}
                ${voffset -430}
                ${goto 460}$color2${font PizzaDude Bullets:size=22}4$font${font :size=22}${voffset -10} Not connected$font$color
               
        $else
                ${voffset -440}
                ${goto 410}$color1${font PizzaDude Bullets}a$font Local IP$color${alignr 4}${addr wlan0}
                ${goto 410}$color1${font PizzaDude Bullets}b$font Public IP$color${alignr 4}${texeci 3400 wget --timeout=10 -q -O - http://whatismyip.org/ | tail}
                ${goto 442}${color1}Dl$color ${downspeed wlan0} kB/s ${goto 540}${color1}Wifi$color ${wireless_essid wlan0}
                ${goto 410}$color1${font PizzaDude Bullets:size=22}T$font$color
                ${goto 442}${voffset -30}${downspeedgraph wlan0 45,350 ffcc00 ff0000 -t}
                ${goto 442}${color1}Up$color ${upspeed wlan0} kB/s ${goto 540}${color1}Rate$color ${wireless_bitrate wlan0} ${color1}Quality$color ${wireless_link_qual_perc wlan0} %
                ${goto 410}$color1${font PizzaDude Bullets:size=22}N$font$color
                ${goto 442}${voffset -30}${upspeedgraph wlan0 45,350 ffcc00 ff0000 -t}               
                ${alignr 20}${color1}${font PizzaDude Bullets}U$font Download$color ${totaldown wlan0} ${color1}${font PizzaDude Bullets}O$font Upload$color ${totalup wlan0}
        $endif
$endif

${voffset -72}
${goto 460}PROCESSUS $processes RUNNING $running_processes
${voffset -20}${goto 402}_______${goto 675}___________________________
${alignr 4}${color1}NAME              PID  CPU%  MEM%    TIME
${alignr 4}$color2${top name 1}  ${top pid 1}${top cpu 1}${top mem 1}${top time 1}
${alignr 4}$color6${top name 2}  ${top pid 2}${top cpu 2}${top mem 2}${top time 2}
${alignr 4}$color6${top name 3}  ${top pid 3}${top cpu 3}${top mem 3}${top time 3}
${alignr 4}$color7${top name 4}  ${top pid 4}${top cpu 4}${top mem 4}${top time 4}
${alignr 4}$color7${top name 5}  ${top pid 5}${top cpu 5}${top mem 5}${top time 5}
${alignr 4}$color8${top name 6}  ${top pid 6}${top cpu 6}${top mem 6}${top time 6}
${alignr 4}$color8${top name 7}  ${top pid 7}${top cpu 7}${top mem 7}${top time 7}
${alignr 4}$color9${top name 8}  ${top pid 8}${top cpu 8}${top mem 8}${top time 8}
${alignr 4}$color9${top name 9}  ${top pid 9}${top cpu 9}${top mem 9}${top time 9}

${voffset -25}$color
${goto 460}INFORMATIONS
${voffset -20}${goto 402}_______${goto 565}__________________________
${goto 450}${color1}${font :size=22}Created by$color GaRy delaMer ${color1}
${goto 470}${color1}${font :size=14}Conky version$color $conky_version$font
${goto 470}${color1}${font :size=14}Built$color $conky_build_date$font


Taomyn 2010-08-11 09:51

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by GaRy delaMEr (Post 781749)

Also I added this line in the configuration file: override_utf8_locale yes

Thanks.

Also added this line and put the symbol back in with Leafpad on the N900 and all is fine.

slender 2010-08-11 09:55

Re: [Request] Beautify "Conky"
 
Btw.
Is it possible to have conky info page(area) that is scrollable? Or just multiple pages that you can flip.

PipoXtreme 2010-08-11 09:58

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by Taomyn (Post 782745)
Thanks.

Also added this line and put the symbol back in with Leafpad on the N900 and all is fine.


sorry how you do this - Sorry I'm a noob :D

James_Littler 2010-08-11 10:15

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by PipoXtreme (Post 782754)
sorry how you do this - Sorry I'm a noob :D

open x-term and type
Code:

root
Code:

leafpad /etc/conky/conky.conf
This will open conky.conf in leafpad (providing you have leafpad installed).
You can then edit and save the file.

GaRy delaMEr 2010-08-11 14:01

Re: [Request] Beautify "Conky"
 
I prefer put the config file in /home/user/Mydocs

no need root for modifiing it

xTerm
Code:

leafpad /home/user/MyDocs/conky.conf

Helmuth 2010-08-11 15:22

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

Originally Posted by GaRy delaMEr (Post 782480)
My new config with Fonts (in english ;))

WOW! Looks great. :)

What system font are you using?

Only a small thing... a Diagram for the Memory and/or Swap usage would be great! Perhaps to save some space together in the CPU usage Diagram as a green line. :rolleyes:

But sadly I got many ugly squares everywhere with your conf File. Have you a Idea whats wrong?

James_Littler 2010-08-11 15:46

Re: [Request] Beautify "Conky"
 
Read a few pages back and you'll see that I had that problem and solved it along with a few other people.

GaRy delaMEr 2010-08-11 16:05

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
My system font It's Tabitha, I've found it in the * The Truly Epic Maemo 5 MODs Thread *

For the square i don't know. Perhaps Rencode file in UTF-8 format.

The 2 config files (EN and FR because i'm a French Man :)) for you, just rename the file and put in /home/user/Mydocs/conky.conf.

I've join the fonts. If i can't distribute them, I erase the file.

Extract files in /home/user/.fonts

Edit:
New version with memgraph, no swapgraph because not exist

http://talk.maemo.org/showpost.php?p...7&postcount=72

GaRy delaMEr 2010-08-11 19:48

Re: [Request] Beautify "Conky"
 
Final version see my previous post.

Language En and Fr, with memGraph and fonts.

Helmuth 2010-08-11 21:49

Re: [Request] Beautify "Conky"
 
Thanks James_Littler and GaRy delaMEr but I can't get it to work as expected. I've copied the newest files direct from the zip, I installed notepad++, I changed the encoding. All trials without success. I guess I will try it tomorrow again.

GaRy delaMEr 2010-08-11 22:16

Re: [Request] Beautify "Conky"
 
Sory it's my fault, the file format it's for windows end of line CRLF, linux (maemo) want LF

Now it's ok, plus some cosmetic i've modified the zip file

davall 2010-08-11 22:26

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
the unix command dos2unix will do the trick
>dos2unix -d filename

GaRy delaMEr 2010-08-11 22:34

Re: [Request] Beautify "Conky"
 
Thnx i don't know this command, but with Notepad++ it's very easy to convert.

I've re-uploaded the zip file with the good and last (I hope) version.

Helmuth 2010-08-11 23:03

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by GaRy delaMEr (Post 783565)
Sory it's my fault, the file format it's for windows end of line CRLF, linux (maemo) want LF

Oh, yes. Now it works. :D Haven't seen this. Thanks a lot.

Creamy Goodness 2010-08-12 07:49

Re: [Request] Beautify "Conky"
 
this would be a lot easier to "beautify" if it was a newer version that worked the same as the man pages. v1.6.1 ?? :(
so far i've discovered scrolling text doesn't recognize the step size parameter, and the cpugraph doesn't support the temperature parameter (would make the colors change depending on amplitude).
anyways, there's probably still lots of cool stuff we can do. the one guy that said it's an addiction wasn't kidding, i've spent way too many hours playing with this thing already.

Helmuth 2010-08-12 13:30

Re: [Request] Beautify "Conky"
 
Quote:

Originally Posted by GaRy delaMEr (Post 783581)
I've re-uploaded the zip file with the good and last (I hope) version.

Sadly I guess it wasn't the last version. :(

I found a small Bug. ;) My Mmc card shows exactly the same Details as the Home directory. Can you confirm this? :)

James_Littler 2010-08-12 14:11

Re: [Request] Beautify "Conky"
 
1 Attachment(s)
My config file (thanks to DaSilva)

Code:

# 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
${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 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;}'}
${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}IP: $color${if_up gprs0}${addr gprs0}$else${if_empty ${wireless_essid wlan0}}${color light blue}Non connected$color$else${addr wlan0}$endif$endif
${if_up gprs0}${color light blue}gprs0 Up: $color ${upspeed wlan0}kB/s ${color grey} ${color black}${upspeedgraph gprs0 20,200 ff0000 00ff00}$alignr${color light blue}gprs0 Down: ${color light blue}Down:$color ${downspeed wlan0}kB/s ${color black}${downspeedgraph gprs0 20,200 00ff00 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color light blue}wlan0 Up: $color ${upspeed wlan0}kB/s ${color black}${upspeedgraph wlan0 20,200 00ff00 ff0000}$alignr${color light blue}wlan0 Down: $color ${downspeed wlan0}kB/s ${color black}${downspeedgraph wlan0 20,200 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}


GaRy delaMEr 2010-08-12 15:53

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

Originally Posted by Helmuth (Post 784182)
Sadly I guess it wasn't the last version. :(

I found a small Bug. ;) My Mmc card shows exactly the same Details as the Home directory. Can you confirm this? :)

Yes a it's a bug stupid copy/paste :o, plus some cosmetic adjustement.

New file see attachement.

pursueky 2010-08-14 02:49

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

I have installed the power kernel but the temperature doesn't show just:A℃

adhrie 2010-08-14 03:33

Re: [Request] Beautify "Conky"
 
the temperature & current dont show on my n900 when using dasilvas's conf file

when using gary delamer's conf file only the current showed

pursueky 2010-08-14 05:19

Re: [Request] Beautify "Conky"
 
Quote:

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



it doesn't work either

DaSilva 2010-08-14 10:39

Re: [Request] Beautify "Conky"
 
It should work after a reboot and those commands.

dchky 2010-08-14 13:07

Re: [Request] Beautify "Conky"
 
Quote:

I have installed the power kernel but the temperature doesn't show just:A℃
You'll need to insmod the right module for the temperature to show - described elsewhere in the thread, but for anyone having the weird � symbol or a circumflex "Â" - for me the fix was the line below:

Code:

${iconv_start UTF-8 ISO_8859-1}°C ${iconv_stop}
Did anyone else say this already?

adhrie 2010-08-14 16:57

Re: [Request] Beautify "Conky"
 
thanks to da silva & dchky i manage to make the temperature & current shown

debernardis 2010-08-14 17:39

Re: [Request] Beautify "Conky"
 
I don't think that it's measuring current in milliAmperes. Maybe microamperes?

EDIT yes it's microAmperes (uA). See http://www2.comp.ufscar.br/lxr/sourc...battery.c?a=sh

fuyoh 2010-08-16 13:48

Re: [Request] Beautify "Conky"
 
is it possible to make conky scrollable ?


All times are GMT. The time now is 13:02.

vBulletin® Version 3.8.8