Coba pasang conky di DE manokwari

Coba-coba pasang conky dengan ‘weather forecast’ dari gnome look. Jangan lupa buka file READMEnya dahulu.
Unduh conkyforecast lalu install.
Dipadukan dengan bacaan dari UPF

settingan .conkyrc

######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont GE Inspira:size=10
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

gap_x 0
gap_y 60
alignment top_right

minimum_size 350

#########################
# - Graphics settings - #
#########################

draw_shades no

####
## colors.
# 
color0 White
color1 Ivory
color2 Ivory2
color3 Ivory3
color4 Tan1
color5 Tan2
color6 Gray
color7 AntiqueWhite4
color8 DarkSlateGray
color9 Black
### pilihan warna yang lain ###
### <a href="http://www.graphviz.org/doc/info/colors.html"> http://www.graphviz.org/doc/info/colors.html</a> ###

override_utf8_locale yes

TEXT
${voffset -8}${goto 75}${font style=bold:size=12}${execi 3 conkyForecast --location=IDXX0022 --datatype=CN} | ${execi 3 conkyForecast --location=IDXX0022 --datatype=HT}${font}
${goto 75}${execi 3 conkyForecast --location=IDXX0022 --datatype=CT}
${goto 75}${font GE Inspira:style=bold:size=10}Kelembaban: ${font}${execi 3 conkyForecast --location=IDXX0022 --datatype=HM} | ${font}${font GE Inspira:style=bold:size=10}Kecepatan Angin: ${font}${execi 3 conkyForecast --location=IDXX0022 --datatype=WS -M}${font} | ${font}${font GE Inspira:style=bold:size=10}Barometer: ${font}${execi 3 conkyForecast --location=IDXX0022 --datatype=BR -u} hPa${font}
${goto 75}${font GE Inspira:style=bold:size=10}SunRise: ${font}${execi 3 conkyForecast --location=IDXX0022 --datatype=SR} | ${font}${font GE Inspira:style=bold:size=10}SunSet: ${font}${execi 3 conkyForecast --location=IDXX0022 --datatype=SS}${font}

#${font ConkyWeather:size=30}${execi 3 conkyForecast --location=IDXX0022 --datatype=WF --startday=1}${goto 70}${execi 3 conkyForecast --location=IDXX0022 --datatype=WF --startday=2}${goto 140}${execi 3 conkyForecast --location=IDXX0022 --datatype=WF --startday=3}${goto 210}${execi 3 conkyForecast --location=IDXX0022 --datatype=WF --startday=4}${goto 280}${execi 3 conkyForecast --location=IDXX0022 --datatype=WF --startday=5}${font}
${voffset 43}${color2}${execi 3 conkyForecast --location=IDXX0022 --datatype=DW --startday=1}${goto 70}${color2}${execi 3 conkyForecast --location=IDXX0022 --datatype=DW --startday=2}${goto 140}${color2}${execi 3 conkyForecast --location=IDXX0022 --datatype=DW --startday=3}${goto 210}${color2}${execi 3 conkyForecast --location=IDXX0022 --datatype=DW --startday=4}${goto 280}${color2}${execi 3 conkyForecast --location=IDXX0022 --datatype=DW --startday=5}
${color2}${execi 3 conkyForecast --location=IDXX0022  -u --startday=1}/${color b2b2b2}${execi 3 conkyForecast --location=IDXX0022 --datatype=LT -u --startday=1}${goto 70}${color2}${execi 3 conkyForecast --location=IDXX0022  -u --startday=2}/${color b2b2b2}${execi 3 conkyForecast --location=IDXX0022 --datatype=LT -u --startday=2}${goto 140}${color2}${execi 3 conkyForecast --location=IDXX0022  -u --startday=3}/${color b2b2b2}${execi 3 conkyForecast --location=IDXX0022 --datatype=LT -u --startday=3}${goto 210}${color2}${execi 3 conkyForecast --location=IDXX0022  -u --startday=4}/${color b2b2b2}${execi 3 conkyForecast --location=IDXX0022 --datatype=LT -u --startday=4}${goto 280}${color2}${execi 3 conkyForecast --location=IDXX0022  -u --startday=5}/${color b2b2b2}${execi 3 conkyForecast --location=IDXX0022 --datatype=LT -u --startday=5}
###################
# sesuaikan dengan direcktorinya
##################
${execpi 3 conkyForecast --location=IDXX0022 --template=/home/xxxxxxxx/.weather.template}

${voffset -66}${goto 178}${font UbuntuTitleBold:size=20}${color4}BlankOn.Rote
##################
##    SYSTEM    ##
##################
${voffset 10}${font Arial:bold:size=9.5}${color4}SYSTEM ${color8} ${hr 2}
${voffset 4}${font openlogos:size=10}${color2}u${voffset -4}${font}${color6} ${sysname} ${kernel} ${alignr} ${machine}
${voffset 2}${font StyleBats:size=10}${color2}A${voffset -1}${font}${color6} Intel I5 ${alignr}${freq_g cpu0} GHz
${voffset 2}${font StyleBats:size=10}${color2}q${voffset -1}${font}${color6} Uptime ${alignr}${uptime}
${voffset 2}${font StyleBats:size=10}${color2}o${voffset -1}${font}${color6} File System ${alignr}${fs_type}
##################
##  PROCESSORS  ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}PROCESSORS ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU1  ${cpu cpu1}%${color7}${alignc 35}${cpubar cpu1}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU2  ${cpu cpu2}%${color7}${alignc 35}${cpubar cpu2}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU3  ${cpu cpu3}%${color7}${alignc 35}${cpubar cpu3}
${voffset 2}${font StyleBats:size=10}${color2}k${voffset -2}${font}${color6} CPU4  ${cpu cpu4}%${color7}${alignc 35}${cpubar cpu4}
##################
##    MEMORY    ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}MEMORY ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color2}l${voffset -2}${font}${color6} RAM ${goto 95}${mem}/ ${memmax}${alignr}${memperc}%
${color7}${membar}
# TOP PROCESSES ##
##################
${voffset 3}${font Arial:bold:size=9.5}${color4}TOP PROCESSES ${color8}${hr 2}
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 1}${goto 115}${top_mem mem_res 1}${alignr}${top_mem mem 1}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 2}${goto 115}${top_mem mem_res 2}${alignr}${top_mem mem 2}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 3}${goto 115}${top_mem mem_res 3}${alignr}${top_mem mem 3}%
${voffset 2}${font StyleBats:size=10}${color1}h${voffset -3}${font}${color6} ${top_mem name 4}${goto 115}${top_mem mem_res 4}${alignr}${top_mem mem 4}%
##################
##   NETWORK    ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}NETWORK ${color8}${hr 2}
${voffset 2}${font PizzaDude Bullets:size=10}${color2}a${font}${color6} Private IP${alignr}${addr eth0}
${font PizzaDude Bullets:size=10}${color2}a${font}${color6} Public  IP${alignr}${execi 600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]|.]//g'}
${voffset 4}${font PizzaDude Bullets:size=10}${color2}T${font}${color6} Down${alignr}${downspeed eth0}
${font PizzaDude Bullets:size=10}${color2}N${font}${color6} Up${alignr}${upspeed eth0}
${voffset 4}${font PizzaDude Bullets:size=10}${color2}T${font}${color6} Downloaded${alignr}${totaldown eth0}
${font PizzaDude Bullets:size=10}${color2}N${font}${color6} Uploaded${alignr}${totalup eth0}
################## 
##     TIME     ##
##################
${voffset 5}${font Arial:bold:size=9.5}${color4}TIME ${color8}${hr 2}
${voffset -4}${if_match ${time %l}<=9}${font RadioSpace:size=32}${color3}${alignc 2}${time %H:%Mh }${else}${if_match ${time %l}>=10}${font RadioSpace:size=32}${color3}${alignc 2}${time %H:%Mh}${endif}${endif}

Selesai.

Dari 2013-01-31
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s