Slackware 12.2 - Installing conky ================================= [http://conky.sourceforge.net/](http://conky.sourceforge.net/) Public domain ******************************************************************************** ### Installation cd /usr/src wget "http://downloads.sourceforge.net/project/conky/conky/1.7.2/conky-1.7.2.tar.bz2?use_mirror=garr" tar jxf conky-1.7.2.tar.bz2 cd conky-1.7.2 ./configure \ --prefix=/usr/local/conky \ --enable-audacious=yes \ --enable-curl \ --enable-rss \ --enable-weather-metar \ --enable-weather-xoap \ --disable-lua make && make install ******************************************************************************** ### ~/.conkyrc background yes use_xft yes xftfont 80:size=7 xftalpha 0.1 update_interval 0.5 total_run_times 0 own_window yes own_window_type normal own_window_transparent yes #own_window_colour DarkSlateBlue own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager double_buffer yes minimum_size 300 5 maximum_width 300 draw_shades no draw_outline no draw_borders no draw_graph_borders no default_color gray default_shade_color red default_outline_color green alignment top_right gap_x 10 gap_y 10 no_buffers no uppercase no cpu_avg_samples 2 net_avg_samples 1 override_utf8_locale yes use_spacer right text_buffer_size 256 border_outer_margin 1 border_width 1 TEXT ${font Arial:size=20}${color Tan1}${alignc}Slack${color Ivory}Ware${font openlogos:size=20} ${font Arial:size=10}${color Tan1}${alignc}${execp date +"%A %B %e %Y"}${font openlogos:size=10} ${font Arial:size=10}${alignc}${color Ivory}${execp date +"%T %D"}${font openlogos:size=20} ${voffset -90} ${color DimGray} ${font} ${font Arial:bold:size=10} ${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2} $font${color DimGray}$sysname $kernel $alignr $machine $font${color DimGray}CPU frequency $alignr${freq_g}Ghz $font${color DimGray}Uptime $alignr${uptime} ${font Arial:bold:size=10}${color Tan1}PROCESSORS ${color DarkSlateGray}${hr 2} $font${color DimGray}CPU1 ${cpu cpu1}% ${cpubar cpu1} $font${color DimGray}CPU2 ${cpu cpu2}% ${cpubar cpu2} ${font Arial:bold:size=10}${color Tan1}MEMORY ${color DarkSlateGray}${hr 2} $font${color DimGray}MEM $alignc $mem / $memmax $alignr $memperc% $membar $font${color DimGray}SWAP $alignc $swap / $swapmax $alignr $swapperc% $swapbar ${font Arial:bold:size=10}${color Tan1}HDD ${color DarkSlateGray}${hr 2} $font${color DimGray}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}% ${fs_bar /} /storage $alignc ${fs_used /storage} / ${fs_size /storage} $alignr ${fs_used_perc /storage}% ${fs_bar /storage} /mnt/usb $alignc ${fs_used /mnt/usb} / ${fs_size /mnt/usb} $alignr ${fs_used_perc /mnt/usb}% ${fs_bar /mnt/usb} ${font Arial:bold:size=10}${color Tan1}TOP MEM USAGE ${color DarkSlateGray}${hr 2} ${color DimGray}$font${top_mem name 1}${alignr}${top mem 1} % $font${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 Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2} $font${color DimGray}eth0 $alignc ${addr eth0} $alignr ${downspeedf eth0}/${upspeedf eth0} kb/s ${downspeedgraph eth0 20,300 DarkSlateGray 702030 -t} $font${color DimGray}eth1 $alignc ${addr eth1} $alignr ${downspeedf eth1}/${upspeedf eth1} kb/s ${downspeedgraph eth1 20,300 DarkSlateGray 702030 -t} $font${color DimGray}ppp0 $alignc ${addr ppp0} $alignr ${downspeedf ppp0}/${upspeedf ppp0} kb/s ${downspeedgraph ppp0 20,300 DarkSlateGray 702030 -t} ${font Arial:bold:size=10}${color Tan2}MESSAGES ${color DarkSlateGray}${hr 2} $font${color DimGray}${execp tail -n 5 /var/log/messages | sed -e 's,.*challenger,,' | fold -sw 60} ${execp tail -n 5 /var/log/syslog | sed -e 's,.*challenger,,' |fold -sw 60} ******************************************************************************** ### Lunching /usr/local/conky/bin/conky ******************************************************************************** ### Resources http://conky.sourceforge.net/config_settings.html http://conky.sourceforge.net/variables.html http://conky.linux-hardcore.com/ ******************************************************************************** _BY: Pejman Moghadam_ _TAG: conky_ _DATE: 2009-12-19 15:17:22_