News:

LMDE 6, unisce la praticità dell'ultima versione di cinnamon con la robustezza di debian 12

Menu principale

La mostra dei Conky

Aperto da danialbi, Sabato 20 Novembre 2010, 00:13:51

Discussione precedente - Discussione successiva

daniodo

Se è quello che penso, dovrebbe essere sufficiente inserire nelle impostazioni di configurazione del .conckyrc (quello che in pratica c'è prima del TEXT) questa riga

double_buffer yes
La causa della maggior parte dei problemi di un computer si trova tra la tastiera e lo schienale della sedia.
Gnomint su Aspire TimelineX 4820TG-I5-Ati Mobility Radeon HD5470 512Mb / Mint10 Gnome 64 bit su Aspire 6930G-Core 2 Duo T9400-NVidia GeForce 9600M GT 512Mb

midnite

grazie, domattina provo  :ciao:

danialbi

questa opzione :

double_buffer yes

se inserita nel file di configurazione di conky, serve apposta per prevenire lo sfarfallio....

nel mio conky e' presente....provalo gisto per vedere se sfarfalla, poi se ottieni il risultato mettiti al lavoro partendo da un conky gia fatto....

e conta pure sul mio (piccolissimo ) aiuto. :ok:

Metelliano

Controlla nel tuo conkyrc ci sia questa voce
double_buffer yes
Serve proprio ad evitare lo sfarfallio.

Nella propria vita un uomo è tale solo per pochi istanti.

daniodo

La causa della maggior parte dei problemi di un computer si trova tra la tastiera e lo schienale della sedia.
Gnomint su Aspire TimelineX 4820TG-I5-Ati Mobility Radeon HD5470 512Mb / Mint10 Gnome 64 bit su Aspire 6930G-Core 2 Duo T9400-NVidia GeForce 9600M GT 512Mb

midnite

esatto ragazzi, era proprio il double_buffer  :yeah:
e visto che non sfarfallava, mi sono cimentato in una mia conky
ho mixxato alcune cose trovate in questa discussione, con anche
quella proposta da borgio3 nella guida di e.l.l.e. (ve la ricordate?)

ed ecco il risultato, il mio conkyrc:
# conky per eeepc900

# Allineamento del testo, altri possibili valori sono commentati
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

background no

# Spessore del bordo
border_width 4

# numero di cpu
# impostate a 1 se siete insicuri
cpu_avg_samples 1

# Colori predefiniti ed anche il colore dei bordi
default_color white
default_outline_color white
default_shade_color black

# Bordi intorno al testo
draw_borders no

# Bordi intorno ai grafici
draw_graph_borders yes

# Disegna le linee esterne?
draw_outline no

# Disegna le ombre?
draw_shades no

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
xftfont DejaVu Sans Mono:size=10

# Text alpha when using Xft
xftalpha 0.8

# Print everything to console?
# out_to_console no

# Margine tra i bordi dello schermo e il testo
gap_x 5
gap_y 5

# Dimensione minima dell'area di testo
minimum_size 5 5

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

# Utilizzare il doppio buffer (riduce lo sfarfallio, potrebbe non funzionare per tutti)
double_buffer yes

# Sottrarre file system buffers dalla memoria usata?
no_buffers yes

out_to_console no
out_to_stderr no
extra_newline no

# Creare una finestra separata invece di utilizzare il desktop (richiesto in Nautilus)
own_window yes
own_window_type override
own_window_transparent yes

# Utilizzare il desktop al posto di una finestra separata(disabilitare le voci precedenti)
#own_window yes
#own_window_class Conky
#own_window_type desktop
#stippled_borders 0

# Intervallo di aggiornamento in secondi
update_interval 1.0

# Aggiungere spazi per permettere agli oggetti di muoversi? Questo riguarda solo determinati oggetti.
use_spacer none

show_graph_scale no
show_graph_range no

TEXT
${offset 230}${font ubuntu:size=20}${color white}midnite@eeepc
#${offset 230}${font :size=10}${color white}$alignc${time %a,} ${time %e %B %G}
${offset 230}${font :size=16}${color white}${time %H:%M:%S}
${offset 230}${font :size=10}${color yellow}UpTime: ${color white}$uptime
${offset 230}${color yellow}Batteria: ${color white}${battery_percent BAT0}%

${offset 230}${color yellow}Kernel:${color white}$kernel

${offset 230}${color yellow}CPU:${color white} $cpu% ${acpitemp}C
${offset 230}${color lightgrey}${cpugraph 15,180 000000 ffffff}
#${offset 230}${color yellow}Load: ${color }$loadavg
#${offset 230}${color yellow}Processi in esecuzione: ${color white}$running_processes
#${offset 230}${color yellow}Running:   ${color }$running_processes
${offset 230}${color yellow}Utilizzo CPU:
${offset 230}${color white} ${top name 1}${top cpu 1}
${offset 230}${color white} ${top name 2}${top cpu 2}
${offset 230}${color white} ${top name 3}${top cpu 3}
#${offset 230}${color white} ${top name 4}${top cpu 4}

${offset 230}${color yellow}MEM:${color white} $mem/$memmax ($memperc%)
${offset 230}${color lightgrey}${membar 5,180}
#${offset 230}${color yellow}SWAP:${color white} $swap/$swapmax ($swapperc%)
#${offset 230}${color lightgrey}${swapbar 5,180}
${offset 230}${color yellow}Utilizzo MEM:
${offset 230}${color white} ${top_mem name 1}${top_mem mem 1}
${offset 230}${color white} ${top_mem name 2}${top_mem mem 2}
${offset 230}${color white} ${top_mem name 3}${top_mem mem 3}
#${offset 230}${color white} ${top_mem name 4}${top_mem mem 4}

${offset 230}${color yellow}ROOT:${color white} ${fs_free /}/${fs_size /} (${fs_free_perc /}%)
${offset 230}${color lightgrey}${fs_bar 5,180 /}
${offset 230}${color yellow}HOME:${color white} ${fs_free /home}/${fs_size /home} (${fs_free_perc /home}%)
${offset 230}${color lightgrey}${fs_bar 5,180 /home}
#
#${offset 230}${color yellow}RETE:
${if_existing /proc/net/route wlan0}
${offset 230}${color yellow}Segnale ${color white}${wireless_link_qual_perc wlan0}%${alignr}${color yellow}IP: ${color white}${addr wlan0}
${offset 230}${color lightgrey}${wireless_link_bar 5,90 wlan0}${alignr}${wireless_essid wlan0}
${offset 230}${color yellow}Down: ${color white}${downspeed wlan0} kB/s ${color yellow}Up: ${color white}${upspeed wlan0} KB/s
${offset 230}${color lightgrey}${downspeedgraph wlan0 15,90 000000 ffffff} ${alignr}${upspeedgraph wlan0 15,90 000000 ffffff}
#
#${else}${if_existing /proc/net/route eth1}
#${offset 230}${color yellow}Local Ip: ${color white}${addr eth1}
#${offset 230}${color yellow}Down: ${color white}${downspeed eth1} kB/s ${color yellow}Up: ${color white}${upspeed eth1} KB/s
#${offset 230}${color lightgrey}${downspeedgraph eth1 15,90 000000 ffffff} ${alignr}${upspeedgraph eth1 15,90 000000 ffffff}

io l'ho pensato per il mio eeepc 900 (schermo da 9") quindi molte cose
le ho commentare, ma non le ho eliminate perchè se lo meto su un pc con
schermo normale, ci stà tutto, inoltre a qualcuno potrebbero interessare.

midnite

altro dubbio:
per farla partire all'avvio, è meglio mettere bovinamente il comando in applicazioni d'avvio, o è meglio seguire la strada consigliata qui:
http://porkynator.wordpress.com/2009/07/06/conky-guida-allinstallazione-e-alla-configurazione/
... in pratica si crea un file "conky-starter.sh", con le istruzioni per un avvio ritardato (qualche secondo dopo l'avvio del pc) e con il controllo che non ne esista già una attiva (che altrimenti va segata)...

danialbi

io ho optato per lo script di avvio nel quale si puo' ritardare l'avvio di conky  per essere sicuri che sia l'ultima cosa che parte....

daniodo

Io utilizzo lo script qui sotto per farne partire 2 distinti, ritardando la partenza del secondo relativo alla mini stazione meteo, solo per dargli tempo al wifi di agganciarsi e visualizzare le previsioni.

Se può servire, fai un copia-incolla in un file .sh e, previo modifica dei permessi per l' esecuzione del file come programma, lo inserisci in preferenze -> applicazioni di avvio in modo da metterlo in esecuzione all'avvio del pc  ;)

#!/bin/bash
test -z `pgrep conky` || killall -9 conky
sleep 5
conky -d -c /home/daniodo/.conkyrc
sleep 10
conky -d -c /home/daniodo/.conkymeteo
exit
La causa della maggior parte dei problemi di un computer si trova tra la tastiera e lo schienale della sedia.
Gnomint su Aspire TimelineX 4820TG-I5-Ati Mobility Radeon HD5470 512Mb / Mint10 Gnome 64 bit su Aspire 6930G-Core 2 Duo T9400-NVidia GeForce 9600M GT 512Mb

midnite

ok, vada per lo script  :D .. grazie di nuovo a tutti  :ok:

daniodo

tieni presente che se utilizzi il comando sleep all'interno dello script, il numero che segue sono i secondi dopo i quali deve partire questo o quello  :ciao:
La causa della maggior parte dei problemi di un computer si trova tra la tastiera e lo schienale della sedia.
Gnomint su Aspire TimelineX 4820TG-I5-Ati Mobility Radeon HD5470 512Mb / Mint10 Gnome 64 bit su Aspire 6930G-Core 2 Duo T9400-NVidia GeForce 9600M GT 512Mb

daniodo

Vi posto "le ultime mie fatiche" partorite in mattinata.



Il codice del .conkyrc è questo:

# Conky settings #
background no
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
#imlib_cache_size 0

temperature_unit fahrenheit

# Window specifications #

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 200 250
maximum_width 200

alignment tr
gap_x 20
gap_y 20

# Graphics settings #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

# Text settings #
use_xft yes
xftfont caviar dreams:size=8
xftalpha 0.5

uppercase no

temperature_unit celsius

default_color FFFFFF

# caricamento del Lua  #
lua_load ~/.lua/scripts/clock_rings.lua
lua_draw_hook_pre clock_rings

TEXT
${voffset -8}${color 339900}${font caviar dreams:size=16}${time %A}${font}${voffset -8}${alignr 50}${color FFFFFF}${font caviar dreams:size=38}${time %e}${font}
${color FFFFFF}${voffset -30}${color FFFFFF}${font caviar dreams:size=18}${time %b}${font}${voffset -3} ${color FFFFFF}${font caviar dreams:size=20}${time %Y}${font}${color 339900}${hr}
/stations/ LIRV temperature temperature 30} °C${font}
${voffset 140}${image ~/.conky/linuxmint_main_logo.png -p 48,125 -s 100x40}
${color FFFFFF}${goto 10}${voffset 58}${cpu cpu0}%${goto 70}${memperc}%${goto 138}${swapperc}%
${color 339900}${goto 10}CPU${goto 72}RAM${goto 135}Swap
${color FFFFFF}${goto 35}${voffset 38}${fs_used_perc /home}%
${color 339900}${goto 37}Home
${color FFFFFF}${goto 115}${voffset -30}${downspeed wlanw0}
${goto 115}${upspeed eth0}
${color 339900}${goto 110}Net

${color FFFFFF}${font caviar dreams:size=8}${alignr}Uptime: ${uptime_short}
${color FFFFFF}${font caviar dreams:size=8}${alignr}Processi: ${processes}

${color 339900}${font caviar dreams:size=8}${alignr}${nodename}
${color 339900}${font caviar dreams:size=8}${alignr}${pre_exec cat /etc/issue.net}
${color 339900}${font caviar dreams:size=8}${alignr}Kernel: ${kernel}
${voffset -45}


... il relativo lua è questo:

--[[
Clock Rings by Linux Mint (2011) reEdited by despot77

This script draws percentage meters as rings, and also draws clock hands if you want! It is fully customisable; all options are described in the script. This script is based off a combination of my clock.lua script and my rings.lua script.

IMPORTANT: if you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away. The if statement on line 145 uses a delay to make sure that this doesn't happen. It calculates the length of the delay by the number of updates since Conky started. Generally, a value of 5s is long enough, so if you update Conky every 1s, use update_num>5 in that if statement (the default). If you only update Conky every 2s, you should change it to update_num>3; conversely if you update Conky every 0.5s, you should use update_num>10. ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it, otherwise the update_num will not be reset and you will get an error.

To call this script in Conky, use the following (assuming that you save this script to ~/scripts/rings.lua):
    lua_load ~/scripts/clock_rings.lua
    lua_draw_hook_pre clock_rings
   
Changelog:
+ v1.0 -- Original release (30.09.2009)
   v1.1p -- Jpope edit londonali1010 (05.10.2009)
*v Mint-lua -- reEdit despot77 (18.02.2011)
]]

settings_table = {
    {
        -- Edit this table to customise your rings.
        -- You can create more rings simply by adding more elements to settings_table.
        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
        name='time',
        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
        arg='%I.%M',
        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
        max=12,
        -- "bg_colour" is the colour of the base ring.
        bg_colour=0xffffff,
        -- "bg_alpha" is the alpha value of the base ring.
        bg_alpha=0.1,
        -- "fg_colour" is the colour of the indicator part of the ring.
        fg_colour=0x339900,
        -- "fg_alpha" is the alpha value of the indicator part of the ring.
        fg_alpha=0.2,
        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
        x=100, y=150,
        -- "radius" is the radius of the ring.
        radius=50,
        -- "thickness" is the thickness of the ring, centred around the radius.
        thickness=5,
        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
        start_angle=0,
        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
        end_angle=360
    },
    {
        name='time',
        arg='%M.%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0x339900,
        fg_alpha=0.4,
        x=100, y=150,
        radius=56,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%S',
        max=60,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0x339900,
        fg_alpha=0.6,
        x=100, y=150,
        radius=62,
        thickness=5,
        start_angle=0,
        end_angle=360
    },
    {
        name='time',
        arg='%d',
        max=31,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=100, y=150,
        radius=70,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
    {
        name='time',
        arg='%m',
        max=12,
        bg_colour=0xffffff,
        bg_alpha=0.1,
        fg_colour=0x339900,
        fg_alpha=1,
        x=100, y=150,
        radius=76,
        thickness=5,
        start_angle=-90,
        end_angle=90
    },
    {
        name='cpu',
        arg='cpu0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=35, y=260,
        radius=25,
        thickness=5,
        start_angle=-90,
        end_angle=180
    },
    {
        name='memperc',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=100, y=260,
        radius=25,
        thickness=5,
        start_angle=-90,
        end_angle=180
    },
    {
        name='swapperc',
        arg='',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=165, y=260,
        radius=25,
        thickness=5,
        start_angle=-90,
        end_angle=180
    },
    {
        name='fs_used_perc',
        arg='/',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=67, y=320,
        radius=25,
        thickness=5,
        start_angle=-90,
        end_angle=180
    },
        {
        name='downspeedf',
        arg='eth0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0x339900,
        fg_alpha=0.8,
        x=132, y=320,
        radius=25,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
        {
        name='upspeedf',
        arg='eth0',
        max=100,
        bg_colour=0xffffff,
        bg_alpha=0.2,
        fg_colour=0xff3300,
        fg_alpha=0.8,
        x=132, y=320,
        radius=20,
        thickness=4,
        start_angle=-90,
        end_angle=180
    },
}

-- Use these settings to define the origin and extent of your clock.

clock_r=65

-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.

clock_x=100
clock_y=150

show_seconds=true

require 'cairo'

function rgb_to_r_g_b(colour,alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

function draw_ring(cr,t,pt)
    local w,h=conky_window.width,conky_window.height
   
    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']

    local angle_0=sa*(2*math.pi/360)-math.pi/2
    local angle_f=ea*(2*math.pi/360)-math.pi/2
    local t_arc=t*(angle_f-angle_0)

    -- Draw background ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
    cairo_set_line_width(cr,ring_w)
    cairo_stroke(cr)
   
    -- Draw indicator ring

    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
    cairo_stroke(cr)       
end

function draw_clock_hands(cr,xc,yc)
    local secs,mins,hours,secs_arc,mins_arc,hours_arc
    local xh,yh,xm,ym,xs,ys
   
    secs=os.date("%S")   
    mins=os.date("%M")
    hours=os.date("%I")
       
    secs_arc=(2*math.pi/60)*secs
    mins_arc=(2*math.pi/60)*mins+secs_arc/60
    hours_arc=(2*math.pi/12)*hours+mins_arc/12
       
    -- Draw hour hand
   
    xh=xc+0.7*clock_r*math.sin(hours_arc)
    yh=yc-0.7*clock_r*math.cos(hours_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xh,yh)
   
    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
    cairo_set_line_width(cr,5)
    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
    cairo_stroke(cr)
   
    -- Draw minute hand
   
    xm=xc+clock_r*math.sin(mins_arc)
    ym=yc-clock_r*math.cos(mins_arc)
    cairo_move_to(cr,xc,yc)
    cairo_line_to(cr,xm,ym)
   
    cairo_set_line_width(cr,3)
    cairo_stroke(cr)
   
    -- Draw seconds hand
   
    if show_seconds then
        xs=xc+clock_r*math.sin(secs_arc)
        ys=yc-clock_r*math.cos(secs_arc)
        cairo_move_to(cr,xc,yc)
        cairo_line_to(cr,xs,ys)
   
        cairo_set_line_width(cr,1)
        cairo_stroke(cr)
    end
end

function conky_clock_rings()
    local function setup_rings(cr,pt)
        local str=''
        local value=0
       
        str=string.format('${%s %s}',pt['name'],pt['arg'])
        str=conky_parse(str)
       
        value=tonumber(str)
        pct=value/pt['max']
       
        draw_ring(cr,pct,pt)
    end
   
    -- Check that Conky has been running for at least 5s

    if conky_window==nil then return end
    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
   
    local cr=cairo_create(cs)   
   
    local updates=conky_parse('${updates}')
    update_num=tonumber(updates)
   
    if update_num>5 then
        for i in pairs(settings_table) do
            setup_rings(cr,settings_table[i])
        end
    end
   
    draw_clock_hands(cr,clock_x,clock_y)
end




... a seguire il codice del .conkymeteo:

# -- Conky settings -- #
background yes
update_interval 1

#cpu_avg_samples 2
#net_avg_samples 2

#override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 300 100
maximum_width 400
   
alignment tr
gap_x 250
gap_y 15

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont almonte:size=24
xftalpha 0.4

uppercase no

default_color 8b8b8b

TEXT
${color 339900}${voffset -15}${font Helvetica LT Std :size=11}${goto 5}Situazione Meteo ${execi 600 conkyForecast --location=ITXX0089 --datatype=CN --refetch}${font Helvetica LT Std :size=12}: ${color whitesmoke}${goto 200}${execi 600 conkyForecast --location=ITXX0089 --datatype=CT}
${voffset 5}${goto 200}${font Helvetica LT Std :size=28}${execi 600 conkyForecast --location=ITXX0089 -u --datatype=HT}
${voffset -10}${font Helvetica LT Std :size=8}${color white}${goto 200}Alba: ${execi 600 conkyForecast --location=ITXX0089 --datatype=SR}${font Helvetica LT Std :size=8}${goto 320}Vel.: ${execi 600 conkyForecast --location=ITXX0089 --datatype=WS}
${goto 200}Tramonto: ${execi 600 conkyForecast --location=ITXX0089 --datatype=SS}${goto 320}Direz.:${execi 600 conkyForecast --location=ITXX0089 --datatype=WD}
${voffset 15}${goto 190}${font ALTEA :size=12}${color 339900}Prossimi giorni
${voffset 60}${font Helvetica LT Std :size=8}${color whitesmoke}${goto 5}Fase Lunare:
${goto 5}${execi 600 conkyForecast --location=ITXX0089 --datatype=MP}
${voffset -20}${font Helvetica LT Std :size=9}${color red}${goto 130}${execi 600 conkyForecast --location=ITXX0089 --datatype=HT -u --startday=1}/${color #729FCF}${execi 600 conkyForecast --location=ITXX0089 --datatype=LT -u --startday=1}${font Helvetica LT Std :size=9}${color red}${goto 198}${execi 600 conkyForecast --location=ITXX0089 --datatype=HT -u --startday=2}/${color #729FCF}${execi 600 conkyForecast --location=ITXX0089 --datatype=LT -u --startday=2}${font Helvetica LT Std :size=9}${color red}${goto 268}${execi 600 conkyForecast --location=ITXX0089 --datatype=HT -u --startday=3}/${color #729FCF}${execi 600 conkyForecast --location=ITXX0089 --datatype=LT -u --startday=3}${font Helvetica LT Std :size=9}${color red}${goto 338}${execi 600 conkyForecast --location=ITXX0089 --datatype=HT -u --startday=4}/${color #729FCF}${execi 600 conkyForecast --location=ITXX0089 --datatype=LT -u --startday=4}
${voffset 0}${font Helvetica LT Std :size=8}${color white smoke}${goto 138}${execi 600 conkyForecast --location=ITXX0089 --datatype=DW --shortweekday --startday=1}${font Helvetica LT Std :size=8}${color white smoke}${goto 203}${execi 600 conkyForecast --location=ITXX0089 --datatype=DW --shortweekday --startday=2}${font Helvetica LT Std :size=8}${color white smoke}${goto 275}${execi 600 conkyForecast --location=ITXX0089 --datatype=DW --shortweekday --startday=3}${font Helvetica LT Std :size=8}${color white smoke}${goto 342}${execi 600 conkyForecast --location=ITXX0089 --datatype=DW --shortweekday --startday=4}
${font Bitstream Vera Sans Mono:size=7}${voffset -15}${color 669933}${goto 100}Aggiornato al: ${execi 600 conkyForecast --location=ITXX0089 --datatype=LU}
${execpi 600 conkyForecast --location=ITXX0089 --template=$HOME/weather+clock/vreme.template}
${voffset -110}


... ed infine il file di configurazione per le icone del meteo vreme.template:
${image [--datatype=WI] -p 20,0 -s 160x160} #METEO
${image [--datatype=MI] -p 20,165 -s 55x55} #LUNA
${image [--datatype=BI] -p 325,20 -s 55x55} #VENTO
${image [--datatype=WI --startday=1] -p 125,155 -s 60x60}
${image [--datatype=WI --startday=2] -p 190,155 -s 60x60}
${image [--datatype=WI --startday=3] -p 260,155 -s 60x60}
${image [--datatype=WI --startday=4] -p 325,155 -s 60x60}


.... e dopo tutto sono ancora vivo!!!  :D
La causa della maggior parte dei problemi di un computer si trova tra la tastiera e lo schienale della sedia.
Gnomint su Aspire TimelineX 4820TG-I5-Ati Mobility Radeon HD5470 512Mb / Mint10 Gnome 64 bit su Aspire 6930G-Core 2 Duo T9400-NVidia GeForce 9600M GT 512Mb

ken


Pedro

 Bellizzimo :clap: :clap: :clap:


bobol

Mi sto cimentando anche io con questo conky.......è fantastico, sono proprio all'inizio, e non riesco a cambiare il font ;D
Citazioneuse_xft yes
xftfont FreeSerifItalic:size=15
Queste se non ho capito male dovrebbero essere i comandi di impostazione ma il font rimane sempre lo stesso mentre le dimensioni cambiano....dove sbaglio?
thanks :ciao:

Powered by EzPortal