ການຕິດຕັ້ງ conky ໃນ ອູບັນຕູ 8.10

ແບບວ່ານັ່ງໄປນັ່ງມາອາກາດຫນາວໆ ເລີຍມາຂຽນບົດຄວາມໃຫ້ພີ່ນ້ອງໄດ້ອ່ານກັນ

ກັບການຕິດຕັ້ງ conky ໃຫ້ກັບອູບັນຕູເຊິ່ງ conky ແມ່ນເປັນໂປຣແກຣມທີ່ສະແດງລາຍລະອຽດຂອງລະບົບໃນປະຈຸບັນອອກມາທາງຫນ້າຈໍ

ບໍ່ເວົ້າຍາວເນາະເລີ່ມກັນເລີຍ

ເປີດ terminal ຂຶ້ນມາແລ້ວພິມ
sudo apt-get install conky
ຫລັງຈາກນັ້ນລະບົບຈະທຳການດາວໂຫລດແລະຕິດຕັ້ງ conky

ຫລັງຈາກສຳເລັດແລ້ວໃຫ້ທົດລອງເປີດໂປຣແກຣມດ້ວຍຄຳສັ່ງ
$ conky

Laoubuntu

Laoubuntu


ຈະສັງເກດເຫັນວ່າຫນ້າຕາບໍ່ຄ່ອຍງາມປານໃດເນາະ

ບາດນີ້ເຣົາມາປັບແຕ່ງຫນ້າຕາມັນຈັກຫນ່ອຍກ່ອນ

ດ້ວຍຄຳສັ່ງ

cd ~

ແລະ

gedit .conkyrc

ຈາກນັ້ນຈະເປີດຫນ້າ G Editor ມາໃຫ້
ແລ້ວ Copy ເອົາ Code ຈາກເວັບນີ້ມາໃສ່ http://conky.sourceforge.net/conkyrc-jc

ຫລື ຈະເອົາ CODE ລຸ່ມນີ້ໄປໃສ່ກໍໄດ້

###################################Start##############################################

# THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP
# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED

# maintain spacing between certain elements
use_spacer yes

# set to yes if you want conky to be forked in the background
background no

use_xft yes

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono-7
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10

# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL

# Update interval in seconds
update_interval 4.0

# Create own window instead of using desktop (required in nautilus)
own_window no

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 280 5

# Draw shades?
draw_shades yes

# Draw outlines?
draw_outline no # amplifies text

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
border_margin 9

# border width
border_width 1

# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 24
gap_y 24

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# stuff after ‘TEXT’ will be formatted on screen

TEXT
${color #ffcb48}$nodename$color ${color #828282}$sysname $kernel on
$machine$color
${color #98c2c7}Batt:$color ${battery}

${color #ffcb48}PROCESSING$color
${color #98c2c7}CPU:$color ${execi 5 cpuspeed}MHz $cpu%
${execi 5 cputemp}°C
${color #78af78}$cpubar
${color #78af78}${cpugraph 78af78 a3a3a3}

${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #c4c4c4}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #a3a3a3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #828282}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}

${color #ffcb48}DATA$color
${color #98c2c7}RAM:$color $memperc% ${color
#78af78}${membar 6}${color}

${color #98c2c7}NAME PID CPU% MEM%
${color #e5e5e5}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1}
${top_mem mem 1}
${color #c4c4c4}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2}
${top_mem mem 2}
${color #a3a3a3}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3}
${top_mem mem 3}
${color #828282}${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4}
${top_mem mem 4}

${color #98c2c7}Swap:$color $swapperc% ${color
#78af78}${swapbar 6}$color
${color #98c2c7}/:$color ${fs_free_perc /}% $fs_free ${color
#78af78}${fs_bar 6 /}$color

${color #98c2c7}Upload:$color ${upspeed eth0}kb/s${color #98c2c7}
Download:$color ${downspeed eth0}kb/s

########################OS555#################################

ຫລັງຈາກນັ້ນກໍ່ Save ແລະ ທົດລອງເປີດ conky ຂຶ້ນມາໃຫມ່ອີກເທື່ອ

ຈະໄດ້ຫນ້າຕາແບບນີ້


ທ່ານສາມາດ ເລືອກຫນ້າຕາງາມໆໄດ້ທີ່

http://conky.sourceforge.net/screenshots.html

ເປັນອັນວ່າຈົບພິທີ

ເຊິ່ງຂໍ້ດີຂອງ conky ຄືເຮັດໃຫ້ເຮົາເຫັນລະບົບການທຳງານຂອງເຄື່ອງເຊັ່ນ: ໃຊ້ RAM ໄປຫລາຍປານໃດແລ້ວ, CPU, Hard disk ແລະ ອື່ນໆ

Tags: , , , , ,

Leave a Reply

You must be logged in to post a comment.