Did you change the own_window_type to normal instead of override?AVLinux wrote: Sun Jan 19, 2025 12:16 amHmmm, good hint, it did make the error message go away but the Conky is not still displaying properly but it's quite possible it's an nVidia Video driver issue, I have all kinds of visual weirdness going on with this machine, strangely my regular Conky works but it's a very simple one without the extra Lua extensions. Anyway with a flaky Driver and using an unsupported DE I'm probably not an ideal candidate for your tests. The Conky looked so cool I wanted to try at least..asqwerth wrote: Sat Jan 18, 2025 9:42 pmTry to quote the path for allcombined.lua in full in the "lua_load" line of the conky. Does it make a difference?AVLinux wrote: Sat Jan 18, 2025 4:28 pm @siamhie
I can't seem to get the conky to find 'allcombined.lua' even though it is in the directory with the .conkyrc and I've made it executable:
You shouldn't need to make the lua scripts executable![]()
My modified version of MX-MyConky [Solved]
Re: My modified version of MX-MyConky
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
This is the @siamhie edited version (I was trying to test his 24 core version) and it has the window type changed to 'normal' already.asqwerth wrote: Sun Jan 19, 2025 1:32 amDid you change the own_window_type to normal instead of override?AVLinux wrote: Sun Jan 19, 2025 12:16 amHmmm, good hint, it did make the error message go away but the Conky is not still displaying properly but it's quite possible it's an nVidia Video driver issue, I have all kinds of visual weirdness going on with this machine, strangely my regular Conky works but it's a very simple one without the extra Lua extensions. Anyway with a flaky Driver and using an unsupported DE I'm probably not an ideal candidate for your tests. The Conky looked so cool I wanted to try at least..asqwerth wrote: Sat Jan 18, 2025 9:42 pm
Try to quote the path for allcombined.lua in full in the "lua_load" line of the conky. Does it make a difference?
You shouldn't need to make the lua scripts executable![]()
Code: Select all
own_window_type = 'normal',
Re: My modified version of MX-MyConky
@AVLinux Is the conky file in the same folder "~/.conky/MX_My_Conky/" as the allcombined.lua is?AVLinux wrote: Sat Jan 18, 2025 4:28 pm @siamhie
I can't seem to get the conky to find 'allcombined.lua' even though it is in the directory with the .conkyrc and I've made it executable:
Code: Select all
DevAVL@avl-devbox:~ $ conky -c "$HOME/.conky/MX_My_Conky/.conkyrc" & [1] 145353 DevAVL@avl-devbox:~ $ conky: desktop window (1e4) is root window conky: window type - normal conky: drawing to created window (0x1c00002) conky: drawing to double buffer conky: llua_load: cannot open allcombined.lua: No such file or directory conky: forked to background, pid is 145356
Code: Select all
DevAVL@avl-devbox:~ $ ls ~/.conky/MX_My_Conky/ allcombined.lua DevAVL@avl-devbox:~ $
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
So after adding 24 CPU entries to the MultiCore file, the network section of the conky goes off screen.
I copied the original conky.config section back into the MultiCore file and now I have two problems.
First it seems to read threads (16 core-32 thread) and 24 entries show.
Second problem I'm facing is when I refresh my desktop with fluxbox's restart command, the conky looks garbled.

Back to the drawing board to see what I can do to fix this.
I do see that there are two fonts listed in the config section.
I copied the original conky.config section back into the MultiCore file and now I have two problems.
First it seems to read threads (16 core-32 thread) and 24 entries show.
Second problem I'm facing is when I refresh my desktop with fluxbox's restart command, the conky looks garbled.

Back to the drawing board to see what I can do to fix this.
I do see that there are two fonts listed in the config section.
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,
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 = 2,
cpu_avg_samples = 2,
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
MySysInfoConky-MultiCore_revision3
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 = 2,
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-----------------------------------
${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
${voffset 10}CPU17 ${goto 80} ${cpu cpu17}% ${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
${voffset 10}CPU18 ${goto 80} ${cpu cpu18}% ${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
${voffset 10}CPU19 ${goto 80} ${cpu cpu19}% ${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
${voffset 10}CPU20 ${goto 80} ${cpu cpu20}% ${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
${voffset 10}CPU21 ${goto 80} ${cpu cpu21}% ${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
${voffset 10}CPU22 ${goto 80} ${cpu cpu22}% ${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
${voffset 10}CPU23 ${goto 80} ${cpu cpu23}% ${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
${voffset 10}CPU24 ${goto 80} ${cpu cpu24}% ${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
Yessir it is, it didn't show in my ls command because it is a hidden '.conkyrc' that's why it struck me as odd that it didn't find it without the full path, I even tried './allcombined.lua'siamhie wrote: Sun Jan 19, 2025 10:48 am
@AVLinux Is the conky file in the same folder "~/.conky/MX_My_Conky/" as the allcombined.lua is?
Re: My modified version of MX-MyConky
AVLinux wrote: Sun Jan 19, 2025 11:09 amYessir it is, it didn't show in my ls command because it is a hidden '.conkyrc' that's why it struck me as odd that it didn't find it without the full path, I even tried './allcombined.lua'siamhie wrote: Sun Jan 19, 2025 10:48 am
@AVLinux Is the conky file in the same folder "~/.conky/MX_My_Conky/" as the allcombined.lua is?
@AVLinux Try renaming the file as conkyrc. Don't make it hidden.
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
Even MySysInfoConky get garbled when restarting fluxbox. The command will restart the desktop.

Code: Select all
[restart] (Restart)

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
am I seeing a problem in the cpu's on this? If your calling out more than 16 cores, then there is an issue.siamhie wrote: Sun Jan 19, 2025 11:07 am MySysInfoConky-MultiCore_revision3
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 = 2, 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----------------------------------- ${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 ${voffset 10}CPU17 ${goto 80} ${cpu cpu17}% ${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 ${voffset 10}CPU18 ${goto 80} ${cpu cpu18}% ${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 ${voffset 10}CPU19 ${goto 80} ${cpu cpu19}% ${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 ${voffset 10}CPU20 ${goto 80} ${cpu cpu20}% ${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 ${voffset 10}CPU21 ${goto 80} ${cpu cpu21}% ${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 ${voffset 10}CPU22 ${goto 80} ${cpu cpu22}% ${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 ${voffset 10}CPU23 ${goto 80} ${cpu cpu23}% ${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 ${voffset 10}CPU24 ${goto 80} ${cpu cpu24}% ${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} ]];
Code: Select all
${cpu cpu17}% ${lua gradbar {4, 731, "${cpu cpu16}
Also, on my intel's the first cpu is cpu0
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!
Re: My modified version of MX-MyConky
@CharlesV That's what this part of the code that @asqwerth added to alleviate those with less than # of cores the conky has.CharlesV wrote: Sun Jan 19, 2025 6:19 pm am I seeing a problem in the cpu's on this? If your calling out more than 16 cores, then there is an issue.Code: Select all
${cpu cpu17}% ${lua gradbar {4, 731, "${cpu cpu16}
I take it it's not working. I can go back to making multiple versions based on the users amount of cores.
Code: Select all
${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 16} ${alignc}CPU Core Loads
I haven't gotten around to moving the graphs back into place when I added 8 more cores to the conky, so core 17 through 24 are all stacked on top of core 16 currently.it looks to me like from cpu 16 on the second part of the code is all using cpu16 ?
cpu0 is the combined value of all of the cores.Also, on my intel's the first cpu is cpu0
http://ifxgroup.net/conky.htm#cpu
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.