Tanya 74 : Conky, Monitoring Tools cantik di Desktop Ubuntu Anda

Tanya :
Mas Reza, Saya pernah dengar istilah conky. Apakah itu ?
Jawab :
Conky adalah salah satu perangkat monitoring di Linux.
Di Ubuntu Anda dapat menginstallnya dengan mudah :

sudo apt-get install conky

Untuk menjalankannya ketik di terminal anda

conky

Tampilan dasarnya tampak seperti gambar berikut :

Tampilan Dasar Conky

Anda dapat mengedit file .conkyrc (buat jika belum ada) di direktori ~/ anda untuk mendapatkan tampilan conky yang lebih asyik.
Contoh file .conkyrc ada di bawah ini (boleh dicopy paste ke sistem anda). Diperoleh dari Vivek di situs linuxhub.

background yes
use_xft yes
xftfont Zecton:size=8
xftalpha 0.5
update_interval 1.0
total_run_times 0
double_buffer yes
no_buffers no
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorate,sticky,skip_taskbar,skip_pager
minimum_size 500 5
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
default_color lightgrey
alignment top_right
gap_x 15
gap_y 50
uppercase no
override_utf8_locale yes
TEXT
${color white} ${font PizzaDude Bullets:size=16}V${font :size=10}   Date&Time $hr $font $color
${goto 1000}${time %l:%M}${font}${time %p}
${time %A, %e %B %Y}
${color white}${font OpenLogos:size=18} I${font :size=10}   SYSTEM $hr $font
$color $font$sysname: ${alignr} $kernel ($machine)
$color Battery: ${alignr}$battery_time
${color white} ${font StyleBats:size=16}V${font :size=10}   CPU $hr $font $color
$color ${font}CPU@${freq}MHz: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
$color ${top name 1} $alignr ${top cpu 1}%
$color ${top name 2} $alignr ${top cpu 2}%
${color white}${font StyleBats:size=16}E${font :size=10}   MEMORY $hr $font $color
${color}${font}RAM: $mem/$memmax $alignr $memperc%
$color ${membar}
${color}${font}Swap: $swap/$swapmax $alignr $swapperc%
$color ${swapbar}
$color ${top_mem name 1} $alignr ${top_mem mem 1}%
$color ${top_mem name 2} $alignr ${top_mem mem 2}%
${color white} ${font PizzaDude Bullets:size=16}K${font :size=10}   HDD $hr $font $color
$color root: ${fs_used /}/${fs_size /} $alignr ${fs_free_perc /}%
$color ${fs_bar /}
$color home: ${fs_used /home}/${fs_size /home} $alignr ${fs_free_perc /home}%
$color ${fs_bar /home}
$color windows: ${fs_used /media/sda1}/${fs_size /media/sda1} $alignr ${fs_free_perc /media/sda1}%
$color ${fs_bar /home}
$color stuff: ${fs_used /media/sda5}/${fs_size /media/sda5} $alignr ${fs_free_perc /media/sda5}%
$color ${fs_bar /home}
${color white} ${font PizzaDude Bullets:size=16}@${font :size=10}   NETWORK $hr $font $color
$color Local IP: $alignr${addr wlan0}
$color Public IP: $alignr${execi 1 ~/.conky/ip.sh}
$color Download: ${downspeedf wlan0} KB/s $alignr ${totaldown wlan0}
$color Upload: ${upspeedf wlan0} KB/s $alignr ${totalup wlan0}
${color white} ${font Arial Black:size=16}@${font :size=10}   GMAIL $font $color${alignc}${execi 60 ~/.conky/gmail.sh}
${color white} ${font PizzaDude Bullets:size=16}@${font :size=10}   Weather $hr $font $color
$color Skies are: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EFTP cloud_cover}
$color Winds from the: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EFTP wind_dir}
$color Winds speed: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EFTP wind_speed} km/h
$color Humidity: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EFTP humidity}% relative humidity
$color Temperature: ${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ EFTP temperature}C

Dan anda akan dapatkan tampilan conky anda berubah menjadi lebih cantik seperti ditunjukkan screenshot dibawah ini

Tampilan Conky setelah modifikasi

Selamat mencoba

1 Comment

Leave a Reply

Your email address will not be published.


*