Pagina 56 di 400

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:22
da iteand
http://forum.ubuntu-it.org/viewtopic.php?t=312323
azz sembra questo il prob la 1.72

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:23
da deegan
Le mie versioni:

Conky = 1.7.2
ConkyForecast = 2.07

Piu' aggiornati di così....

Provo ad istallare questo:

https://edge.launchpad.net/~morten-m/+a ... 1_i386.deb

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:26
da jackric
deegan ha scritto:
iteand ha scritto: si dovrebbe essere cosi
No, nel conky non esce niente, e nel terminale mi esce:

deegan@deegan-karmic:~$ conky
Conky: forked to background, pid is 9761
deegan@deegan-karmic:~$
Conky: desktop window (1e0001e) is subwindow of root window (109)
Conky: window type - normal
Conky: drawing to created window (0x3c00001)
Conky: drawing to double buffer
Conky: not implemented obj type 47
Conky: not implemented obj type 47
Conky: not implemented obj type 47
Conky: not implemented obj type 47


:-\
ho provato anch'io, stesso errore  :-\

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:32
da deegan
NO...
Nemmeno con questo
https://edge.launchpad.net/~morten-m/+a ... 1_i386.deb
funziona,  (nono)

Non puo' essere colpa dell''immagine che è in formato .png??

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:34
da iteand
no se guardi il link che ti ho postato è un bug della 1.7.2

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:36
da diego1188
Posto anch'io

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont duepuntozero:size=10
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

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

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}T${font}  Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}  CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font} Batteria: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}  Uptime: ${alignr}${uptime}

DATA ${hr 2}
${voffset 20}${alignc 72}${font Route 3:size=65}${time %H.%M}${font}
${alignc}${time %A %d %m %Y}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Rete Non Disponibile
${endif}
METEO ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -45}${font Weather:size=40}y${font}  ${voffset -30}${font Route 3:size=36}${execi 600 conkyForecast --location=ITXX0080 --hideunits --datatype=HT}${voffset -20}${alignr 110}${font Arial:size=22}o${font}

${voffset 20}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=26}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=2}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 38}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -6}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -35}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 10}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0080 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 45}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 18}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -24}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -50}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 16}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0080 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Meteo Non Disponibile
${endif}
Edit: perché m'ha allegato due volte l'immagine?  ???

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:45
da iteand
deegan ha scritto: NO...
Nemmeno con questo
https://edge.launchpad.net/~morten-m/+a ... 1_i386.deb
funziona,   (nono)

Non puo' essere colpa dell''immagine che è in formato .png??
credo sia questo
http://forum.ubuntu-it.org/viewtopic.php?t=312323

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:46
da deegan
iteand ha scritto:
deegan ha scritto: NO...
Nemmeno con questo
https://edge.launchpad.net/~morten-m/+a ... 1_i386.deb
funziona,   (nono)

Non puo' essere colpa dell''immagine che è in formato .png??
credo sia questo
http://forum.ubuntu-it.org/viewtopic.php?t=312323
Si, si, ho istallato la 1.7.1 ma non và...... :-\

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:48
da iteand
allora secondo me è mlib2 mlib2
devi far si che sia enable, ma non come, aspettiamo che qualcuno lo sappia

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:56
da deegan
Ok, aspettiamo info.................. ;)

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 18:57
da iteand
li dice che quando compili conki devi mettere fra "--enable-imlib2"
il problema è e quando lo sitalli da repo o da deb.. come fai?

Re: Posta il tuo conkyrc & .png

Inviato: mercoledì 9 settembre 2009, 20:17
da giupino
ecco il mio primo conky... (ovviamente copiando a destra e a manca  ;D )

Codice: Seleziona tutto

# UBUNTU-CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages 
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
#


cpu_avg_samples 1
net_avg_samples 1

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,above,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer yes
use_xft yes
xftfont FreeMedium Sans:size=8
xftalpha 0.8

default_color white
default_shade_color white
default_outline_color white

# Update interval in seconds
update_interval 2

# Minimum size of text area
minimum_size 250 5

# Draw shades?
draw_shades no

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no

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

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 3

# Default colors and also border colors, grey90 == #e5e5e5
#default_color grey

own_window_colour black
own_window_transparent yes

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
#alignment bottom_middle

# Gap between borders of screen and text
gap_x 20
gap_y 30

#
#   ${font PizzaDude Bullets:size=16}v${font} Up: ${voffset -10}${upspeedgraph eth1 25,80}${offset 20}${voffset 2}${font PizzaDude Bullets:size=16}r${font} Down: ${voffset -10}${downspeedgraph eth1 25,80}$font}
#
#   ${font PizzaDude Bullets:size=16}M${font} Tot Up: ${totalup eth1}   ${voffset -8}${font PizzaDude Bullets:size=16}S${font} Tot Down: ${totaldown eth1}

# stuff after 'TEXT' will be formatted on screen

TEXT
${color #ddaa00}${font :size=12}${alignc}Peppe - Ubuntu 9.04${font}

${color #ddaa00}${font size:10}System $stippled_hr${font}
${color lightgrey}Uptime:  ${uptime_short}
Date: ${time %A %d %B %Y}
Time: ${time %k:%M:%S}
Kernel: ${kernel}

CPU: ${exec cat /proc/cpuinfo | grep "model name" | cut -c14-37}
${color lightgrey}CPU ${freq_dyn_g 1} GHz   ${alignc}${cpu cpu1}%  
${cpugraph cpu1 25,250 000000 ff6600 }

${color #ddaa00}${font size:10}Net $stippled_hr${font}
${color lightgrey}IP eth0: ${alignr}${addr eth0}   
Download: ${downspeed eth0}Kb/s  ${alignr}Upload: ${upspeed eth0}Kb/s
${downspeedgraph eth0 25,100 000000 ff0000} ${alignr}${upspeedgraph eth0 25,100 000000 00ff00}$color 
Upload: ${alignr}${totalup eth0}
Download: ${alignr}${totaldown eth0}

${color #ddaa00}${font size:10}Temp $stippled_hr${font}
${color lightgrey}CPU Temperature: ${exec sensors | grep "CPU Temp" | cut -c15-21}  
M/B Temperature: ${exec sensors | grep "M/B Temp" | cut -c15-21}
CPU Fan: ${exec sensors | grep "fan1" | cut -c13-21}
                                          
${color #ddaa00}${font size:10}Mem $stippled_hr${font}
${color lightgrey}RAM ${alignc}$memperc%  ${alignr}${membar 5,60} 
SWAP ${alignc}$swapperc%  ${alignr}${swapbar 5,60} 

${color #ddaa00}${font size:10}HDD $stippled_hr${font}
${color lightgrey}/ ${alignc}${fs_used_perc /}% ${alignr}${fs_used /}/${fs_size /}
						${alignr}${fs_bar 5,100 /} 

HOME ${alignc}${fs_used_perc /home}%  ${alignr}${fs_used /home}/${fs_size /home}
					${alignr}${fs_bar 5,100 /home} 

Dati ${alignc}${fs_used_perc /media/Dati}%  ${alignr}${fs_used /media/Dati}/${fs_size /media/Dati}
						${alignr}${fs_bar 5,100 /media/Dati}

${color #ddaa00}${font size:10}Other $stippled_hr${font}
${color}Name              ${alignr}PID     CPU%   MEM%
${color #ddaa00} ${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}
${color}Mem usage
${color #ddaa00} ${top_mem name 1} ${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
${color lightgrey} ${top_mem name 2} ${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}

${color #ddaa00}${font size:10}Dmesg $stippled_hr${font}
${color lightgrey}${execi 3 dmesg | tail -n 5| fold -w50}

${color #ddaa00}$stippled_hr

Re: Posta il tuo conkyrc & .png

Inviato: venerdì 11 settembre 2009, 15:25
da °LAPO°
rent0n ha scritto: Ecco i miei:

My horizontal .conkyrc
Immagine

My lateral .conkyrc
Immagine


Scusate se rispolvero un po le pagine vecchie... comunque qualcuno di voi sa se e come si possono ingrandire le scritte ??

Re: Posta il tuo conkyrc & .png

Inviato: venerdì 11 settembre 2009, 15:32
da jmilton00
il codice è {font size=xx}

Re: Posta il tuo conkyrc & .png

Inviato: venerdì 11 settembre 2009, 16:05
da R0bert0
ecco il mio conkyrc  ;)

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont :size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 200
maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 15

# border width
border_width 1

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

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

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
TEXT
${alignc 35}${font Route 3:size=32}${time %H:%M}${font}
${alignc}${time %A %d %B}

${voffset 4}${font OpenLogos:size=17}T${font} ${voffset -4} Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,100}
${font StyleBats:size=16}A${font}  CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,100}
${cpugraph 20,200 00407B AFD8FF}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}$mem/$memmax
${font Webdings:size=16}~${font} Batteria: ${battery_percent BAT0}% ${alignr}${battery_bar 8,90 BAT0}
${font StyleBats:size=16}q${font}  Acceso da: ${alignr}${uptime}

HDD ${hr 2}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:	(${fs_free_perc /}%)
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}disco1:	 (${fs_free_perc /media/disco1}%)
${voffset 4}${fs_free /media/disco1}/${fs_size /media/disco1} ${alignr}${fs_bar 8,60 /media/disco1}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}disco0:	 (${fs_free_perc /media/disco0}%)
${voffset 4}${fs_free /media/disco0}/${fs_size /media/disco0} ${alignr}${fs_bar 8,60 /media/disco0}

CONNESSIONI ${hr 2}
${if_existing /proc/net/route wlan0}${voffset 4}${alignc}${wireless_essid wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 12,100 5B3600 FCAF3E 50}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}
${alignr}${downspeedgraph wlan0 60,200 5B3600 FCAF3E 850}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload totale: ${alignr}${totalup wlan0}${hr 2}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download totale: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,80 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr wlan0}
${else}${if_existing /proc/net/route eth0}ESSID: ${color slate gray}${wireless_essid eth0}${color white}
${voffset 4}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E,}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth0}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth1}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Rete Non Disponibile
${endif}
Immagine

L'unica cosa che non capisco è perchè, quando il notebook è collegato all'alimentazione elettrica, la batteria risulta al 118%  ;D

Re: Posta il tuo conkyrc & .png

Inviato: venerdì 11 settembre 2009, 16:29
da °LAPO°
diego1188 ha scritto: Posto anch'io

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont duepuntozero:size=10
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

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

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

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

TEXT
SISTEMA ${hr 2}
${voffset 2}${font OpenLogos:size=16}T${font}  Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}A${font}  CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font}  CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font}  RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font}  SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font} Batteria: ${battery_percent BAT0}% ${alignr}${battery_bar 8,60 BAT0}
${font StyleBats:size=16}q${font}  Uptime: ${alignr}${uptime}

DATA ${hr 2}
${voffset 20}${alignc 72}${font Route 3:size=65}${time %H.%M}${font}
${alignc}${time %A %d %m %Y}

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font}   ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}

NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${else}${if_existing /proc/net/route eth0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}N${font}   Upload: ${alignr}${totalup eth1}
${voffset 4}${font PizzaDude Bullets:size=14}T${font}   Download: ${alignr}${totaldown eth1}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   Ip Pubblico: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Rete Non Disponibile
${endif}
METEO ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -45}${font Weather:size=40}y${font}  ${voffset -30}${font Route 3:size=36}${execi 600 conkyForecast --location=ITXX0080 --hideunits --datatype=HT}${voffset -20}${alignr 110}${font Arial:size=22}o${font}

${voffset 20}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=26}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=2}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 38}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -6}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -35}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 10}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${else}${if_existing /proc/net/route eth0}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0080 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 45}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 18}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -24}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -50}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 16}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -10}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=ITXX0080 --datatype=WF}${font}
${voffset -50}${font Weather:size=40}y${font}  ${voffset -38}${font Arial Black:size=26}${execi 600 conkyForecast --location=ITXX0080 --datatype=HT}${font}

${voffset 0}${alignc 43}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=1 --shortweekday} ${alignc 8}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=2 --shortweekday} ${alignc -29}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=3 --shortweekday} ${alignc -64}${execpi 600 conkyForecast --location=ITXX0080 --datatype=DW --startday=4 --shortweekday}
${voffset 0}${alignc 75}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=ITXX0080 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font DejaVu Sans:size=7}${alignc 48}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -14}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 6}${execpi 600 conkyForecast --location=ITXX0080 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=ITXX0080 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font}   Meteo Non Disponibile
${endif}
Edit: perché m'ha allegato due volte l'immagine?  ???
Ciao mi piace molto il tuo concky... però puoi dirmi come si cambia la città del meteo ?? vorrei mettere napoli

Re: Posta il tuo conkyrc & .png

Inviato: venerdì 11 settembre 2009, 16:37
da hitman
iteand ha scritto: li dice che quando compili conki devi mettere fra "--enable-imlib2"
il problema è e quando lo sitalli da repo o da deb.. come fai?
Io ho provato a scaricare il tar.bz2 direttamente dal sito per provare a compilarlo, il problema è che mi da questo errore:

Codice: Seleziona tutto

checking for LUA... no
checking for LUA51... no
checking for LUA51... configure: error: Package requirements (lua5.1 >= 5.1) were not met:

No package 'lua5.1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LUA51_CFLAGS
and LUA51_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Il pacchetto lua5.1 l'ho aggiornato alla versione più recente:

Codice: Seleziona tutto

sudo apt-get install lua5.1
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso       
Lettura informazioni sullo stato... Fatto        
lua5.1 è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
Idee?

Re: Posta il tuo conkyrc & .png

Inviato: sabato 12 settembre 2009, 21:35
da Oberbullz
ciao a tutti...ho un problema, cioè quando lacio conky da terminale mi dice: "Conky: one or more $endif's are missing"

ho controllato ma nn riesco a trovare dov'è che manca...qlc1 che magari ha un occhio più attento del mio mi può aiutare??

Codice: Seleziona tutto

# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

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

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
TEXT
${font Sans:size=9:weight=bold}${color  #ffffff}$color${font Sans:size=8:weight=bold}
${alignc 30}${color #ffffff}${font OpenLogos:size=40}u${font}
${color #ffffff}${alignc}Ubuntu Linux 9.04 Jaunty Jackalope

${color  #ffffff}SISTEMA ${hr 2}
${font StyleBats:size=15}b${font} Frequenza ${alignr}${freq 1} GHz
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}q${font}   Tempo di utilizzo: ${alignr}${uptime}
${font StyleBats:size=16}A${font}   CPU: ${cpu cpu0}% ${alignr}${cpugraph cpu0 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${memgraph 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60 F57900 FCAF3E}
${if_existing /proc/acpi/battery/BAT1/state capacity}${font Webdings:size=16}~${font}  Batteria ${alignr}${battery_percent BAT1}%  ${battery_bar 8,60 BAT1}${else}${voffset -12}
${font StyleBats:size=16}k${font}   Processi: ${alignr}$processes ($running_processes in funzione)

PROCESSI ${hr 2}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

${color  #FFFFFF}TEMPERATURA ${hr 2}
${font weather:size=21}y ${font} HD: ${alignr}${exec nc localhost 7634 | perl -ne 'print $1 if /\/sda\|.*?\|(\d+)\|C/;'}°C
${font StyleBats:size=16}C${font}  MB: ${alignr}${hwmon 1 temp 1}°C

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${voffset 4}${fs_used /media/Vista}/${fs_size /media/Vista} ${alignr}${fs_bar 8,60 /media/Vista}

RETE ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Segnale: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   IP Pubblico: $alignr ${execi 300 wget -O - http://ip.tupeux.com | tail}

METEO A VENEZIA ${hr 2}
${color 8c8c8c}Oggi${color #FFFFFF} ${alignc}${voffset -3}${font Weather:size=16}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=WF --startday=0}${font} ${voffset -7}${color 8c8c8c}temp max ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HT --startday=0}${color} ${color 8c8c8c} ${alignr}temp min ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=LT --startday=0}${color}

${color 8c8c8c}Domani${color} ${alignc}${voffset -3}${font Weather:size=16}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=WF --startday=1}${font} ${voffset -7}${color 8c8c8c}temp max ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HT --startday=1}${color} ${color 8c8c8c} ${alignr}temp min ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=LT --startday=0}${color}

${color 8c8c8c}Umidità: ${alignr}${color #FFFFFF}${execi 600 /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HM}

${color 8c8c8c}Probabilità pioggia: ${alignr}${color #FFFFFF}${execpi 900 /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=PC --startday=0}${color}
${else}${endif}
grazie

Re: Posta il tuo conkyrc & .png

Inviato: sabato 12 settembre 2009, 21:50
da deegan
Facciamo una prova...... ;)
Prova a levare questo:

${else}${endif}
E vedi che ti dà!!!

E poi prova a rimetterlo, ma così:

${else}
${endif}

Re: Posta il tuo conkyrc & .png

Inviato: sabato 12 settembre 2009, 21:51
da derma
@ Oberbullz




Prova così...

Codice: Seleziona tutto


# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=8
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 180 0
#maximum_width 200

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

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

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

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

# 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

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none
TEXT
${font Sans:size=9:weight=bold}${color  #ffffff}$color${font Sans:size=8:weight=bold}
${alignc 30}${color #ffffff}${font OpenLogos:size=40}u${font}
${color #ffffff}${alignc}Ubuntu Linux 9.04 Jaunty Jackalope

${color  #ffffff}SISTEMA ${hr 2}
${font StyleBats:size=15}b${font} Frequenza ${alignr}${freq 1} GHz
${voffset 2}${font OpenLogos:size=16}u${font}   Kernel:  ${alignr}${kernel}
${font StyleBats:size=16}q${font}   Tempo di utilizzo: ${alignr}${uptime}
${font StyleBats:size=16}A${font}   CPU: ${cpu cpu0}% ${alignr}${cpugraph cpu0 8,60}
${font StyleBats:size=16}g${font}   RAM: $memperc% ${alignr}${memgraph 8,60}
${font StyleBats:size=16}j${font}   SWAP: $swapperc% ${alignr}${swapbar 8,60 F57900 FCAF3E}
${if_existing /proc/acpi/battery/BAT1/state capacity}${font Webdings:size=16}~${font}  Batteria ${alignr}${battery_percent BAT1}%  ${battery_bar 8,60 BAT1}${else}${voffset -12}${endif}
${font StyleBats:size=16}k${font}   Processi: ${alignr}$processes ($running_processes in funzione)

PROCESSI ${hr 2}
${top name 1}$alignr${top cpu 1}${top mem 1}
${top name 2}$alignr${top cpu 2}${top mem 2}
${top name 3}$alignr${top cpu 3}${top mem 3}

${color  #FFFFFF}TEMPERATURA ${hr 2}
${font weather:size=21}y ${font} HD: ${alignr}${exec nc localhost 7634 | perl -ne 'print $1 if /\/sda\|.*?\|(\d+)\|C/;'}°C
${font StyleBats:size=16}C${font}  MB: ${alignr}${hwmon 1 temp 1}°C

HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font}   ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${voffset 4}${fs_used /media/Vista}/${fs_size /media/Vista} ${alignr}${fs_bar 8,60 /media/Vista}

RETE ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font}   Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}U${font}   Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font}   Segnale: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font}   Ip Locale: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font}   IP Pubblico: $alignr ${execi 300 wget -O - http://ip.tupeux.com | tail}

METEO A VENEZIA ${hr 2}
${color 8c8c8c}Oggi${color #FFFFFF} ${alignc}${voffset -3}${font Weather:size=16}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=WF --startday=0}${font} ${voffset -7}${color 8c8c8c}temp max ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HT --startday=0}${color} ${color 8c8c8c} ${alignr}temp min ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=LT --startday=0}${color}

${color 8c8c8c}Domani${color} ${alignc}${voffset -3}${font Weather:size=16}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=WF --startday=1}${font} ${voffset -7}${color 8c8c8c}temp max ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HT --startday=1}${color} ${color 8c8c8c} ${alignr}temp min ${color} ${color #FFFFFF}${execi 21600 python /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=LT --startday=0}${color}

${color 8c8c8c}Umidità: ${alignr}${color #FFFFFF}${execi 600 /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=HM}

${color 8c8c8c}Probabilità pioggia: ${alignr}${color #FFFFFF}${execpi 900 /home/ober/scripts/conkyForecast.py --location=ITXX0085 --datatype=PC --startday=0}${color}
${else}${endif}