ExampleConfigurations
From Conky
This page intended to be a growing extension of the sourceforge-hosted examples (http://conky.sourceforge.net/screenshots.html)
Contents |
[edit] 3Panes
[edit] Screenshot
[edit] Files
This configuration consists of three conkyrc files for the separate panes.
[edit] conkyrc-3panes-vertical
background yes
use_xft yes # Use Xft?
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Terminus:size=8
xftalpha 1 # Text alpha when using Xft
update_interval 2.0 # Update interval in seconds
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 4
border_width 1
default_color white
default_shade_color black
default_outline_color white
alignment top_left
gap_x 1
gap_y 1
no_buffers yes
uppercase no
cpu_avg_samples 4
net_avg_samples 5
override_utf8_locale no
use_spacer right # Add spaces to keep things from moving about? This only affects certain objects.
TEXT
${offset 10}${color slate grey}${time %Z}:${color }${time %a, %e %B %G %H:%M:%S}
${offset 10}${color slate grey}UpTime: ${color }$uptime
${offset 10}${color slate grey}Kern:${color }$kernel
${offset 10}${color slate grey}CPU:${color } $cpu% | ${freq} MHz | ${acpitemp}C | ${ibm_fan} RPM
${offset 10}${color slate grey}Batt:${color }${battery}
${offset 10}${color slate grey}Vol: ${color }${ibm_volume}
${offset 10}${cpugraph 20,130 000055 ff0000}
${offset 10}${color slate grey}Highest CPU:
${offset 10}${color ddaa00} ${top name 1}${top cpu 1}
${offset 10}${color lightgrey} ${top name 2}${top cpu 2}
${offset 10}${color lightgrey} ${top name 3}${top cpu 3}
${offset 10}${color lightgrey} ${top name 4}${top cpu 4}
${offset 10}${color lightgrey} ${top name 5}${top cpu 5}
${offset 10}${color lightgrey} ${top name 6}${top cpu 6}
${offset 10}${color lightgrey} ${top name 7}${top cpu 7}
${offset 10}${color lightgrey} ${top name 8}${top cpu 8}
${offset 10}${color lightgrey} ${top name 9}${top cpu 9}
${offset 10}${color slate grey}Highest MEM:
${offset 10}${color ddaa00} ${top_mem name 1}${top_mem mem 1}
${offset 10}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
${offset 10}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
${offset 10}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
${offset 10}${color lightgrey} ${top_mem name 5}${top_mem mem 5}
${offset 10}${color lightgrey} ${top_mem name 6}${top_mem mem 6}
${offset 10}${color lightgrey} ${top_mem name 7}${top_mem mem 7}
${offset 10}${color lightgrey} ${top_mem name 8}${top_mem mem 8}
${offset 10}${color lightgrey} ${top_mem name 9}${top_mem mem 9}
${offset 10}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
${offset 10}${membar 3,100}
${offset 10}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
${offset 10}${swapbar 3,100}
${offset 10}${color slate grey}/: ${color }${fs_used /}/${fs_size /}
${offset 10}${fs_bar 3,100 /}
${offset 10}${color slate grey}/home: ${color }${fs_used /home}/${fs_size /home}
${offset 10}${fs_bar 3,100 /home}
${offset 10}${diskiograph 20,130 000000 ffffff}
${offset 10}${color slate grey}NET: ${color}Up: ${color }${upspeed eth0} k/s ${color} Down: ${color }${downspeed eth0}k/s
${offset 10}${upspeedgraph eth0 20,130 000000 ffffff} ${downspeedgraph eth0 20,130 000000 ffffff}
${offset 10}${color slate grey}APT: ${color }${execi 28800 ~/bin/checkUpdates.bash}
[edit] conkyrc-3panes-horizontal
background yes
use_xft yes
xftalpha 1 # Text alpha when using Xft
#xftfont Terminus:size=8
xftfont Bitstream Vera Sans Mono:size=7
update_interval 0.33 # Update interval in seconds
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no # Draw borders around text
stippled_borders 8
border_margin 0
border_width 0
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
alignment bottom_middle
gap_y 30
no_buffers yes # Subtract file system buffers from used memory?
cpu_avg_samples 10 # number of cpu samples to average, set to 1 to disable averaging
net_avg_samples 5
override_utf8_locale no # Force UTF8? note that UTF8 support required XFT
use_spacer right # Add spaces to keep things from moving about, only affects certain objects.
TEXT
${color slate grey}${time %Z}:${color }${time %a,%e %B %G %H:%M:%S} ${color slate grey} UpTime: ${color }$uptime ${color slate grey} Vol: ${color }${ibm_volume} ${color slate grey}CPU:${color } $cpu% ${color aa0000}${cpubar 10,50} ${color }${cpugraph 10,130 000055 ff0000} ${acpitemp}C ${color slate grey}Mem: ${color }${membar 10,130} ${memperc}% of ${memmax}
[edit] conkyrc-3panes-messages
background yes
alignment bottom_left
gap_x 301
gap_y 60
use_xft yes
xftfont Terminus:size=9
xftalpha 1
override_utf8_locale no
update_interval 5.0
own_window no
double_buffer yes
no_buffers yes
draw_shades no
draw_outline yes
draw_borders no
default_color white
default_shade_color black
default_outline_color black
TEXT
${color slate grey}/var/log/messages:
${color}${tail /var/log/messages 40}
[edit] Creator
[edit] Based On
[edit] Simple Horizontal
[edit] Screenshot
[edit] File
This consists of a single file, straight and to the point
(usually it's one line, but it's on multiple lines here to allow a more normal display):
alignment top_middle
background no
border_width 0
cpu_avg_samples 5
default_color white
default_outline_color white
draw_borders no
draw_graph_borders no
draw_outline no
draw_shades no
use_xft yes
xftfont Terminus:size=7
xftalpha 1
gap_x 0
gap_y 0
minimum_size 20 0
maximum_width 1920
net_avg_samples 2
no_buffers yes
out_to_console no
own_window yes
own_window_class Conky
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
update_interval 1
uppercase no
use_spacer left
use_spacer right
double_buffer yes
short_units yes
pad_percents 1
text_buffer_size 512
temperature_unit fahrenheit
TEXT
${font OpenLogos:size=7}B${font}${voffset -2} ${time %I:%M:%S %p | %B %e, %Y} | ${kernel} | ${uptime} | ${texeci 3600
perl /home/skones/.scripts/conky-updates.pl} | ${execi 2 ossmix | grep vmix0-outvol | cut -c 35-40} | ${execi 3600 cat
/home/skones/.scripts/updated-ip} | ${voffset 1}${acpitemp}° F | ${freq_g} GHz | ${cpugraph cpu1 10,50 ff0000 white}
(${cpu cpu1}%) ${voffset -1}| ${cpugraph cpu2 10,50 ff0000 white} (${cpu cpu2}%)${voffset } | Mem: (${memperc}%) |
${voffset}/boot: ${fs_free_perc /boot}%${offset}${voffset -1} | /root: ${fs_free_perc /}% | /home: ${fs_free_perc
/home}%${offset -10} ${voffset -1} | ${voffset 1} | ${battery_bar 10,50 BAT0} ${battery_time}

