Benvenuti nel mio Blog

Non aspettatevi nulla di eccezionale :-)

Member Login
Lost your password?

Un altro Conky

13 dicembre 2009
Di

E ti pareva che non mi tornava la conkymania… è inutile Conky da assuefazione e una volta cominciato…. non riesci più a smettere….

Non ho fatto nulla di sconvolgente, ho solo cercato di posizionare Conky in un’area del desktop che fosse in armonia col nuovo sfondo ed ho sostituito le icone  di default del Meteo, come suggerito qui.

La procedura per sostituire le icone del meteo è semplice, basta cercare su Google “Weather icons”, ce ne sono tantissime, io ho scelto queste, una volta scaricato l’archivio va scompattato e i file vanno copiati in:
/usr/share/conkyforecast/images/weathericons

Ovviamente il tutto va fatto con i privilegi di amministratore, e consiglio caldamente di salvare una copia delle icone di default, non si sa mai.

.conkyrc

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

# Update interval in seconds
update_interval 1.0

# 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 810 0
maximum_width 810

# 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_inner_margin 5

# border width
border_width 1
draw_graph_borders no
# Default colors and also border colors
default_color a0a6c5
#default_shade_color black
#default_outline_color white
own_window_colour 333333

# 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 152
gap_y 2

# 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
short_units yes
pad_percents 2
imlib_cache_size 0
TEXT
${voffset 0}${execpi 1800 conkyForecast --location=ITXX0065 --template=/home/luna/Scripts/conky/meteo.template}
${voffset -20}${goto 66}Cpu 0 ${cpu cpu0}%   ${execpi 100 sensors | grep 'Core0 Temp' | cut -c14-21}${goto 420}Cpu 1 ${cpu cpu1}%    ${execpi 100 sensors | grep 'Core1 Temp' | cut -c14-21}
${goto 64}${cpugraph cpu0 14,345 FF3600 6666FF}${goto 420}${cpugraph cpu1 14,345 FF3600 6666FF}
${goto 40}Ram: $memperc %${voffset 4}${goto 126}${membar 6,650}
${goto 32}Swap: $swapperc %${voffset 4} ${goto 126}${swapbar 6,655}
${goto 20}Down: ${downspeed wlan0} ${goto 420}Up: ${upspeed wlan0}
${goto 20}${downspeedgraph wlan0 14,370 ff0000 0000ff}${goto 420}${upspeedgraph wlan0 14,370 FF3600 6666FF}
${wireless_link_bar 6 wlan0}

meteo.template

${image [--datatype=BI] -p 190,70 -s 50x50}${image [--datatype=WI] -p 360,6 -s 70x70}${image [--datatype=MI] -p 562,70 -s 43x43}
${goto 380}${voffset 48}${font Purisa:size=16}[--datatype=HT]${font}
${goto 270}${voffset 10}${font Purisa:size=10}${voffset -2}[--datatype=DW --shortweekday --startday=1 --endday=4 --spaces=7]${font}
${image [--datatype=WI --startday=1] -p 257,127 -s 40x40}${image [--datatype=WI --startday=2] -p 342,127 -s 40x40}${image [--datatype=WI --startday=3] -p 427,127 -s 40x40}${image [--datatype=WI --startday=4] -p 515,127 -s 40x40}
${goto 266}${voffset 10}${font Purisa:size=10}[--datatype=LT --startday=1 --endday=1 --hideunits]/[--datatype=HT --startday=1 --endday=1 --hideunits]${goto 356}[--datatype=LT --startday=2 --endday=2 --hideunits]/[--datatype=HT --startday=2 --endday=2 --hideunits]${goto 442}[--datatype=LT --startday=3 --endday=3 --hideunits]/[--datatype=HT --startday=3 --endday=3 --hideunits]${goto 526}[--datatype=LT --startday=4 --endday=4 --hideunits]/[--datatype=HT --startday=4 --endday=4 --hideunits]${font}

Tags: ,

Ti potrebbero interessare anche:

v cv vc Conky orizzontale
Non potevo esimermi dal creare un conky anche per Arch Linux sul mio EeePc 1000H, quindi ho deciso...
v cv vc Conky Restyling
Dopo la scoperta dello script per il calendario orizzontale ho messo mano al conky del mio Pc principale...
v cv vc Un Conky anche per L’ EeePc 1005PE
Ok a me Conky piace moltissimo, e non solo perchè lo trovo molto utile, ma anche perchè mi rilassa...
v cv vc Installare Conky 1.7.2 e Conkyforecast 2.09 su Ubuntu 9.04
Conky già  nella versione 1.71, e quindi anche nell'ultima versione la 1.7.2  conky permette...



2 Responses to Un altro Conky

  1. Andrea Olivato il 14 dicembre 2009 alle 11:25

    Molto bello!

Lascia un Commento

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

*


:-) 
:-( 
;-) 
:good: 
:negative: 
:scratch: 
:wacko: 
:yahoo: 
B-) 
:heart: 
:dash: 
:whistle: 
:yes: 
:unsure: 
:cry: 
:mail: 
 


Desktop


Social Widgets powered by AB-WebLog.com.