Conky

From CBLFS
Jump to navigationJump to search
Download Source: http://downloads.sourceforge.net/conky/conky-1.4.9.tar.bz2

Introduction to Conky

Conky is a lightweight system monitor.

Project Homepage: http://conky.sourceforge.net/

Dependencies

Required

Recommended

Optional

Configuration Information

--disable-mpd: disable MPD support.
--enable-audacious: enable audacious player support.
--enable-bmpx: enable if you want BMPx support.
--enable-xmms2: enable if you want XMMS2 support.
--enable-rss: enable if you want rss support.
--enable-wlan: enable if you want wireless support.

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

This package does not provide any libraries so only one installation is required.

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ 
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" USE_ARCH=N32 \
./configure --prefix=/usr &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ 
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr &&
make

Install the package:

make install

Configuring

Create a configuration file for conky at $HOME/.conkyrc. See the conky screenshots page for example configuration files.

cat > $HOME/.conkyrc << "EOF"
# Colors I use in this configuration.  Background image is predominately red orange.
# #0066FF - Azure Azure Blue
# #66FF00 - Spring Spring Green
# #FFFFFF - White
# #000000 - Black

alignment top_left
background no
border_margin 10
border_width 2
cpu_avg_samples 10
default_color white
default_outline_color white
default_shade_color white
double_buffer yes
draw_borders no
#draw_graph_borders no
draw_outline no
draw_shades no
#font (see below)
gap_x 5
gap_y 5
#imap
#mail_spool $MAIL
#max_port_monitor_connections
#max_specials
#max_user_text
#text_buffer_size
maximum_width 275
minimum_size 5 5
#mpd_host
#mpd_port
#mpd_password
#music_player_interval
net_avg_samples 10
no_buffers yes
#on_bottom yes
out_to_console no
#override_utf8_locale no
#own_window yes
#own_window_class
#own_window_colour
#own_window_hints
#own_window_title
own_window_transparent yes
#own_window_type
#pad_percents
#pop3 pop.gmail.com
stippled_borders 0
total_run_times 0
update_interval 5
uppercase no
use_spacer yes
use_xft yes
xftalpha 0.8
xftfont caligula-12

TEXT
${color white}$alignc --- My Machine ---
${color #0066FF}${hr 3}
${color white}Machine: ${color #66FF00}$nodename
${color white}Uptime: ${offset 10}${color #66FF00}$uptime as of ${color #66FF00}${time %b %e, %G}
${color white}Memory: ${offset 4}${color #66FF00}$memperc% of $memmax ${color #0066FF}${membar 10,80} 
${color white}Swap: ${offset 20}${color #66FF00}$swapperc% of $swapmax ${color #0066FF}${swapbar 10,80}
${color white} ${stippled_hr 3}
${color white}ARPANet: ${color #66FF00} 192.168.1.0/24
${color #0066FF}${downspeedgraph eth0 25,125 66FF00 0066FF}   ${color #0066FF}${upspeedgraph eth0 25,125 0066FF 66FF00}
${color #66FF00}${totaldown eth0} @ ${downspeed eth0} k/s ${offset 16} ${totalup eth0} @ ${upspeed eth0} k/s
${color white} ${stippled_hr 3}
${color #0066FF} ${cpugraph 25,125 66FF00 0066FF}   ${diskiograph 25,125 0066FF 66FF00}
${color white}CPU: ${offset 14}${color #66FF00}${i2c 9191-0290 tempf 2}F     ${color #66FF00}$freq_g GHz    ${color #66FF00}${i2c 9191-0290 in 0}VDC
${color white}RAM: ${offset 6}${color #66FF00}${i2c 9191-0290 tempf 3}F	   ${color #66FF00}${i2c 9191-0290 in 1}VDC
${color white}System: ${offset 2}${color #66FF00}${i2c 9191-0290 tempf 1}F	   ${color #66FF00}${i2c 9191-0290 in 2}VDC
${color white}Fan: ${offset 20}${color #66FF00}${i2c 9191-0290 fan 1}RPM
${color white}Disks: ${offset 12}${color #66FF00}Root ${offset 4} ${color #0066FF} ${fs_bar 10,160 /}
${offset 54}${color #66FF00}Home ${color #0066FF} ${fs_bar 10,160 /home}
EOF

Contents

Installed Directories: None
Installed Programs: conky
Installed Libraries: None

Short Descriptions

conky is the lightweight system monitor.
Retrieved from "?title=Conky&oldid=18958"