My modified version of MX-MyConky [Solved]
Re: My modified version of MX-MyConky
@asqwerth Thanks for that, I'll take a look.
@davidy I have never seen that either, either personally or reported.
@davidy I have never seen that either, either personally or reported.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: My modified version of MX-MyConky
Once again, there is no issue and I know how to create my own thread. If you want to make every "issue" thread private I won't stop you. He posted about conky. I opened it and it acted weird so I removed it. The xanmod kernel reference made it all worthwhile however.asqwerth wrote: Sat Jan 18, 2025 8:02 amplease start a new thread with this issue because this thread is about creating a new conky config, not about conky manager's potential problems (which I have not encountered).davidy wrote: Sat Jan 18, 2025 7:49 am Interesting. After opening conky mgr and hitting one of the buttons at the top it stopped displaying the conky choices and no matter what I did all I got was a blank gui so I completely removed it. Which is not possible without removing mx-apps too. If nothing else at least the xanmod 6.12.10 rt-kernel v3 is working on my laptop. That's kinda cool.
Sys76 LemurPro-mx-23.4, EliteMinis HM90-mx-21.3, Deskmini UM350-phoenixLite win10, Qnap 12tb nas, Protectli FW4C-opnsense(=゜ω゜)
zero privacy = zero security . All MX'd Up
UAP = up above people
zero privacy = zero security . All MX'd Up
UAP = up above people
Re: My modified version of MX-MyConky
The original doesn't declare own_window_type. They are both commented out and I justasqwerth wrote: Sat Jan 18, 2025 7:30 am
Just to let you know, siamhie uses
own_window_type = 'override',
in his conky, but
the original MX version of this conky [and most conkies in our collection] use
own_window_type = 'normal',
choose override. I have since changed them to normal.
Code: Select all
-- own_window_type desktop
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
--own_window_type override
own_window_argb_visual = true,
own_window_argb_value = 0,
We now have an updated version based on @asqwerth's new CPU code.
If you could please test it, maybe we can have it included in the next round of updates.
All corrections are included in this version, including the original CPU temp variable (line 86).
If yours doesn't report the same temp as sensors, find the correct one in /sys/class/hwmon.
My CPU temp is located at hwmon3 and I had it hard coded.
MySysInfoConky-MultiCore
Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 1,
background = true,
own_window = true,
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 = false,
own_window_transparent = false,
own_window_class = 'conky',
use_xft = true,
font = 'cure:size=12',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 1,
net_avg_samples = 1,
double_buffer = true,
maximum_width = 320,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
stippled_borders = 1,
border_width = 0,
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
alignment = 'top_right',
gap_x = 5,
gap_y = 5,
use_spacer = 'left',
no_buffers = true,
uppercase = false,
color0 = 'white',
color1 = 'green',
color2 = 'white',
color3 = '1793d0',
pad_percents = 2,
top_name_width = 7,
minimum_width = 320, minimum_height = 610,
lua_load = 'allcombined.lua',
own_window_colour = '000000',
-- if_up_strictness link: up | link | address
if_up_strictness = 'address',
-- network templates
template0 = 'wlan0',
template1 = 'wlan1',
template2 = 'eth0',
template3 = 'eth1',
-- time template
template7 = '%a %d %b %Y - %H:%M:%S',
};
-- fluxbox adjustment
return_code = os.execute('pidof -q fluxbox')
if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or
_VERSION ~= 'Lua 5.1' and return_code then
conky.config.own_window_transparent = true
conky.config.own_window_argb_visual = false
end
conky.text = [[
#-----------------------System-----------------------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font}
${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
${alignc}Kernel: ${kernel}
${alignc}${time %a %d %b %Y - %H:%M:%S}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon0/temp1_input}${eval ${hwmon 0 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C
# if CPU 16 cores
${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 16} ${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz
${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz
${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz
${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz
${voffset 10}CPU9 ${goto 80} ${cpu cpu9}% ${lua gradbar {4, 500, "${cpu cpu9}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 9} MHz
${voffset 10}CPU10 ${goto 80} ${cpu cpu10}% ${lua gradbar {4, 533, "${cpu cpu10}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 10} MHz
${voffset 10}CPU11 ${goto 80} ${cpu cpu11}% ${lua gradbar {4, 566, "${cpu cpu11}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 11} MHz
${voffset 10}CPU12 ${goto 80} ${cpu cpu12}% ${lua gradbar {4, 599, "${cpu cpu12}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 12} MHz
${voffset 10}CPU13 ${goto 80} ${cpu cpu13}% ${lua gradbar {4, 632, "${cpu cpu13}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 13} MHz
${voffset 10}CPU14 ${goto 80} ${cpu cpu14}% ${lua gradbar {4, 665, "${cpu cpu14}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 14} MHz
${voffset 10}CPU15 ${goto 80} ${cpu cpu15}% ${lua gradbar {4, 698, "${cpu cpu15}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 15} MHz
${voffset 10}CPU16 ${goto 80} ${cpu cpu16}% ${lua gradbar {4, 731, "${cpu cpu16}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 16} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 827, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
${endif}\
#if CPU 4 cores
${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 4} ${alignc}CPU Core Loads
CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz
${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz
${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz
${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 430, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
${endif}\
#-----------------------Processes----------------------
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font}
#${running_processes} ${running_threads} ${processes}
${hr 1}${font}
${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID
${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11}
${voffset -3}#
${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1}
${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2}
${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3}
${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4}
${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5}
#-----------------------Network-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font}
${voffset -1}
${if_up $template0}\
${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0}
${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template1}\
${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1}
${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template2}\
${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2}
${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00}
${voffset -1}\
${endif}\
${if_up $template3}\
${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3}
${hr 1}
${voffset -1}
${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0}
${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3}
${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00}
${voffset -1}\
${endif}
]];
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: My modified version of MX-MyConky
@davidy Please try the revised version in post #23. Thank you.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: My modified version of MX-MyConky
When no own_window_type is set out, it defaults to normal anyway.
see: https://conky.sourceforge.net/config_settings.html
Thanks, @siamhie I'll copy and test this new mega-conky!
see: https://conky.sourceforge.net/config_settings.html
Thanks, @siamhie I'll copy and test this new mega-conky!
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: My modified version of MX-MyConky
siamhie wrote: Sat Jan 18, 2025 9:46 amThe original doesn't declare own_window_type. They are both commented out and I justasqwerth wrote: Sat Jan 18, 2025 7:30 am
Just to let you know, siamhie uses
own_window_type = 'override',
in his conky, but
the original MX version of this conky [and most conkies in our collection] use
own_window_type = 'normal',
choose override. I have since changed them to normal.
We now have an updated version based on @asqwerth's new CPU code.Code: Select all
-- own_window_type desktop own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', --own_window_type override own_window_argb_visual = true, own_window_argb_value = 0,
If you could please test it, maybe we can have it included in the next round of updates.
All corrections are included in this version, including the original CPU temp variable (line 86).
If yours doesn't report the same temp as sensors, find the correct one in /sys/class/hwmon.
My CPU temp is located at hwmon3 and I had it hard coded.
MySysInfoConky-MultiCoreCode: Select all
conky.config = { -- My adapted/changed Conky -- 18 Dec. 2018 double_buffer = true, update_interval = 1, background = true, own_window = true, 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 = false, own_window_transparent = false, own_window_class = 'conky', use_xft = true, font = 'cure:size=12', xftalpha = 0, update_interval = 1, cpu_avg_samples = 1, net_avg_samples = 1, double_buffer = true, maximum_width = 320, draw_shades = false, draw_outline = false, draw_borders = false, draw_graph_borders = false, stippled_borders = 1, border_width = 0, default_color = 'white', default_shade_color = 'white', default_outline_color = 'white', alignment = 'top_right', gap_x = 5, gap_y = 5, use_spacer = 'left', no_buffers = true, uppercase = false, color0 = 'white', color1 = 'green', color2 = 'white', color3 = '1793d0', pad_percents = 2, top_name_width = 7, minimum_width = 320, minimum_height = 610, lua_load = 'allcombined.lua', own_window_colour = '000000', -- if_up_strictness link: up | link | address if_up_strictness = 'address', -- network templates template0 = 'wlan0', template1 = 'wlan1', template2 = 'eth0', template3 = 'eth1', -- time template template7 = '%a %d %b %Y - %H:%M:%S', }; -- fluxbox adjustment return_code = os.execute('pidof -q fluxbox') if _VERSION == 'Lua 5.1' and math.floor(return_code/256) == 0 or _VERSION ~= 'Lua 5.1' and return_code then conky.config.own_window_transparent = true conky.config.own_window_argb_visual = false end conky.text = [[ #-----------------------System----------------------------------- ${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM ${color}${hr 2}${font} ${alignc}${font}${color}${offset 6}${execi 86400 cat /etc/mx-version} ${alignc}Kernel: ${kernel} ${alignc}${time %a %d %b %Y - %H:%M:%S} #-----------------------CPU----------------------- ${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font} ${alignc}${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo} ${alignc}${color lightgrey}Temperature: ${if_existing /sys/class/hwmon/hwmon0/temp1_input}${eval ${hwmon 0 temp 1}}${else}${if_existing /sys/class/hwmon/hwmon1/temp1_input}${eval ${hwmon 1 temp 1}}${endif}${endif}°C # if CPU 16 cores ${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 16} ${alignc}CPU Core Loads CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz ${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz ${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz ${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz ${voffset 10}CPU5 ${goto 80} ${cpu cpu5}% ${lua gradbar {4, 370, "${cpu cpu5}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 5} MHz ${voffset 10}CPU6 ${goto 80} ${cpu cpu6}% ${lua gradbar {4, 403, "${cpu cpu6}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 6} MHz ${voffset 10}CPU7 ${goto 80} ${cpu cpu7}% ${lua gradbar {4, 436, "${cpu cpu7}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 7} MHz ${voffset 10}CPU8 ${goto 80} ${cpu cpu8}% ${lua gradbar {4, 468, "${cpu cpu8}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 8} MHz ${voffset 10}CPU9 ${goto 80} ${cpu cpu9}% ${lua gradbar {4, 500, "${cpu cpu9}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 9} MHz ${voffset 10}CPU10 ${goto 80} ${cpu cpu10}% ${lua gradbar {4, 533, "${cpu cpu10}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 10} MHz ${voffset 10}CPU11 ${goto 80} ${cpu cpu11}% ${lua gradbar {4, 566, "${cpu cpu11}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 11} MHz ${voffset 10}CPU12 ${goto 80} ${cpu cpu12}% ${lua gradbar {4, 599, "${cpu cpu12}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 12} MHz ${voffset 10}CPU13 ${goto 80} ${cpu cpu13}% ${lua gradbar {4, 632, "${cpu cpu13}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 13} MHz ${voffset 10}CPU14 ${goto 80} ${cpu cpu14}% ${lua gradbar {4, 665, "${cpu cpu14}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 14} MHz ${voffset 10}CPU15 ${goto 80} ${cpu cpu15}% ${lua gradbar {4, 698, "${cpu cpu15}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 15} MHz ${voffset 10}CPU16 ${goto 80} ${cpu cpu16}% ${lua gradbar {4, 731, "${cpu cpu16}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 16} MHz #-----------------------Memory Load----------------------- ${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font} ${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 827, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}} ${color}$mem used${alignr}${memperc}% used ${endif}\ #if CPU 4 cores ${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 4} ${alignc}CPU Core Loads CPU1 ${goto 80} ${cpu cpu1}% ${lua gradbar {4, 238, "${cpu cpu1}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 1} MHz ${voffset 10}CPU2 ${goto 80} ${cpu cpu2}% ${lua gradbar {4, 270, "${cpu cpu2}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 2} MHz ${voffset 10}CPU3 ${goto 80} ${cpu cpu3}% ${lua gradbar {4, 303, "${cpu cpu3}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 3} MHz ${voffset 10}CPU4 ${goto 80} ${cpu cpu4}% ${lua gradbar {4, 336, "${cpu cpu4}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 249}${color}${freq 4} MHz #-----------------------Memory Load----------------------- ${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font} ${color}RAM Available${color}${alignr}$memmax ${lua gradbar {4, 430, "${memperc}", 100, 110, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}} ${color}$mem used${alignr}${memperc}% used ${endif}\ #-----------------------Processes---------------------- ${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES ${color}${hr 2}${font} #${running_processes} ${running_threads} ${processes} ${hr 1}${font} ${color lightgrey}${font Futurist Fixed-width:size=10:bold}${color7}${offset 5}PROCESS CPU${alignr} MEMORY ${offset -5}PID ${voffset -10}${color0}${hr 1}${font}${color}${font monofur:size=11} ${voffset -3}# ${offset 5}${top name 1} ${alignr}${top cpu 1}% ${top mem_res 1} ${alignr}${offset -5}${top pid 1} ${offset 5}${top name 2} ${alignr}${top cpu 2}% ${top mem_res 2} ${alignr}${offset -5}${top pid 2} ${offset 5}${top name 3} ${alignr}${top cpu 3}% ${top mem_res 3} ${alignr}${offset -5}${top pid 3} ${offset 5}${top name 4} ${alignr}${top cpu 4}% ${top mem_res 4} ${alignr}${offset -5}${top pid 4} ${offset 5}${top name 5} ${alignr}${top cpu 5}% ${top mem_res 5} ${alignr}${offset -5}${top pid 5} #-----------------------Network----------------------- ${offset 10}${font Good Times:size=12}${color Tan1}NETWORK ${color}${hr 2}${font} ${voffset -1} ${if_up $template0}\ ${goto 10}Wireless:${color3} $template0${color}${goto 145}IP local: ${color3}${addr $template0} ${hr 1} ${voffset -1} ${goto 14}${color2}Up: ${color3}${upspeed $template0}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template0}${color0} ${goto 14}${color2}Sent:${color1} ${color2}${totalup $template0}${color1}${alignr}${goto 180}${color2}Received: ${color}${color2}${totaldown $template0} ${goto 14}${upspeedgraph $template0 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template0 25,140 000000 00FF00} ${voffset -1}\ ${endif}\ ${if_up $template1}\ ${goto 10}Wireless: ${color3} $template1${color}${goto 160} IP local: ${color3}${addr $template1} ${hr 1} ${voffset -1} ${goto 14}${color2}Up: ${color3}${upspeed $template1}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template1}${color0} ${goto 14}${color2}Sent:${color1} ${color2}${totalup $template1}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template1} ${goto 14}${upspeedgraph $template1 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template1 25,140 000000 00FF00} ${voffset -1}\ ${endif}\ ${if_up $template2}\ ${goto 10}Ethernet: ${color3} $template2${color}${goto 160} IP local: ${color3}${addr $template2} ${hr 1} ${voffset -1} ${goto 14}${color2}Up: ${color3}${upspeed $template2}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template2}${color0} ${goto 14}${color2}Sent:${color1} ${color2}${totalup $template2}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template2} ${goto 14}${upspeedgraph $template2 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template2 25,140 000000 00FF00} ${voffset -1}\ ${endif}\ ${if_up $template3}\ ${goto 10}Ethernet: ${color3} $template3${color}${goto 160} IP local: ${color3}${addr $template3} ${hr 1} ${voffset -1} ${goto 14}${color2}Up: ${color3}${upspeed $template3}${color1}${alignr}${goto 180}${color2}Down:${color1} ${color3}${downspeed $template3}${color0} ${goto 14}${color2}Sent:${color1} ${color2}${totalup $template3}${color1}${alignr}${goto 180}${color2}Received:${color}${color2}${totaldown $template3} ${goto 14}${upspeedgraph $template3 25,140 000000 FFBF00}${goto 180}${downspeedgraph $template3 25,140 000000 00FF00} ${voffset -1}\ ${endif} ]];
Hang on, did you add the lines for the other cores? I only included the scenarios for 4 cores and 16 cores. I don't see any of the others included in your config. I was waiting for you to test your individual conkies so you could work out the positions for the memperc bar in each of those cases.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: My modified version of MX-MyConky
Did not know that. I sometimes create a conky that gets placed in the center of the screen and without the override variable,asqwerth wrote: Sat Jan 18, 2025 10:00 am When no own_window_type is set out, it defaults to normal anyway.
see: https://conky.sourceforge.net/config_settings.html
I lose the right click menu feature in fluxbox and have to click outside of the conky window.
It sure did turn into a mega-conky but that was a fun one to build. I think I have just a little bit better understand of lua scripting from my arm chair.Thanks, @siamhie I'll copy and test this new mega-conky!
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: My modified version of MX-MyConky
think you posted the wrong conky. It's not so mega. 

Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400
Re: My modified version of MX-MyConky
asqwerth wrote: Sat Jan 18, 2025 10:04 am
Hang on, did you add the lines for the other cores? I only included the scenarios for 4 cores and 16 cores. I don't see any of the others included in your config. I was waiting for you to test your individual conkies so you could work out the positions for the memperc bar in each of those cases.
I made the changes in post #9 for the membar positioning for all the cores last night. ( *Update: corrected the memory graph positioning for cores 2 through 12 now.)
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
Re: My modified version of MX-MyConky
It will mega-rock if more users with different CPU core counts test and report.

I titled it MySysInfoConky-MultiCore hoping it works for users with 2-16 cores.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.