conky xubuntu 10.04

1. install conky dengan perintah

#sudo apt-get install conky

2. buat kode konfigurasi atau buat sebuah file bernama .conkyrc pada /home/[nama user]

3. berikan code conky


background yes
use_xft yes
xftfont Sans:size=8
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 200
maximum_width 200
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 12
gap_y 12
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

${font sans-serif:bold:size=8}SYSTEM ${hr 2}
${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
Load:$alignr $loadavg

${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
${font sans-serif:normal:size=8}${cpugraph cpu1 0000FF 0000FF}
CPU: ${cpu cpu1}% ${cpubar cpu1}
Speed:  $alignr${freq}MHz

${font sans-serif:bold:size=8}MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%

${font sans-serif:bold:size=8}DISKS ${hr 2}
${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
swap $alignc ${swap} / ${swapmax} $alignr ${swapperc}%

${font sans-serif:bold:size=8}DISK I/O ${hr 2}
${font sans-serif:normal:size=8}Reads: $alignc ${diskio_read /dev/sda1} ${alignr}${diskiograph_read 10,90 00FF00 00FF00}
${font sans-serif:normal:size=8}Writes: $alignc ${diskio_write /dev/sda1} ${alignr}${diskiograph_write 10,90 FF0000 FF0000}
${font sans-serif:normal:size=8}${diskiograph 0000FF 0000FF}

${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
${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${top_mem name 6}${alignr}${top mem 6} %

${font sans-serif:bold:size=7}Currently:$alignr$processes processes ($running_processes running)

${font sans-serif:bold:size=8}NETWORK ${hr 2}
${font sans-serif:normal:size=8}Up: $alignc${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 10,90 FF0000 FF0000}
${font sans-serif:normal:size=8}Down: $alignc${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 10,90 00FF00 00FF00}
${font sans-serif:normal:size=8}Upload: ${alignr}${totalup eth0}
${font sans-serif:normal:size=8}Download: ${alignr}${totaldown eth0}
${font sans-serif:normal:size=8}Local IP: ${alignr}${addr eth0}

${font sans-serif:normal:size=8}Up: $alignc${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 10,90 FF0000 FF0000}
${font sans-serif:normal:size=8}Down: $alignc${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 10,90 00FF00 00FF00}
${font sans-serif:normal:size=8}Upload: ${alignr}${totalup eth1}
${font sans-serif:normal:size=8}Download: ${alignr}${totaldown eth1}
${font sans-serif:normal:size=8}Local IP: ${alignr}${addr eth1}
${font sans-serif:normal:size=8}ESSID: $alignr ${wireless_essid ath0}
${font sans-serif:normal:size=8}Signal: ${wireless_link_qual eth1}% ${alignr}${wireless_link_bar 10,120 eth1}


Conky Startup

Applications –> Settings –> Xfce 4 Settings Manager

Session and Startup –> (pilih tab) Application Auto Start

browse dan  cari pada /usr/bin/conky


2 thoughts on “conky xubuntu 10.04

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s