先ずは、フォンとのインストールが必要となります。
Cheri
PizzaDude Bullets
StyleBats
Famous Logos
Weather
で、ダウンロードしたTTFファイルをconkyフォルダの中に全部入れてフォントフォルダへ入れて、fc-cacheすれてOK。
$ unzip xxx
$ mkdir conky
$ mv xxx/*.ttf conky
$ sudo mv conky /usr/share/fonts/truetype/
$ sudo fc-cache -f -v /usr/share/fonts/truetype/conky
.conkyrcは現時点では 下記な感じです。
background yes
use_xft yes
xftfont 123:size=10
xftalpha 0.1
update_interval 2
total_run_times 0
own_window yes
own_window_type normal
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 yes
text_buffer_size 256
TEXT
${font openlogos:size=20}U${font Arial:size=20}${color Tan1}GNU${color Ivory}LINUX${font openlogos:size=20}t
${voffset -90}
${color DimGray}
${font}
${color Tan2}${font StyleBats:size=14}A${font Arial:bold:size=10} SYSTEM ${color DarkSlateGray} ${hr 2}
${color white}${font XSpiralmental:size=14}O${font}${color DimGray} $sysname $kernel $alignr $machine
${color white}${font PizzaDude Bullets:size=14}3${font}${color DimGray} Intel Centrino Duo $alignr${freq_g cpu0}Ghz
${color white}${font PizzaDude Bullets:size=14}D${font}${color DimGray} Uptime $alignr${uptime}
${color white}${font PizzaDude Bullets:size=14}#${font}${color DimGray} File System $alignr${fs_type}
${color Tan2}${font PizzaDude Bullets:size=14}a${font Arial:bold:size=10} TEMPERATURE ${color DarkSlateGray}${hr 2}
${color white}${font Weather:size=14}y${color DimGray}$font CUP Core0: $alignr ${execi 180 sensors | grep 'Core 0' | awk '{print $3}' }
${color white}${font Weather:size=14}y${color DimGray}$font CUP Core1: $alignr ${execi 180 sensors | grep 'Core 1' | awk '{print $3}' }
${color white}${font Weather:size=14}y${color DimGray}$font Nvidia GPU: $alignr ${execi 60 nvidia-settings -query GPUCoreTemp | grep '):' | awk '{print $4}' | sed 's/\.//'}°C
${color white}${font Weather:size=14}y${color DimGray}$font HDD sda: $alignr ${hddtemp /dev/sda}
${color white}${font Weather:size=14}y${color DimGray}$font HDD sdb: $alignr ${hddtemp /dev/sdb}
${color Tan2}${font PizzaDude Bullets:size=14}Z${font Arial:bold:size=10} PROCESSORS ${color DarkSlateGray}${hr 2}
${color white}${font Famous Logos:size=12}:${font}${color DimGray} CPU1 ${cpu cpu1}% ${cpubar cpu1}
${color white}${font Famous Logos:size=12}:${font}${color DimGray} CPU2 ${cpu cpu2}% ${cpubar cpu2}
${color Tan2}${font PizzaDude Bullets:size=14}*${font Arial:bold:size=10} MEMORY ${color DarkSlateGray}${hr 2}
${color white}${font PizzaDude Bullets:size=11})${font}${color DimGray} RAM : $mem/$memmax $alignr $memperc%
${color Tan2}${font StyleBats:size=14}V${font Arial:bold:size=10} HDD ${color DarkSlateGray}${hr 2}
${color white}${font PizzaDude Bullets:size=11}t${color DimGray}$font / $alignr ${fs_used /}/${fs_size /}
${color white}${font PizzaDude Bullets:size=11}t${color DimGray}$font /home $alignr ${fs_used /home}/${fs_size /home}
${color white}${font PizzaDude Bullets:size=11}t${color DimGray}$font /warehouse $alignr ${fs_used /home/nori/warehouse}/${fs_size /home/nori/warehouse}
${color Tan2}${font StyleBats:size=14}J${font Arial:bold:size=10} TOP PROCESSES ${color DarkSlateGray}${hr 2}
${color white}${font Cheri:size=11}1:${color DimGray}$font ${top name 1}${alignr}${top cpu 1} %
${color white}${font Cheri:size=11}2:${color DimGray}$font ${top name 2}${alignr}${top cpu 2} %
${color white}${font Cheri:size=11}3:${color DimGray}$font ${top name 3}${alignr}${top cpu 3} %
${color Tan2}${font StyleBats:size=14}U${font Arial:bold:size=10} TOP MEMORY ${color DarkSlateGray}${hr 2}
${color white}${font Cheri:size=11}1:${color DimGray}$font ${top_mem name 1}${alignr}${top_mem mem 1} %
${color white}${font Cheri:size=11}2:${color DimGray}$font ${top_mem name 2}${alignr}${top_mem mem 2} %
${color white}${font Cheri:size=11}3:${color DimGray}$font ${top_mem name 3}${alignr}${top_mem mem 3} %
${color Tan2}${font StyleBats:size=14}R${font Arial:bold:size=10} NETWORK ${color DarkSlateGray}${hr 2}
${color white}${font PizzaDude Bullets:size=11}Q${font}${color DimGray} External IP$alignr${execi 3600 wget -O - http://whatismyip.org/ | tail}
${color white}${font PizzaDude Bullets:size=11}W${font}${color DimGray} Private IP$alignr ${addr eth0}
${color white}${font PizzaDude Bullets:size=11}T${font}${color DimGray} Download $alignr ${downspeed eth0} kb/s
${downspeedgraph eth0 }
${color white}${font PizzaDude Bullets:size=11}N${font}${color DimGray} Upload $alignr ${upspeed eth0} kb/s
${upspeedgraph eth0}
0 件のコメント:
コメントを投稿