conky란 바탕화면에서 오른쪽에 나오는 시스템 모니터링 도구이다.
설치는
지크님의 글을 참조하였다.
프로그램 설치
sudo apt-get install conky
sudo apt-get install devilspie
// devilspie는 바탕화면이 conky를 덮어버리는 현상을 해결하기 위한 것
그 외에도 특정 어플리케이션을 데스크탑 화면에서 실행시키기 위한 프로그램
지크님의 conky에서 hdd 부분만 나에게 맞게 수정하였음
~ 경로에 생성해주는 .conky 파일
more..
alignment top_right
background no
border_margin 4
border_width 1
cpu_avg_samples 2
default_color white
default_outline_color green
default_shade_color black
double_buffer yes
draw_borders no
draw_outline no
draw_shades yes
gap_x 20
gap_y 50
minimum_size 250 5
net_avg_samples 2
no_buffers no
on_bottom yes
override_utf8_locale no
own_window yes
own_window_colour black
own_window_hints undecorated skip_taskbar skip_pager
own_window_transparent yes
total_run_times 0
update_interval 5.0
uppercase no
use_spacer no
use_xft yes
xftalpha 0.8
xftfont Monospace:size=10
TEXT
$sysname $kernel on $machine
$stippled_hr
${color lightgrey}Uptime:$color $uptime ${color lightgrey} Load:$color $loadavg
$stippled_hr
${color lightgrey}CPU Usage:${color #cc2222} $cpu% ${cpubar}
$color${cpugraph 00ff00 ff0000}
$stippled_hr
${color lightgrey}RAM:$color $mem/$memmax ($memperc%) ${membar}
${color lightgrey}Swap:$color $swap/$swapmax ($swapperc%) ${swapbar}
${color lightgrey}Processes:$color $processes ${color lightgrey}Running:$color $running_processes
$stippled_hr
${color}CPU Usage CPU% PID
${color orange} ${top name 1} ${top cpu 1} ${top pid 1}
${color lightgrey} ${top name 2} ${top cpu 2} ${top pid 2}
${color lightgrey} ${top name 3} ${top cpu 3} ${top pid 3}
${color lightgrey} ${top name 4} ${top cpu 4} ${top pid 4}
${color lightgrey} ${top name 5} ${top cpu 5} ${top pid 5}
$stippled_hr
${color}Mem Usage MEM% PID
${color orange} ${top_mem name 1} ${top_mem mem 1} ${top_mem pid 1}
${color lightgrey} ${top_mem name 2} ${top_mem mem 2} ${top_mem pid 2}
${color lightgrey} ${top_mem name 3} ${top_mem mem 3} ${top_mem pid 3}
${color lightgrey} ${top_mem name 4} ${top_mem mem 4} ${top_mem pid 4}
${color lightgrey} ${top_mem name 5} ${top_mem mem 5} ${top_mem pid 5}
$stippled_hr
${color lightgrey}Networking: ${addr eth0} (${linkstatus eth0}%)
${color green}DN: ${downspeedgraph eth0 32,110 00ff00 ffffff} ${color red}UP: ${upspeedgraph eth0 32,110 ffff00 ffffff}${color lightgrey}
$stippled_hr
${color lightgrey}File systems:
root: $color${fs_used /}/${fs_size /} ${fs_bar /}
DATA: $color${fs_used /media/DATA}/${fs_size /media/DATA} ${fs_bar /media/DATA}
$stippled_hr
${color lightgrey}Temperature: $color${acpitemp}C
${color lightgrey}Power: $acpiacadapter (${battery})
$stippled_hr
터미널 창에서 아래와 같이 파일 생성
mkdir ~/.devilspie
touch ~/.devilspie/conky.ds
conky.ds 파일 내용
more..
(if
(is (application_name) "conky")
(begin
(pin)
(skip_tasklist)
(skip_pager)
)
)
시스템 -> 기본 설정 -> 시작 응용프로그램에 conky와 devilspie를 추가 등록한다.
재부팅하면 정상적으로 작동됨.
http://www.rain9.com/tc/trackback/181