Hi guys,
you could have a look at my MX-Compact contribution.
With that theme you could show bars for may be 30 cpus without problems
... and the theme contains a system reader.
May be - you find it useful
my combined MEGA version of siamhie's MX-Multicore -- need help
Re: my combined MEGA version of siamhie's MX-Multicore -- need help
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER
Re: my combined MEGA version of siamhie's MX-Multicore -- need help
django013 wrote: Wed Feb 12, 2025 11:18 pm Hi guys,
you could have a look at my MX-Compact contribution.
With that theme you could show bars for may be 30 cpus without problems
... and the theme contains a system reader.
May be - you find it useful
Please start your own thread and post it in the Community Submissions section with a title.
It's kind of disrespectful to tack on your ideas that don't pertain to the subject of another member's thread.
I only bring this up because I had to lock my MX-MultiCore thread because someone else kept posting their
conky code to it even after I asked them multiple times to not do it.
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 combined MEGA version of siamhie's MX-Multicore -- need help
You misunderstood me - I didn't want to advertise my theme, but to offer that you guys could borrow from my code to solve the problems.
Feel free to delete my post!
Feel free to delete my post!
MC: ASUS PRIME A320M-K, AMD Ryzen 5 3600, NVIDIA Quadro P400
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER
WS: ASRock X670E Steel Legend, AMD Ryzen 5 7600X, NVIDIA GTX 1660 SUPER
Re: my combined MEGA version of siamhie's MX-Multicore -- need help
@django013 Ok, I misunderstood. The reason for this thread is that @asqwerth wants to take my multi core conky and combine it into one conky.django013 wrote: Thu Feb 13, 2025 3:47 am You misunderstood me - I didn't want to advertise my theme, but to offer that you guys could borrow from my code to solve the problems.
Feel free to delete my post!
My version comes with 8 conky's and the user has to select the one that matches the number of cores their CPU has.
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 combined MEGA version of siamhie's MX-Multicore -- need help
Thanks for your post. My main point in this thread was to ask for answers to the questions I posed in the first post. I'm curious to know why I can't nestle so many if..else...endif scenarios, and whether there is a way to include a fallback situation to cover scenarios [eg some awk or sed type of arguments??] not specifically addressed in the conky.django013 wrote: Wed Feb 12, 2025 11:18 pm Hi guys,
you could have a look at my MX-Compact contribution.
With that theme you could show bars for may be 30 cpus without problems
... and the theme contains a system reader.
May be - you find it useful
The point is to understand and then improve the structure of the current conky at hand .
Your conky goes in a different direction I'm not really focused on . I'm not really experienced in reading lua scripts, so I won't have the time to examine and try to understand them.
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 combined MEGA version of siamhie's MX-Multicore -- need help
@asqwerth May I present to you MX-MultiCore version 2.
I started from scratch again using MySysInfoConky as the template. This is the 16 core conky to play with.
Remember to use your edited allcombined.lua script so that the lua bars work.
Edits made this time around
conky.config section:
commented out
there is already a font declaration
conky.text section:
Under the CPU section, removed the average core load
Under the Memory section, moved the memory lua bar up and placed it under the memory used section
After the Network section, I've added a CPU Load section with the 16 individual cores.
This should make it easier when you want your mega to display the users core count and not have it disrupt the other sections lua bars.

I started from scratch again using MySysInfoConky as the template. This is the 16 core conky to play with.
Remember to use your edited allcombined.lua script so that the lua bars work.
Edits made this time around
conky.config section:
commented out
Code: Select all
-- font = 'cure:size=10',
Code: Select all
font = 'Rounded Elegance:size=10',
conky.text section:
Under the CPU section, removed the average core load
Code: Select all
# CPU0
Avg. Load ${goto 60} : ${cpu cpu0}% ${lua gradbar {100, 135, "${cpu cpu0}", 100, 40, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 230}${color}${freq 1} MHz
After the Network section, I've added a CPU Load section with the 16 individual cores.
This should make it easier when you want your mega to display the users core count and not have it disrupt the other sections lua bars.

Code: Select all
conky.config = {
-- My adapted/changed Conky
-- 18 Dec. 2018
double_buffer = true,
update_interval = 2,
background = true,
own_window = true,
-- 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,
out_to_console = false,
own_window_transparent = true,
own_window_class = 'conky-semi',
use_xft = true,
-- font = 'cure:size=10',
--use_xft yes
--xftfont Sansation:size=9
font = 'Rounded Elegance:size=10',
xftalpha = 0,
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
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',
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,
gap_x = 60,
gap_y = 30,
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',
};
-- 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 information-----------------------
${offset 5}${font Good Times:size=12}${color Tan1}SYSTEM INFORMATION ${color}${hr 2}${font}
${font}${color}${offset 6}${execi 86400 cat /etc/mx-version}
#${goto 80}${color #34BE5B}${font Ubuntu-Title:size=11}Manjaro${font}${color} | xfce 4.13
${goto 10}Kernel: $kernel $machine
${goto 10}${if_match "pmfix${time %p}" == "pmfix"}${time $template7}${else}${time %a %d %b %Y - %I:%M}${endif}
#-----------------------CPU-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU ${color}${hr 2}${font}
${font}${color}${execi 86400 grep -m1 -oP '^model name\s+:\s\K(.*)' /proc/cpuinfo}
${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
#-----------------------Memory Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}MEMORY ${color}${hr 2}${font}
${color}RAM ${color}${alignr}$memmax
${voffset -6}
${lua gradbar {6, 225, "${memperc}", 200, 310, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${alignr}${memperc}% used
#-----------------------Processes & Load information-----------------------
${voffset +1}
${offset 10}${font Good Times:size=12}${color Tan1}PROCESSES & LOAD ${color}${hr 2}${font}
${offset 5}${voffset 5}${color}Avg. Load: ${loadavg 1}
#${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 160} 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}\
${endif}
#-----------------------CPU Load-----------------------
${offset 10}${font Good Times:size=12}${color Tan1}CPU Load ${color}${hr 2}${font}
CPU1 ${goto 160} ${cpu cpu1}% ${lua gradbar {4, 627, "${cpu cpu1}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 1} ${goto 324}MHz
${voffset 10}CPU2 ${goto 160} ${cpu cpu2}% ${lua gradbar {4, 652, "${cpu cpu2}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 2} ${goto 324}MHz
${voffset 10}CPU3 ${goto 160} ${cpu cpu3}% ${lua gradbar {4, 677, "${cpu cpu3}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 3} ${goto 324}MHz
${voffset 10}CPU4 ${goto 160} ${cpu cpu4}% ${lua gradbar {4, 702, "${cpu cpu4}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 4} ${goto 324}MHz
${voffset 10}CPU5 ${goto 160} ${cpu cpu5}% ${lua gradbar {4, 727, "${cpu cpu5}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 5} ${goto 324}MHz
${voffset 10}CPU6 ${goto 160} ${cpu cpu6}% ${lua gradbar {4, 752, "${cpu cpu6}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 6} ${goto 324}MHz
${voffset 10}CPU7 ${goto 160} ${cpu cpu7}% ${lua gradbar {4, 777, "${cpu cpu7}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 7} ${goto 324}MHz
${voffset 10}CPU8 ${goto 160} ${cpu cpu8}% ${lua gradbar {4, 802, "${cpu cpu8}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 8} ${goto 324}MHz
${voffset 10}CPU9 ${goto 160} ${cpu cpu9}% ${lua gradbar {4, 827, "${cpu cpu9}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 9} ${goto 324}MHz
${voffset 10}CPU10 ${goto 160} ${cpu cpu10}% ${lua gradbar {4, 852, "${cpu cpu10}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 10} ${goto 324}MHz
${voffset 10}CPU11 ${goto 160} ${cpu cpu11}% ${lua gradbar {4, 877, "${cpu cpu11}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 11} ${goto 324}MHz
${voffset 10}CPU12 ${goto 160} ${cpu cpu12}% ${lua gradbar {4, 902, "${cpu cpu12}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 12} ${goto 324}MHz
${voffset 10}CPU13 ${goto 160} ${cpu cpu13}% ${lua gradbar {4, 927, "${cpu cpu13}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 13} ${goto 324}MHz
${voffset 10}CPU14 ${goto 160} ${cpu cpu14}% ${lua gradbar {4, 952, "${cpu cpu14}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 14} ${goto 324}MHz
${voffset 10}CPU15 ${goto 160} ${cpu cpu15}% ${lua gradbar {4, 978, "${cpu cpu15}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 15} ${goto 324}MHz
${voffset 10}CPU16 ${goto 160} ${cpu cpu16}% ${lua gradbar {4, 1005, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 280}${color}${freq 16} ${goto 324}MHz
]];
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 combined MEGA version of siamhie's MX-Multicore -- need help
Thanks, @siamhie
When I finally get to rearranging my mega conky, this will certainly be helpful.
When I finally get to rearranging my mega conky, this will certainly be helpful.
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 combined MEGA version of siamhie's MX-Multicore -- need help
asqwerth wrote: Thu Feb 13, 2025 6:42 am Thanks, @siamhie
When I finally get to rearranging my mega conky, this will certainly be helpful.

The network section should recognize ETH0/ETH1 connections now. I left that part alone from the original.
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.