Conky thread, show your work!

This thread is for showing off as the title says. I suggest opening your own thread in #technical-issues-and-assistance.

Ok, I got it. TNX



here's my first Conky, Only on my Right-Hand screen, Three files as haven't bothered to try or learn how to add them as one

Conky Right screen

I haven't sussed out how to add my three files here in a 'drop down down menu' on the forum, if some would explain how to add files rather than photos I would much appreciate it ...

Here are my files in Pastebin if useful to anyone
Top Left:
Top Right:
Bottom Right:



${goto 1750} }${time %H:%M} but cumbersome :smiley: three are easier to use.

I think this is actually better way. For example on my XFCE desktop a conky window blocks dome desktop features (when I scroll mouse it switches a workspace). So I prefer multiple small conky windows.

Mine's actually a XFCE Desktop as well, better than all the others that I tried

I have MaConized my KDE... inclusive the booting & splash screen.
Both are Dynamic Wallpapers... soo beautiful seeing changing during the day...

Screenshot_20200408_110524 !(upload://heiYeO2ZowYGKrU9eHseAJd9Uxq.png) Screenshot_20200408_111338 Screenshot_20200408_111359
Tambien tengo CatalinOS in qemu/kvm


Nature copied my wallpapers :smiley: :wink:



Good day to everyone, I already published my work on this forum, but today I was offered to post information in this thread.
You can find all the necessary information and a preset in my github repository.
Thank you for the attention.


Hi there, been a long time. So, my conky started half the screen or even less. Overtime i kept grabing more and more ideas from different works around the web...and right now it goes from edge to edge. What a growth! None of this would be possible without you guys.
enough talking, here's the final work:

Screenshot from 2020-05-23 12-32-51


conky.config = {

--Various settings
background = true, -- forked to background
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
net_avg_samples = 2, -- The number of samples to average for net data
no_buffers = true, -- Subtract (file system) buffers from used memory?
temperature_unit = 'celsius', -- fahrenheit or celsius
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
update_interval = 1, -- update interval
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song


alignment = 'top_right', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
-- middle_left,middle_middle,middle_right,none
--Arch Duoscreen
--gap_x = -1910,
gap_x = 15, -- pixels between right or left border
gap_y = 4, -- pixels between bottom or left border
minimum_height = 600, -- minimum height of window
minimum_width = 300, -- minimum height of window
maximum_width = 300, -- maximum height of window


border_inner_margin = 10, -- margin between border and text
border_outer_margin = 5, -- margin between border and edge of window
border_width = 0, -- border width in pixels
default_bar_width = 80, -- default is 0 - full width
default_bar_height = 10, -- default is 6
default_gauge_height = 25, -- default is 25
default_gauge_width =40, -- default is 40
default_graph_height = 40, -- default is 25
default_graph_width = 0, -- default is 0 - full width
default_shade_color = '#000000', -- default shading colour
default_outline_color = '#000000', -- default outline colour
draw_borders = false, -- draw borders around text
draw_graph_borders = true, -- draw borders around graphs
draw_shades = false, -- draw shades
draw_outline = false, -- draw outline
stippled_borders = 0, -- dashing the border


extra_newline = false, -- extra newline at the end - for asesome's wiboxes
format_human_readable = true, -- KiB, MiB rather then number of bytes
font = 'Roboto Mono:size=10', -- font for complete conky unless in code defined
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
max_user_text = 16384, -- max text in conky default 16384
override_utf8_locale = true, -- force UTF8 requires xft
short_units = true, -- shorten units from KiB to k
top_name_width = 21, -- width for $top name value default 15
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
uppercase = false, -- uppercase or not
use_spacer = 'none', -- adds spaces around certain objects to align - default none
use_xft = true, -- xft font - anti-aliased font
xftalpha = 1, -- alpha of the xft font - between 0-1


own_window = true, -- create your own window to draw
own_window_argb_value = 0, -- real transparency - composite manager required 0-255
own_window_argb_visual = true, -- use ARGB - composite manager required
own_window_colour = '#000000', -- set colour if own_window_transparent no
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
own_window_title = 'system_conky', -- set the name manually - default conky "hostname"
own_window_type = 'desktop', -- if own_window true options are: normal/override/dock/desktop/panel


default_color = '#CDDDFF', -- default color and border color
color1 = '#FF0000',
color2 = '#5E8DF2',
color3 = '#cccccc',
color4 = '#D9BC83',
color5 = '#4DC3FF',
color6 = '#FFFFFF',
--Signal Colours
color7 = '#2CFF00', --green
color8 = '#FFA726', --orange
color9 = '#F1544B', --firebrick



conky.text = [[

${color5}${font Roboto:size=10}${voffset 10}S Y S T E M ${hr 2}${font}${color}
${color2}${voffset 8}Hostname:${color} ${alignr}${nodename}
${color2}Distro:${color}${alignr}${alignr}${execi 108000 echo $(awk -F'=' '/^NAME=/ {print $2}' /etc/os-release | tr -d '"')} ${execi 108000 echo $(lsb_release -sr)}
${color2}Kernel:${color}${alignr}${exec uname} ${exec uname -r | cut -d '-' -f 1}
${color2}Nvidia Driver: ${color}${alignr}${execi 60000 nvidia-smi | grep "Driver Version"| awk {'print $3'}}
${color2}Uptime:${color} ${alignr}${uptime}
${color2}Updates:${color} ${alignr} ${execi 1800 checkupdates | wc -l}

${color5}${font Roboto:size=10}${voffset 4}T E M P E R A T U R E S ${hr 2}${font}${color}
${color2}${voffset 8}CPU Temp:${color} $alignr${execi 10 sensors | grep 'Core 0' | awk {'print $3'}}
${color2}GPU Temp ${color} ${alignr}${execi 60 nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader} °C

${color5}${font Roboto:size=10}${voffset 4}P R O C E S S O R S ${hr 2}${font}${color}
${color2}${voffset 8}CPU Freq:${color} $alignr${freq}MHz
${color2}Active Governor:${color} ${alignr}${execi 5 cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor}
${color2}Game Mode:${color} ${alignr} ${if_match "${exec gamemoded -s | awk '{print $3;}'}" == "active"}${color7}ON${color}${else}OFF${endif}

${color2}${offset 20}CPU Core 1:${color} ${alignr}${offset -10}${cpu cpu1}%${alignr}${cpubar cpu1}
${color2}${offset 20}CPU Core 2:${color} ${alignr}${offset -10}${cpu cpu2}%${alignr}${cpubar cpu2}
${color2}${offset 20}CPU Core 3:${color} ${alignr}${offset -10}${cpu cpu3}%${alignr}${cpubar cpu3}
${color2}${offset 20}CPU Core 4:${color} ${alignr}${offset -10}${cpu cpu4}%${alignr}${cpubar cpu4}
${color2}${offset 20}CPU Core 5:${color} ${alignr}${offset -10}${cpu cpu5}%${alignr}${cpubar cpu5}
${color2}${offset 20}CPU Core 6:${color} ${alignr}${offset -10}${cpu cpu6}%${alignr}${cpubar cpu6}
${color2}${offset 20}CPU Core 7:${color} ${alignr}${offset -10}${cpu cpu7}%${alignr}${cpubar cpu7}
${color2}${offset 20}CPU Core 8:${color} ${alignr}${offset -10}${cpu cpu8}%${alignr}${cpubar cpu8}
${color2}${offset 20}CPU Core 9:${color} ${alignr}${offset -10}${cpu cpu9}%${alignr}${cpubar cpu9}
${color2}${offset 20}CPU Core 10:${color} ${alignr}${offset -10}${cpu cpu10}%${alignr}${cpubar cpu10}
${color2}${offset 20}CPU Core 11:${color} ${alignr}${offset -10}${cpu cpu11}%${alignr}${cpubar cpu11}
${color2}${offset 20}CPU Core 12:${color} ${alignr}${offset -10}${cpu cpu12}%${alignr}${cpubar cpu12}

${color2}${offset 20}CPU Total:${color} ${alignr}${offset -10}${cpu cpu0}%${alignr}${cpubar cpu0}

${color5}${font Roboto:size=10}${voffset 4}T O P - P R O C E S S E S ${hr 2}${font}${color}
${color2}${offset 20}${voffset 8}Name${goto 260}CPU%${offset -10}

${color2}${offset 20} 1 - ${top name 1}${alignr}${offset -10}${color}${top cpu 1}
${color2}${offset 20} 2 - ${top name 2}${alignr}${offset -10}${color}${top cpu 2}
${color2}${offset 20} 3 - ${top name 3}${alignr}${offset -10}${color}${top cpu 3}
${color2}${offset 20} 4 - ${top name 4}${alignr}${offset -10}${color}${top cpu 4}
${color2}${offset 20} 5 - ${top name 5}${alignr}${offset -10}${color}${top cpu 5}

${color5}${font Roboto:size=10}${voffset 4}D R I V E S ${hr 2}${font}${color}
${color2}${voffset 8}SSD:${color} ${alignr}${offset -10}${fs_used /} / ${fs_size /}${alignr}${fs_used_perc /} %
${color2}HDD:${color} ${alignr}${offset -10}${fs_used /home} / ${fs_size /home}${alignr}${fs_used_perc /home} %

${color5}${font Roboto:size=10}${voffset 4}N E T W O R K ${hr 2}${font}${color}
${color2}${voffset 8}IP Address: ${color} ${alignr}${offset -10$}${addrs wlo1}
${color2}Signal: ${color} ${wireless_link_bar 8,180 wlo1}${color}${alignr 10 10}${wireless_link_qual_perc wlo1}%

${color5}${font Roboto:size=10}${voffset 4}B A T T E R Y ${hr 2}${font}${color}
${color2}${voffset 8}Time Left: ${color} ${alignr}${offset -10$}${battery_time BAT0}
${color2}State: ${color} ${alignr}${offset -10$}$Battery

${color5}${font Roboto:size=10}${voffset 4}T L P ${hr 2}${font}${color}
${color2}${voffset 8}Mode:${color} ${goto 222}${color} ${exec tlp-stat -s |grep 'Mode' |awk '{print $3}' }
${color2}Power Source:${color} ${goto 222}${color} ${exec tlp-stat -s |grep 'source' |awk '{print $4}' }


Over the years I've added and taken away from conky. Great view of what's happening with torrents/updates in network traffic.

I prefer clean desktop - Quotes and Wallpapers from Variety (frozen on a Manjaro pic for now).. and with windows I don't need features from I do another gesture that takes the windows away... so it's not showing off KDE too impressively.

Excuse me while I watch 24 :wink: I just figured out how to get passthrough in Kodi, and also to stop the Digital Audio 5.1 setting from mixing sound out to the other speakers when playing stereo music (search the pulse config and edit: remixing-use-all-sink-channels = no way dude!

Temperature is usually 24C for my SSD, but I haven't figured out how to get HDDtemp to read in conky just yet - I like to keep an eye on HDD temps the most, the box rarely goes over 26.

I love the fading lists... otherwise pretty simple.

I have a mouse gesture shortcut to bring it up/put it away.

[details="Conky Launcher"]
if pgrep -x "conky"
then killall conky
conky -d -c ~/Admin/conky/network.conky

Main Config

Conky settings

background yes
update_interval 1
double_buffer yes
no_buffers yes
imlib_cache_size 10

Window specifications

gap_x 0
gap_y 2
minimum_size 270 0
maximum_width 270
alignment top_right
own_window yes
own_window_type normal
own_window_transparent no
own_window_argb_visual yes
own_window_argb_value 180
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below
#own_window_type normal
#own_window_transparent no
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
#own_window_argb_visual yes
#own_window_argb_value 0
border_inner_margin 0
border_outer_margin 0

Graphics settings

draw_shades no
default_shade_color 484848
draw_outline no
default_outline_color AAAAAA
draw_borders no
draw_graph_borders yes
default_graph_size 40 80
show_graph_scale yes
show_graph_range no

Text settings

use_xft yes
xftalpha 0
xftfont Droid Sans:size=9
text_buffer_size 256
override_utf8_locale yes

Useful shortenings

short_units yes
pad_percents 2
top_name_width 30

Color scheme

default_color FFFFFF
color1 FFFFFF
color2 2dcba5 # teal
color3 FFFFFF
color4 FFFFFF
color5 DCDCDC
color6 FFFFFF
color7 FFFFFF
color8 A9CFF4


Wired Network

${if_existing /proc/net/route enp2s0}${upspeedgraph enp2s0 50,125 efa644 ff5b00 3500 -l} ${alignr}${downspeedgraph enp2s0 50,125 88a669 55ff1a 10000 -l}
${color }Up: ${upspeed enp2s0} Σ=${totalup enp2s0}${alignr}Dn: ${color8}${downspeed enp2s0} Σ=${totaldown enp2s0}${endif}
${color}CPU ${color gray40}${if_match ${cpu}>=40}${color lightsalmon}${endif}${if_match ${cpu}>=75}${color red}${endif}${cpubar 6}
${color}RAM ${color grey40}${if_match ${memperc}>=75}${color lightgreen}${endif}${membar 6}
${color}SSD${color gray40}${if_match ${fs_used_perc}>=75}${color lightsalmon}${endif}${if_match ${fs_used_perc}>=85}${color red}${endif}${fs_bar 6}
${font mitr:size=10} ${color gray}${alignc }SSD ${fs_free /} Free ${hddtemp /dev/sdc}ºC




${if_existing /dev/sda}${color }T4 ${goto 60} ${fs_free /mnt/T4} ${color grey40} ${goto 105}${if_match ${fs_used_perc /mnt/T4}>=85}${color salmon}${endif}${if_match ${fs_used_perc}>=95}${color red}${endif} ${alignr }${fs_bar 6,140 /mnt/T4}${if_existing /dev/sda}${endif}${font }${color }


${if_existing /dev/sdb}${font }${color }T3 ${goto 60} ${fs_free /mnt/T3} ${color grey40} ${goto 105}${if_match ${fs_used_perc /mnt/T3}>=85}${color red}${endif} ${alignr }${fs_bar 6,140 /mnt/T3}${endif}${font }${color }

sdc WD 2TB

${if_existing /media/ben/WD2}${color }W2 ${goto 60} ${fs_free /media/ben/WD2} ${color grey40} ${goto 105}${if_match ${fs_used_perc /media/ben/WD2}>=85}${color red}${endif} ${alignr }${fs_bar 5,140 /media/ben/WD2}${endif}${font }${color }${if_running audacious} $font
${color #59ADFF}$hr
${font mitr:size=10}${alignc }Audacious Playing:
${font mitr:size=12}${alignc }${exec audtool current-song-tuple-data title}
${font mitr:size=12}${alignc }by ${exec audtool current-song-tuple-data artist}
${font :bold:size=9}${color }Top Name ${goto 120} CPU MEM ${alignr} PID${font }
${color #dddddd}${top name 1} ${goto 120}${top cpu 1} ${top mem 1}${alignr}${top pid 1}
${color #aaaaaa}${top name 2} ${goto 120}${top cpu 2} ${top mem 2}${alignr}${top pid 2}
${color #999999}${top name 3} ${goto 120}${top cpu 3} ${top mem 3}${alignr}${top pid 3}
${color #888888}${top name 4} ${goto 120}${top cpu 4} ${top mem 4}${alignr}${top pid 4}${color }
${color }${font :bold:size=9}Top Memory ${goto 120} CPU MEM ${alignr} PID ${font }
${color #dddddd}${top_mem name 1} ${goto 120} ${top_mem cpu 1} ${top_mem mem 1}${alignr}${top_mem pid 1}
${color #bbbbbb}${top_mem name 2} ${goto 120} ${top_mem cpu 2} ${top_mem mem 2}${alignr}${top_mem pid 2}
${color #aaaaaa}${top_mem name 3} ${goto 120} ${top_mem cpu 3} ${top_mem mem 3}${alignr}${top_mem pid 3}
${color #888888}${top_mem name 4} ${goto 120} ${top_mem cpu 4} ${top_mem mem 4}${alignr}${top_mem pid 4}
${alignc}${color }${utime %H%M} GMT - ${time %A} ${time %d} ${time %B} ${time %Y}${font }${color grey40}
${alignc}Snapshot ${exec ls -r -l /mnt/T3/timeshift/snapshots | sed -n '2p'| cut -c 29-40}



24 hours Rulez!!!! xdddd

1 Like


Been a while since I've been lurking here, finally I managed to setup a proper conky for my machine.


Edit: Sorry about not posting the config.
I modified Aureola's config to suit my needs.

conky.config = {

	--Various settings

	background = true, 							
	cpu_avg_samples = 2,
	diskio_avg_samples = 10,
	double_buffer = true,
	if_up_strictness = 'address',
	net_avg_samples = 2,
	no_buffers = true,
	temperature_unit = 'celsius',
	text_buffer_size = 2048,
	update_interval = 1,


	alignment = 'top_right',
	gap_x = 10,
	gap_y = 10,
	minimum_height = 1060,
	minimum_width = 280,
	maximum_width = 280,


	border_inner_margin = 10, 					
	border_outer_margin = 1, 					
	border_width = 0, 							
	default_bar_width = 280,
	default_bar_height = 10,
	default_gauge_height = 25,
	default_gauge_width =40,
	default_graph_height = 40,
	default_graph_width = 153,
	default_shade_color = '#000000',
	default_outline_color = '#000000',
	draw_borders = false,						
	draw_graph_borders = true,
	draw_shades = false,
	draw_outline = false,
	stippled_borders = 0,

	extra_newline = false,
	format_human_readable = true,
	font = 'ubuntu:size=9:oblique',
	max_text_width = 0,
	max_user_text = 16384,
	override_utf8_locale = true,
	short_units = true,
	top_name_width = 21,
	top_name_verbose = false,
	uppercase = false,
	use_spacer = 'none',
	use_xft = true,
	xftalpha = 1,


	own_window = true,
	own_window_argb_value = 150,
	own_window_argb_visual = true,
	own_window_class = 'Conky',
	own_window_colour = '#000000',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_transparent = no,
	own_window_title = 'system_conky',
	own_window_type = 'normal',-- # options are: normal/override/dock/desktop/panel


	default_color = '#000000',  				
	color1 = '#FD7980', 
	color2 = '#FF6500', 
	color3 = '#888888', 
	color4 = '#BDBDBD',
	color5 = '#CCCCCC', 
	color6 = '#FFFFFF',

	--Signal Colours
	color7 = '#1F7411',  --green
	color8 = '#FD7980',  --orange
	color9 = '#F1544B',  --firebrick

conky.text = [[
${image ~/.config/conky/manjaro.png -p 210,55 -s 40x40}   
${voffset 50}               ${color6}${font purisa:size=14:bold}${execi 6000 lsb_release -d | grep 'Descr'|awk {'print $2 " " $3" " $4" " $5'}}${font}
${voffset 70}${color1}${font ubuntu:size=10:regular}Base :${font}${color6} $distribution $sysname $kernel
#${voffset 5}${color1}${font ubuntu:size=10:regular}${font ubuntu:size=10:regular}${execi 10000 lsb_release -d | cut -f 2| tr "[:upper:]" "[:upper:]"} ${font}${color6}${alignr}$kernel
${voffset 0}${color1}${font ubuntu:size=10:regular}Uptime:${font}${color6} $uptime
${voffset 5}${color1}${font ubuntu:size=10:regular}CPU  ${font}${color6}${freq_g} GHz  ${stippled_hr 3 3}
${voffset 5}${color1}${font ubuntu:size=10:regular}CPU1 ${font}${color6}${cpu cpu1}%  ${color3}${execi 5 sensors|grep 'Core 0'|awk '{print $3}'}${goto 155}${color1}${font ubuntu:size=10:regular}CPU2  ${font}${color6}${cpu cpu2}%  ${color3}${execi 5 sensors|grep 'Core 1'|awk '{print $3}'}
# cpugraphs
${color6}${cpugraph cpu1 35,135 FD7980 ffffff} ${alignr}${cpugraph cpu2 35,135 FD7980 ffffff}
${voffset 0}${color1}${font ubuntu:size=10:regular}CPU3 ${font}${color6}${cpu cpu3}%  ${color3}${execi 5 sensors|grep 'Core 0'|awk '{print $3}'}${goto 155}${color1}${font ubuntu:size=10:regular}CPU4  ${font}${color6}${cpu cpu4}%  ${color3}${execi 5 sensors|grep 'Core 1'|awk '{print $3}'}
${color6}${cpugraph cpu3 35,135 FD7980 ffffff} ${alignr}${cpugraph cpu4 35,135 FD7980 ffffff}
${voffset 5}${color1}${font ubuntu:size=10:regular}RAM usage: ${font}${color6}$mem${color1}${alignr}${font ubuntu:size=10:regular}Free: ${font}${color6}$memeasyfree
${voffset 5}${color1}${font ubuntu:size=10:regular}${font ubuntu:size=10:regular}Disk  ${font}${color6}${stippled_hr 3 3}
${voffset 5}${color1}${font ubuntu:size=10:regular}SSD: ${font}${color6}${fs_used /}${color1}${alignr}${font ubuntu:size=10:regular}Free: ${font}${color6}${fs_free /}
${color6}${fs_bar /}
# disk graphs
${color6}${diskiograph_read sda 35,135 FD7980 ffffff} ${alignr}${diskiograph_write sda 35,135 FD7980 ffffff}
${voffset -5}${color1}${font ubuntu:size=10:regular}Reads: ${font}${color6}${diskio_read sda} ${goto 158}${color1}${font ubuntu:size=10:regular}Writes: ${font}${color6}${diskio_write sda}
# network
${voffset 5}${color1}${font ubuntu:size=10:regular}Wireless  ${color6}${stippled_hr 3 3}
#${color1}${font ubuntu:size=10:regular}IP address: ${font}${color6}${addr wlo1}
#${color1}${font ubuntu:size=10:regular}External IP: ${font}${color6}${execi 3600 wget -q -O - | sed -e 's/[^[:digit:]\|.]//g'}
${color1}${font ubuntu:size=10:regular}Connections: ${font}${color6}${tcp_portmon 1 65535 count}
${color1}${font ubuntu:size=10:regular}Download speed: ${font}${color6}${downspeed wlo1}
${color1}${font ubuntu:size=10:regular}Upload speed: ${font}${color6}${upspeed wlo1}
# netw graphs
${voffset 5}${color6}${downspeedgraph wlo1 35,135 FD7980 ffffff 17000 -l} $alignr${upspeedgraph wlo1 35,135 FD7980 ffffff 3000 -l}
${voffset -5}${color1}${goto 75}${font ubuntu:size=10:regular}Received ${alignr 5}Sent
${color1}${font ubuntu:size=10:regular}Session:${font}${color6}${goto 75}${totaldown wlo1} ${alignr 5}${totalup wlo1}
${color1}${font ubuntu:size=10:regular}Today:${font}${color6}${goto 75}${execi 60 vnstat -i wlo1 | grep "today" | awk '{print $2 $3}'}${alignr 5}${execi 60 vnstat -i wlo1 | grep "today" | awk '{print $5 $6}'}
${color1}${font ubuntu:size=10:regular}Week:${font}${color6}${goto 75}${execi 60 vnstat -i wlo1 -w | grep "current week" | awk '{print $3 $4}'}${alignr 5}${execi 60 vnstat -i wlo1 -w | grep "current week" | awk '{print $6 $7}'}
${color1}${font ubuntu:size=10:regular}Month:${font}${color6}${goto 75}${execi 60 vnstat -i wlo1 -m | grep "`date +"%b '%y"`" | awk '{print $3 $4}'}${alignr 5}${execi 60 vnstat -i wlo1 -m | grep "`date +"%b '%y"`" | awk '{print $6 $7}'}
# Processes
${voffset 5}${color1}${font ubuntu:size=10:regular}Processes  ${color6}${stippled_hr 3 3}
${color1}${font ubuntu:size=10:regular}Name${goto 180}CPU%${alignr}MEM%${font}
${color4}${top name 1} ${goto 180}${top cpu 1}${alignr}${top mem 1}${color6}
${top name 2} ${goto 180}${top cpu 2}${alignr}${top mem 2}
${top name 3} ${goto 180}${top cpu 3}${alignr}${top mem 3}
${top name 4} ${goto 180}${top cpu 4}${alignr}${top mem 4}
${top name 5} ${goto 180}${top cpu 5}${alignr}${top mem 5}
${voffset 5}${color1}${font ubuntu:size=10:regular}Memory  ${color6}${stippled_hr 3 3}${font}
${color1}${font ubuntu:size=10:regular}Name${goto 180}MEM%${alignr}MEM${font}
${color4}${top_mem name 1} ${goto 180}${top_mem mem 1}${alignr}${top_mem mem_res 1}${color6}
${top_mem name 2} ${goto 180}${top_mem mem 2}${alignr}${top_mem mem_res 2}
${top_mem name 3} ${goto 180}${top_mem mem 3}${alignr}${top_mem mem_res 3}
${top_mem name 4} ${goto 180}${top_mem mem 4}${alignr}${top_mem mem_res 4}
${top_mem name 5} ${goto 180}${top_mem mem 5}${alignr}${top_mem mem_res 5}
${voffset -35}

After changing my schedule for Timeshift (daily) and Back-in-Time (home folder updated backup every hour) I tidied up the conky and gave it a Manjaro green font...


Then listed the new files and found what text to cut to get the time/date to look right:

$color2}$hr${font :bold:size=9}${color 25C29C}
${goto 30}${utime %H%M} GMT ${alignr} ${time %A} ${time %d} ${time %B} ${time %Y}
${goto 30}Snapshot:                 ${goto 120}     ${execi 250 ls -r -l /mnt/T3/timeshift/snapshots | sed -n '2p'| cut -c 29-40}
${goto 30}Backup:                   ${goto 120}     ${execi 250 ls -r -l ~/.local/share/backintime | sed -n '2p'| cut -c 29-40}

Keep it relevant :wink: if you don't need a GMT time reference, you can easily make it local time - easy enough to change, but it's not my main clock on screen and sometimes I forget the real time :stuck_out_tongue:

execi 300 means 'execute every 300 seconds' to keep CPU use down a tad.


Whoops, no config...

I was just thinking what to add to conky, my idea was timeshift and what happened? You posted it. Thank you!

How to make the date like this?
08 Jul 13:38

Start by opening a terminal, work out the folder you need... mine's on /mnt/T3/timeshift/snapshots.

~ >>> ls /mnt/T3/timeshift/snapshots
2020-05-17_21-05-28  2020-05-31_00-55-07  2020-07-04_18-00-01  2020-07-07_18-00-02
2020-05-18_09-00-02  2020-06-04_14-11-58  2020-07-05_18-00-01  2020-07-08_18-00-01
2020-05-26_12-36-26  2020-06-05_19-41-27  2020-07-06_15-00-01
2020-05-26_15-00-01  2020-06-13_16-54-10  2020-07-06_18-00-02
~ >>>

but we want folder contents to get the newest file...
so we do ls -r -l
Then from the output we can use 'sed' and 'cut' to select which lines and positions to cut the text from - I chose the section which has the date.


Sorry about that, I added the config!

1 Like


use_xft yes
xftfont Roboto:size=9
xftalpha 0.2
text_buffer_size 256
background yes
own_window yes
#own_window_transparent yes
#own_window_type override
own_window_type normal
#own_window_type desktop
own_window_transparent yes
own_window_argb_visual yes
own_window_argb_value 0
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
total_run_times 0
update_interval 0.7
# Minimum size of text area
minimum_size 160 40
maximum_width 260
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
stippled_borders 0
border_margin 5
border_width 3
#Default colors and also border colors
default_color 69eff8 #00c5ff Color Change Blue / Green
#default_shade_color black
#default_outline_color grey
own_window_colour 000000
#Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right
gap_x 10
gap_y 50
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
${image $HOME/.conky/Conky-Preset-master/img/manj.png -p 40,4 -s 35x35} ${voffset 5}
${alignc}${font Univers Condensed Bold:bold:size=10} ${goto 90} ${execi 108000 echo $(awk -F'=' '/^NAME=/ {print $2}' /etc/os-release | tr -d '"')} ${execi 108000 echo $(lsb_release -sr)}
${voffset 10}${font Ubuntu:bold:size=11}${goto 157} ${voffset -2}
${color 69eff8}${font Cadillac Sans:bold:size=18} ${time %H:%M:%S} ${font} ${voffset -4} ${font Cadillac Sans:size=10} ${voffset 2} ${alignc} ${goto 120} ${time %A, %d %B %Y}
${color f151ef}${font OpenLogos:size=20}t${font} Kernel: ${alignr} ${kernel} ${machine}
${color 69eff8}${font StyleBats:size=18}q${font}${voffset -5} Up Time: ${alignr} ${uptime} ${voffset 7}
${color f151ef}${font CadillacSans-Bold:size=11} Host Name: ${alignr} ${nodename} ${voffset -5}

${color 69eff8}${font StyleBats:size=20}E${font}${voffset -6} CPU1: ${cpu cpu1}% ${alignr} ${cpubar cpu1 6,97} ${voffset 5}
${color f151ef}${font StyleBats:size=20}E${font}${voffset -6} CPU2: ${cpu cpu2}% ${alignr} ${cpubar cpu2 6,97} ${voffset 5}
${color 69eff8}${font StyleBats:size=20}E${font}${voffset -6} CPU3: ${cpu cpu3}% ${alignr} ${cpubar cpu3 6,97} ${voffset 5}
${color f151ef}${font StyleBats:size=20}E${font}${voffset -6} CPU4: ${cpu cpu4}% ${alignr} ${cpubar cpu4 6,97} ${voffset 5}
${color 69eff8}${font StyleBats:size=20}E${font}${voffset -6} General CPU: ${alignr} ${cpu}% / GHz: $freq_g ${voffset 5}
#=== Memory ======================================================================================================================

${color f151ef}${font StyleBats:size=20}g${font}${voffset -6} RAM: $memperc% ${alignr} ${membar 6,97} ${voffset 5}
${color 69eff8}${font StyleBats:size=20}g${font}${voffset -6} Total RAM: ${alignr} $memmax ${voffset 5}
${color f151ef}${font StyleBats:size=20}g${font}${voffset -6} Use RAM: ${alignr} $mem ${voffset 5}
${color 69eff8}${font StyleBats:size=20}g${font}${voffset -6} Available RAM: $alignr $memeasyfree ${voffset 5}
#=== HDD Section ==============================================================================================================================

${color f151ef}${font Cadillac Sans:weight=bold:size=10}System partition: ${font}${alignr} ${fs_size /} $fs_type
${color 69eff8}${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Root: ${fs_used_perc /}% ${alignr} ${fs_bar 5,97 /} ${voffset 5}
${color f151ef}${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Home: ${fs_used_perc /home}% ${alignr} ${fs_bar 5,97 /home} ${voffset 5}
${color 69eff8}${font StyleBats:size=20}A${voffset -6}${goto 35}${font} Available: ${alignr} ${fs_free /} ${voffset 5}
${color f151ef}${font StyleBats:size=20}M${voffset -6}${goto 35}${font} I/O: ${diskio} $color ${alignr} ${diskiograph 15,97} ${voffset 0}
#=== TO DO ==============================================================================================================================
#SDA $alignr ${hddtemp /dev/sda}°C
#SDB $alignr ${hddtemp /dev/sdb}°C
#SDC $alignr ${hddtemp /dev/sdc}°C #Disl temp		#There is no free space on the screen TO DO
#SDD $alignr ${hddtemp /dev/sdd}°C
#$diskio_write(/dev/sda) # All Disk I/O
#=== Processes CPU Usage ========================================================================================================================

${color f151ef}${font Cadillac Sans:weight=bold:size=10} CPU usage ${font}
${goto 150} PID  CPU%  RAM%
${color 69eff8} 1.${offset 4}${top name 1} ${goto 150} ${top pid 1} ${top cpu 1}  ${top mem 1}
${color f151ef} 2.${offset 4}${top name 2} ${goto 150} ${top pid 2} ${top cpu 2}  ${top mem 2}
${color 69eff8} 3.${offset 4}${top name 3} ${goto 150} ${top pid 3} ${top cpu 3}  ${top mem 3}
${color f151ef} 4.${offset 4}${top name 4} ${goto 150} ${top pid 4} ${top cpu 4}  ${top mem 4}
${color 69eff8} 5.${offset 4}${top name 5} ${goto 150} ${top pid 5} ${top cpu 5}  ${top mem 5} ${voffset -5}
#=== Processes memory usage ======================================================================================================================

${color f151ef}${font Cadillac Sans:weight=bold:size=10} Memory usage ${font}
${color f151ef}${alignr} ${goto 185} PID    RAM%
${color 69eff8} 1. ${top_mem name 1}     ${goto 180} ${top_mem pid 1} ${top_mem mem 1}
${color f151ef} 2. ${top_mem name 2}     ${goto 180} ${top_mem pid 2} ${top_mem mem 2}
${color 69eff8} 3. ${top_mem name 3}     ${goto 180} ${top_mem pid 3} ${top_mem mem 3}
${color f151ef} 4. ${top_mem name 4}     ${goto 180} ${top_mem pid 4} ${top_mem mem 4}
${color 69eff8} 5. ${top_mem name 5}     ${goto 180} ${top_mem pid 5} ${top_mem mem 5} ${voffset -5}

${color f151ef}${font Cadillac Sans:weight=bold:size=10}System commands ${font}

${color 69eff8}workspace switch $alignr${color 69eff8}ctrl+(f1-f4)
${color f151ef}terminal $alignr${color f151ef}ctrl+alt+t
${color 69eff8}open file folder $alignr${color 69eff8}meta+e
${color f151ef}application launcher $alignr${color f151ef}meta+x
${color 69eff8}capture specific region $alignr${color 69eff8}meta+sift+print
${color f151ef}minimize window $alignr${color f151ef}meta+alt+down
${color 69eff8}show system activity $alignr${color 69eff8}ctrl+esc
${color f151ef}logout $alignr${color f151ef}ctrl+alt+del

# THE END ;)


Forum kindly sponsored by