Conky Config


What is Conky?
Conky is a free, light-weight system monitor for X, that displays any kind of information on your desktop.

How To Install Conky

Once Conky has been installed, you need to modify or create a config file to set Conky’s parameters.
The default Conky config file is located ~/.conkyrc or /home/.conkyrc

Conky will automatically look in this default location for the config file and use whatever parameters are specified inside the file. To test Conky and start it up, just open terminal and type in conky. Remember, you must tell Conky to automatically run when you first start your PC or login.

Here is the config I am currently using. You can use and modify it however you want.

own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual true
own_window_argb_value 0
out_to_console no
use_xft yes
xftfont cure:size=10
update_interval 2
cpu_avg_samples 2
net_avg_samples 2
double_buffer yes
maximum_width 320
draw_shades no
draw_outline no
draw_borders no
stippled_borders 1
border_width 20
default_color white
default_shade_color white
default_outline_color white
alignment top_left
gap_x 15
gap_y 0
use_spacer left
no_buffers yes
uppercase no

${color}${alignc}${time %A %B %d %Y %r}

${alignc}$color $kernel on $machine

${color}${alignc}$uptime ${color lightgrey}Uptime | $color$loadavg${color lightgrey}

${color lightgrey}${alignc}Battery:$color ${battery_percent}%
${alignc}${color #cc0000}${battery_bar 8,120}

${color #656565}$stippled_hr$color

${color}${alignc}${addr wlo1}

${color lightgrey}${alignc}DL: $color${downspeed wlo1}/s | ${color lightgrey}UL: $color${upspeed wlo1}/s

${color lightgrey}${alignc}Downloaded: $color${totaldown wlo1}
${color lightgrey}${alignc}Uploaded: $color${totalup wlo1}

${color lightgrey}${alignc}Signal:${color}${wireless_link_qual_perc wlo1}%
${alignc}${color #cc0000}${wireless_link_bar 8,120 wlo1}

${color #656565}$stippled_hr$color

${alignc}${color lightgrey}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq}

${alignc}${color lightgrey}Total CPU Usage: ${color}${cpu cpu0}%
${alignc}${color #cc0000}${cpubar cpu0 6,130}$color

${color lightgrey}1 ${color #cc0000}${cpubar cpu1 6,130}$color $alignr ${color lightgrey}5 ${color #cc0000}${cpubar cpu5 6,130}$color $alignr
${color lightgrey}2 ${color #cc0000}${cpubar cpu2 6,130}$color $alignr ${color lightgrey}6 ${color #cc0000}${cpubar cpu6 6,130}$color $alignr
${color lightgrey}3 ${color #cc0000}${cpubar cpu3 6,130}$color $alignr ${color lightgrey}7 ${color #cc0000}${cpubar cpu7 6,130}$color $alignr
${color lightgrey}4 ${color #cc0000}${cpubar cpu4 6,130}$color $alignr ${color lightgrey}8 ${color #cc0000}${cpubar cpu8 6,130}$color $alignr

${alignc}${color lightgrey}CPU Temp: ${color}${hwmon 1 temp 1}°C

${color #656565}$stippled_hr$color

${color lightgrey}Ram ${color #cc0000}${alignc}${membar 6,160} ${alignr}$color${memperc}% Used
${color lightgrey}Disk ${color #cc0000}${alignc}${fs_bar 6,160 /} ${alignr}$color${fs_used_perc /}% Used
${color lightgrey}Disk IO: $color ${diskio /dev/sda}

${color #656565}$stippled_hr$color

${color lightgrey} PID Process${alignr}Memory CPU
${color}${top pid 1} ${top name 1}${alignr}${top mem_res 1} ${top cpu 1}%
${color}${top pid 2} ${top name 2}${alignr}${top mem_res 2} ${top cpu 2}%
${color}${top pid 3} ${top name 3}${alignr}${top mem_res 3} ${top cpu 3}%

Links to Examples and Config Files for Conky

One Reply to “Conky Config”

  1. admin says:

    The new conky has a slightly different syntax. This config will work for the time being, it just gives you a warning this is old syntax and they will be deprecating it soon, but the config does need to be updated to new syntax. I will do so in the future if I have time.

Leave a Reply

Your email address will not be published. Required fields are marked *

scroll to top