4-5 tuntia meni tähänkin tänään.
En ollut ennen kokeillu conkya ja olen myös aloittelija linuxilla, ja aluksi näyttikin siltä kuin näppäimistö olisi oksentanut notepadille. Hieman kuin tutustuin niin sain tämmöistä aikaiseksi:
Tiedän, että alin osio on leveämpi kuin muut. Se näyttää luonnollisemmalta kun näkee koko työpöydän, tuossa pikkukuvassa se näyttää tosiaan vähän turhalta.
background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
total_run_times 0
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 250 5
maximum_width 400
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer right
text_buffer_size 256
TEXT
$alignc${font Arial:size=12}${color Tan1}
${voffset -90}
${color DimGray}
${font}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color DimGray}$sysname $kernel $alignr $machine
Intel Core 2 Duo T9300 $alignr${freq_g}Ghz
Nvidia GeForce 8700GT $alignr ${color DimGray} ${exec nvidia-settings -q GPUCoreTemp | grep Attribute | cut -d ' ' -f 6 | cut -c 1-2} °C
M/B Temperature: $alignr${color DimGray}$acpitemp°C
Uptime $alignr${uptime}
${font Arial:bold:size=10}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2}
$font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1}
CPU2 ${cpu cpu2}% ${cpubar cpu2}
${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2}
$font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2}
$font${color DimGray}/home $alignc ${fs_used /home} / ${fs_size /home} $alignr ${fs_free_perc /home}%
${fs_bar /home}
${font Arial:bold:size=10}${color Tan1}TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color DimGray}$font${top_mem name 2}${alignr}${top mem 2} %
$font${top_mem name 3}${alignr}${top mem 3} %
$font${top_mem name 4}${alignr}${top mem 4} %
$font${top_mem name 5}${alignr}${top mem 5} %
${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
$font${color DimGray}IP on eth0 $alignr ${addr eth0}
$font${color DimGray}Internet IP $alignr ${pre_exec wget -O - http://ip.tupeux.com | tail}
Down $alignr ${downspeed eth0} kb/s
Up $alignr ${upspeed eth0} kb/s
Downloaded: $alignr ${totaldown eth0}
Uploaded: $alignr ${totalup eth0}
${font Arial:bold:size=10}${color Tan1}TIME & WEATHER ${color DarkSlateGray}${hr 2}
${color Ivory} ${font :size=32}$alignc${time %H:%M}
${voffset -30}${font :bold:size=10}$alignc${time %d %b. %Y}
${font :bold:size=8}$alignc${time %A}
${voffset 0}${font}${color Ivory}${font :size=17}${alignc 30}${execi 600 conkyForecast --location=FIXX0002 --datatype=HT}${alignc -30}${font ConkyWeather:size=30}${execpi 600 conkyForecast --location=FIXX0002 --datatype=WF}
${voffset 0}${font :bold:size=8}${alignc 34}${execpi 600 conkyForecast --location=FIXX0002 --datatype=DW --startday=1 --shortweekday} ${alignc 1}${execpi 600 conkyForecast --location=FIXX0002 --datatype=DW --startday=2 --shortweekday} ${alignc -31}${execpi 600 conkyForecast --location=FIXX0002 --datatype=DW --startday=3 --shortweekday} ${alignc -68}${execpi 600 conkyForecast --location=FIXX0002 --datatype=DW --startday=4 --shortweekday}
${voffset -1}${alignc 69}${font ConkyWeather:size=28}${execpi 600 conkyForecast --location=FIXX0002 --datatype=WF --startday=1 --endday=4 --spaces=1}${font}
${voffset 0}${font Gentium:size=7}${alignc 15}${execpi 600 conkyForecast --location=FIXX0002 --datatype=HT --startday=1 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=FIXX0002 --datatype=LT --startday=1 --hideunits --centeredwidth=3} ${alignc -13}${execpi 600 conkyForecast --location=FIXX0002 --datatype=HT --startday=2 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=FIXX0002 --datatype=LT --startday=2 --hideunits --centeredwidth=3} ${alignc -40}${execpi 600 conkyForecast --location=FIXX0002 --datatype=HT --startday=3 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=FIXX0002 --datatype=LT --startday=3 --hideunits --centeredwidth=3} ${alignr 40}${execpi 600 conkyForecast --location=FIXX0002 --datatype=HT --startday=4 --hideunits --centeredwidth=3}/${execpi 600 conkyForecast --location=FIXX0002 --datatype=LT --startday=4 --hideunits --centeredwidth=3}${font}
[ylläpito on poistanut liitteen]