Conky with me..

"Salam Sejahtera"

Melihat tampilan Desktop dengan "conky" memang bisa membuat kita lebih betah berada didepan computer/laptop yang kita miliki....
Ni gan saya mau kasih tuttorial untuk pemasangan "conky"... Langsung aje ya gan,ntr klo lama" dikira jualan obat lagi... heheheh :)
1. Install aplikasi "conky" ..... buka terminal

sudo apt-get install conky

2. Copas diterminal dan ikuti semua petunjuk dengan <y> dan <yes>

sudo add-apt-repository ppa:norsetto/ppa

sudo apt-get update

sudo apt-get install conky-all

sudo apt-get install python-statgrab ttf-droid curl

sudo apt-get install lm-sensors hddtemp

sudo /etc/init.d/module-init-tools start

sudo chmod u+s /usr/sbin/hddtemp

3. Downloads conky-colors

http://gnome-look.org/content/show.php/CONKY-colors?content=92328

4. Extract file yang sudah di download kemudian buka terminal. masuk ke folder hasil extract

./conky-colors --help

8. Masuk ke dalam direktory dimana file conky-colors disimpan yang telah  di extract 

make

make install

conky-colors {options}

*Ex;

conky-colors --theme=gnome-noble --lang=pt --cpu=4 --network --hd=default --pidgin

sudo gedit .conkyrc

isikan script dibawah ini;

background yes
use_xft yes
xftalpha 0.1
xftfont DejaVu Sans:size=8

update_interval 1

total_run_times 0

own_window yes
own_window_transparent yes
own_window_hints decorated,below,sticky,skip_taskbar,skip_pager
own_window_type override

double_buffer yes

minimum_size 200 220
maximum_width 220

draw_shades yes

default_color white

alignment bottom_right

gap_x 20
gap_y -120

no_buffers yes

net_avg_samples 2

override_utf8_locale yes
use_spacer right

TEXT
${color white}${font OpenLogos:size=40} t g${execi 400 ~/scripts/conditions.sh}${color 265276}${font}${voffset -25} ${execi 800 ~/scripts/pogodynka.sh}
${color orange}${font Goudy Bookletter 1911:style=Bold} LINUX
${voffset 2}${color orange}${font OpenLogos:size=25}t${color}${font}${voffset -8} ${uptime} ${alignr}${kernel}
${voffset 3}${font DejaVu Sans:size=12} ├─${font StyleBats:size=16}A${font} CPU1: ${color white}${cpu cpu1}% ${alignr}${cpubar cpu1 8,40 }${cpugraph cpu1 8,40 F57900 FCAF3E}
#############
# SYSTEM #
#############
${font DejaVu Sans:size=12} ├─${font StyleBats:size=16}A${font} CPU2: ${color white}${cpu cpu2}% ${alignr}${cpubar cpu2 8,40 }${cpugraph cpu2 8,40 F57900 FCAF3E}
${font DejaVu Sans:size=12} ├─${font StyleBats:size=16}g${font} RAM: $mem ${alignr}${membar 8,40}${memgraph 8,40 F57900 FCAF3E}
${font DejaVu Sans:size=12} ├─${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,80}
${voffset -4}${font Devil Inside:size=16}q${font} ACPI:${color orange} ${acpitemp}°C ${alignc}${color white}HDD:${color orange} ${hddtemp}°C ${alignr}${color white}CPU:${color orange} ${hwmon temp 1}°C
${if_running rhythmbox}${voffset 5}${color white}${font}CALENDAR [ ${time %Y} ]${hr 2}${color white}
${alignc 14}${font Arial Black:size=15}${time %H:%M}${font}
${alignc }${time %A %d %B}
${voffset 3}${color white}RHYTHMBOX ${hr 2}${color white}
${voffset 2}${color orange}${font OpenLogos:size=18}u${color}${font}${voffset -8} ${exec rhythmbox-client --no-start --print-playing-format %te} / ${exec rhythmbox-client --no-start --print-playing-format %td}${voffset -4}${goto 185}${font Poky:size=9}l${font} ${exec rhythmbox-client --no-start --print-volume|cut -d' ' -f 4 | sed 's/\(.\{4\}\).*/\1/' | sed 's/[\,]//g'}
##############
# RHYTHMBOX #
##############
${voffset 3}${font Bitstream Vera Sans:size=9} ├─ ${color yellow}${font Bitstream Vera Sans:size=9}${exec rhythmbox-client --no-start --print-playing-format %tt}
${font Bitstream Vera Sans:size=9}${color} ├─ ${color white}${font Bitstream Vera Sans:size=8}${exec rhythmbox-client --no-start --print-playing-format %aa}
${font Bitstream Vera Sans:size=9}${color} └─ ${color darkorange}${font Bitstream Vera Sans:size=7}${exec rhythmbox-client --no-start --print-playing-format %at}
${else}${voffset 5}${color white}${font}CALENDAR [ ${time %Y} ]${hr 2}${color white}
${alignc 35}${font Arial Black:size=30}${time %H:%M}${font}
${alignc -8}${time %A %d %B}
##############
# CALENDAR #
##############
${else}${voffset 5}${color white}${font}CALENDAR [ ${time %Y} ]${hr 2}${color white}
${alignc 35}${font Arial Black:size=30}${time %H:%M}${font}
${alignc -8}${time %A %d %B}
${endif}${font}
#############
# TOP #
#############
${color white}TOP [ ${running_processes}/${processes} ] ${hr 2}${color white}${font Bitstream Vera Sans:size=7}
${alignr}PID CPU MEM
${color white}${font StyleBats:size=10}A${font Bitstream Vera Sans:size=7}${color #ddaa00} ${top name 1} $alignr ${top pid 1} ${top cpu 1} ${top mem 1}$color
${top name 2} ${alignr} ${top pid 2} ${top cpu 2} ${top mem 2}
${color gray}${top name 3} $alignr ${top pid 3} ${top cpu 3} ${top mem 3}$color
${color white}${font StyleBats:size=10}g${font Bitstream Vera Sans:size=7}${color #ddaa00} ${top_mem name 1} $alignr
${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}$color
${top_mem name 2} $alignr ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
${color gray}${top_mem name 3} $alignr ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}${font}

${color orange}${font PizzaDude Bullets:size=12}M${font} Upload: ${totalup eth0}
${color white}${font PizzaDude Bullets:size=12}S${font} Download: ${totaldown eth0}

#############
# NEWTWORK #
#############
${if_existing /proc/net/route wlan0}${color white}WILLY_NETWORK [ ${wireless_essid wlan0} ][${execp ./conkyuniv -w} ${wireless_link_qual wlan0}${color white}
${font OpenLogos:size=15}u t u t u
${voffset 6}${font DejaVu Sans:size=12} ├─${font PizzaDude Bullets:size=14}N${font} UPL: ${upspeed wlan0} /s ${alignr}${upspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset -8}${font DejaVu Sans:size=12} │${font}${alignr}${totalup wlan0}
${voffset -2}${font DejaVu Sans:size=12} ├─${font PizzaDude Bullets:size=14}T${font} DWN: ${downspeed wlan0} /s ${alignr}${downspeedgraph wlan0 8,60 F57900 FCAF3E}
${voffset -8}${font DejaVu Sans:size=12} │${font}${alignr}${totaldown wlan0}
${font PizzaDude Bullets:size=14}a${font} WILLY Ip: ${color white}${alignr}
${addr wlan0}${endif}${if_existing /proc/net/route eth0}
${voffset 2}${color orange}${font OpenLogos:size=18}u${color}${font}${voffset -8}...X-LINUX_FILES_Ip: ${color orange}${alignr}${addr eth0}${endif}

##################
${color white}${font Goudy Bookletter 1911:style=Bold}PROCESSES${font} ${hr 2}
NAME $alignr PID CPU
${color orange}${top name 1} $alignr ${top pid 1} ${top cpu 1}
${color white}${top name 2} $alignr ${top pid 2} ${top cpu 2}
${color orange}${top name 3} $alignr ${top pid 3} ${top cpu 3}
${color white}${top name 4} $alignr ${top pid 4} ${top cpu 4}
${color orange}${top name 5} $alignr ${top pid 5} ${top cpu 5}
############
# PIDGIN #
############
${color white}
${voffset 4}${font Droid Sans:style=Bold:size=8}PIDGIN $stippled_hr${font}${if_running pidgin}
${voffset 4}${execpi 10 /home/rafa/conkypidgin/-o -s -l 5}${else}
${voffset 4}${color orange}${font PizzaDude Bullets:size=12}4${font}${color orange}${goto 32} Pidgin not running ${endif} ${voffset 4}${color orange}${font PizzaDude Bullets:size=30}3

Copas script dibawah ini kemudian simpan di [home] kamu

#!/bin/bash
sleep 30 && conky ;


7. setelah scriptnya tersimpan & pastikan terletak di home anda. untuk memastikan bahwa script .conky_startup.sh ada di home bisa dengan membuka nautilus anda lalu tekan ctrl+h untuk melihat file yang tersembunyi. Cari & temukan script yang baru kita buat & bila ada berarti scriptnya sudah benar ada di home Ubuntu anda.

9. kita perlu membuat script dengan nama

.start_conky.sh

kemudian dieksekusi dengan cara membuka terminal lalu ketik

sudo chmod a+x .start_conky.sh


kemudian buka Startup Application, lalu tambahkan list baru,isi commandnya dengan

/home/USERNAME/.start_conky.sh

Kemudian simpan.Restart computer/laptop kamu,, tunggu bebrapa saat.... kalo belum berhasil coba perhatikan baik",mungkin ada yang terlewat dan mungkin juga belum beruntung,,, hehe :) ... Good Luck
   
    


0 komentar to "Conky with me.."

Posting Komentar

Share
Linux-Blogs : Translate

Blog Archive