My modified version of MX-MyConky  [Solved]

Message
Author
User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: My modified version of MX-MyConky

#51 Post by CharlesV »

I will play a bit more, maybe I have done something wrong.
*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!

User avatar
siamhie
Global Moderator
Posts: 3338
Joined: Fri Aug 20, 2021 5:45 pm

Re: My modified version of MX-MyConky

#52 Post by siamhie »

CharlesV wrote: Sun Jan 19, 2025 8:16 pm I will play a bit more, maybe I have done something wrong.
I think I'm going to do a rewrite. I have a conky.config template that I know works just fine with fluxbox and doesn't get garbled when I restart
fluxbox (I think there are some values in the conky.config section of MySysInfoConky that may be depreciated which is why I get garbled output---
same thing happens with the MX-ManyRoads conky which I believe MX-MyConky is based on).
I'll will also create multiple conky's based on core counts seeing as conky treats SMP cores as threads (cpu1, cpu2, etc.) and will use MX-MyConky as my template.
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.

User avatar
asqwerth
Developer
Posts: 7930
Joined: Sun May 27, 2007 5:37 am

Re: My modified version of MX-MyConky

#53 Post by asqwerth »

siamhie wrote: Sun Jan 19, 2025 8:59 pm
CharlesV wrote: Sun Jan 19, 2025 8:16 pm I will play a bit more, maybe I have done something wrong.
I think I'm going to do a rewrite. I have a conky.config template that I know works just fine with fluxbox and doesn't get garbled when I restart
fluxbox (I think there are some values in the conky.config section of MySysInfoConky that may be depreciated which is why I get garbled output---
same thing happens with the MX-ManyRoads conky which I believe MX-MyConky is based on).
I'll will also create multiple conky's based on core counts seeing as conky treats SMP cores as threads (cpu1, cpu2, etc.) and will use MX-MyConky as my template.
@CharlesV @siamhie
Could I trouble you to try my Mega-Multicore version found here, especially if you have machines that have different numbers of cpu cores?

viewtopic.php?p=806184#p806184

I tried to combine and fold into one, all of siamhie's individual conkies for 2, 4, 6, 8, 10, 12, 16 core system.

Siamhie, you can copy over my folded in bits for the different scenarios into your multicore one. Note that the line that you quoted

Code: Select all

${if_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 16} ${alignc}CPU Core Loads
is just the first one for the 16-core scenario. I had a similar line for each other scenario listed out. It is not a one and done line for anything with 16 or less cores. I had to include a scenario for each core number I addressed. The problem therefore is that if your number of cores is not in the scenarios I have included in the conky, then no bars for cpu load and memperc will appear at all, the way the script is set up.

I tried the mega conky on my 4-core machine. It does seem to work as it runs the part for 4-cores and ignores the other scenarios that don't apply to me.
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

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: My modified version of MX-MyConky

#54 Post by CharlesV »

Certainly I shall have a look. My laptop is 14 cores and 20 threads, and my new machine is 20 cores and 28 threads. ( Both i7's )
*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!

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: My modified version of MX-MyConky

#55 Post by CharlesV »

@asqwerth I copied code from that post you linked and it didnt show any CPU's. should I have updated the code from another post?


Image

Code: Select all

Snapshot created on: 20241227_2128
System:
  Kernel: 6.12.8-1-liquorix-amd64 [6.12-10~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
    intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/boot/vmlinuz-6.12.8-1-liquorix-amd64
    root=UUID=<filter> ro quiet splash
  Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 info: xfce4-panel, cairo-dock wm: xfwm v: 4.20.0
    vt: 7 dm: LightDM v: 1.32.0 Distro: MX-23.5_x64 Libretto July 31  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: HP product: HP Envy Laptop 17-cw0xxx v: Type1ProductConfigId
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8BDD v: 70.33 serial: <superuser required> UEFI: Insyde v: F.05
    date: 08/29/2023
Battery:
  ID-1: BAT1 charge: 52.8 Wh (100.0%) condition: 52.8/55.7 Wh (94.9%) volts: 17.2 min: 15.0
    model: 333-17-4B-A SA04055XL type: Li-ion serial: <filter> status: full
CPU:
  Info: model: 13th Gen Intel Core i7-13700H bits: 64 type: MST AMCP arch: Raptor Lake gen: core 13
    level: v3 note: check built: 2022+ process: Intel 7 (10nm) family: 6 model-id: 0xBA (186)
    stepping: 2 microcode: 0x4123
  Topology: cpus: 1x cores: 14 mt: 6 tpc: 2 st: 8 threads: 20 smt: enabled cache: L1: 1.2 MiB
    desc: d-8x32 KiB, 6x48 KiB; i-6x32 KiB, 8x64 KiB L2: 11.5 MiB desc: 6x1.2 MiB, 2x2 MiB L3: 24 MiB
    desc: 1x24 MiB
  Speed (MHz): avg: 825 high: 3014 min/max: 400/2901 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 890 2: 400 3: 665 4: 562 5: 824 6: 900 7: 3014 8: 399 9: 780 10: 400
    11: 500 12: 400 13: 400 14: 2901 15: 700 16: 400 17: 675 18: 892 19: 400 20: 400
    bogomips: 116736
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling mitigation: Clear Register File
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS; IBPB: conditional; RSB filling;
    PBRSB-eIBRS: SW sequence; BHI: BHI_DIS_S
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-P [Iris Xe Graphics] vendor: Hewlett-Packard driver: i915 v: kernel
    alternate: xe arch: Gen-13 process: Intel 7 (10nm) built: 2022+ ports: active: eDP-1 empty: DP-1,
    DP-2, DP-3, DP-4, HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:a7a0 class-ID: 0300
  Device-2: Luxvisions Innotech HP Wide Vision 5MP Camera type: USB
    driver: hid-sensor-hub,usbhid,uvcvideo bus-ID: 3-7:2 chip-ID: 30c9:00ab class-ID: fe01
    serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.20.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 509x286mm (20.04x11.26") s-diag: 584mm (22.99")
  Monitor-1: eDP-1 model: BOE Display 0x0a9d built: 2021 res: 1920x1080 hz: 60 dpi: 128
    gamma: 1.2 size: 382x215mm (15.04x8.46") diag: 438mm (17.3") ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel Graphics (RPL-P) direct-render: Yes
Audio:
  Device-1: Intel vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3 chip-ID: 8086:51ca class-ID: 0401
  API: ALSA v: k6.12.8-1-liquorix-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel driver: iwlwifi v: kernel modules: wl port: N/A bus-ID: 00:14.3
    chip-ID: 8086:51f1 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 3-10:3 chip-ID: 8087:0033 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter>
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 953.87 GiB used: 217.37 GiB (22.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZVL41T0HBLB-00BH1 size: 953.87 GiB
    block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS3NHAV temp: 25.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 491.73 GiB size: 482.94 GiB (98.21%) used: 217.37 GiB (45.0%) fs: ext4
    dev: /dev/nvme0n1p6 maj-min: 259:5
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 31.69 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p5 maj-min: 259:4
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Repos:
  Packages: pm: dpkg pkgs: 2692 libs: 1278 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
Info:
  Processes: 420 Uptime: 10h 34m wakeups: 9464 Memory: 15.34 GiB used: 3.59 GiB (23.4%)
  Init: SysVinit v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0
  alt: 12 Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
*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!

User avatar
CharlesV
Global Moderator
Posts: 7313
Joined: Sun Jul 07, 2019 5:11 pm

Re: My modified version of MX-MyConky

#56 Post by CharlesV »

and ofcourse if I modify the IF statement to match my cores (14 on my lappy) then it shows good (full height of the screen ;- )

I run a modified conkypatch .. and stopped at 8 cores... Ran out of screen with the rest of my Tower and stuff ;-p


Image
*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!

User avatar
asqwerth
Developer
Posts: 7930
Joined: Sun May 27, 2007 5:37 am

Re: My modified version of MX-MyConky

#57 Post by asqwerth »

CharlesV wrote: Sun Jan 19, 2025 10:36 pm and ofcourse if I modify the IF statement to match my cores (14 on my lappy) then it shows good (full height of the screen ;- )

I run a modified conkypatch .. and stopped at 8 cores... Ran out of screen with the rest of my Tower and stuff ;-p


Image
Yes, like I said in my earlier post, if your no of cores doesn't match what I've got in the conky, those bits don't show. I don't know enough about awk or sed or whatever to try to do a

if [no of cores doesn't match 2, 4, 6, 8, 10, 12, 16] then [show average cpu load, ie display the bars for cp0]
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

User avatar
siamhie
Global Moderator
Posts: 3338
Joined: Fri Aug 20, 2021 5:45 pm

Re: My modified version of MX-MyConky

#58 Post by siamhie »

@asqwerth It runs but I'm still facing fuzzy text when I restart the fluxbox desktop.

Image


I've rewritten the conky with a known conky.config section that does work in fluxbox.

This is my first run and it is the 24 core conky. I can then remove cpu entries as needed and move the memory graph back into place quite easily.

I've created a folder called MX-MultiCore and the file is called 24core.

Code: Select all

ls -l
total 28
-rw-r--r-- 1 siamhie siamhie 10988 Jan 19 20:28 24core
-rw-r--r-- 1 siamhie siamhie  8713 Jan 17 09:02 allcombined.lua
-rw-r--r-- 1 siamhie siamhie   638 Jan 19 20:27 ReadMe

Code: Select all

conky.config = {
-- My modified MySysInfoConky
-- January 19th 2025

alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 1,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'monofur:bold:size=12',
gap_x = 10,
gap_y = 10,
maximum_width = 400,
net_avg_samples = 1,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_argb_visual = true,
own_window_argb_value = 0,
own_window_colour = '000000',
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',
own_window_transparent = true,
own_window_type = 'desktop',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 0.5,
uppercase = false,
use_spacer = 'right',
use_xft = true,


lua_load = 'allcombined.lua',

-- if_up_strictness link:  up | link | address
   if_up_strictness = 'address',

-- network templates
   template0 = 'wlan0',
   template1 = 'wlan1',
   template2 = 'eth0',
   template3 = 'eth1',
};

-- 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}
${font}${color}${offset 6}${exec 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}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_match ${execi 86400 grep -m1 -oP '^cpu cores\s+:\s\K(.*)' /proc/cpuinfo} == 16} 
CPU1 ${goto 180} ${cpu cpu1}% ${lua gradbar {4, 190, "${cpu cpu1}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 1} ${goto 355}MHz
${voffset 10}CPU2 ${goto 180} ${cpu cpu2}% ${lua gradbar {4, 217, "${cpu cpu2}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 2} ${goto 355}MHz
${voffset 10}CPU3 ${goto 180} ${cpu cpu3}% ${lua gradbar {4, 245, "${cpu cpu3}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 3} ${goto 355}MHz
${voffset 10}CPU4 ${goto 180} ${cpu cpu4}% ${lua gradbar {4, 272, "${cpu cpu4}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 4} ${goto 355}MHz
${voffset 10}CPU5 ${goto 180} ${cpu cpu5}% ${lua gradbar {4, 302, "${cpu cpu5}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 5} ${goto 355}MHz
${voffset 10}CPU6 ${goto 180} ${cpu cpu6}% ${lua gradbar {4, 330, "${cpu cpu6}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 6} ${goto 355}MHz
${voffset 10}CPU7 ${goto 180} ${cpu cpu7}% ${lua gradbar {4, 358, "${cpu cpu7}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 7} ${goto 355}MHz
${voffset 10}CPU8 ${goto 180} ${cpu cpu8}% ${lua gradbar {4, 386, "${cpu cpu8}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 8} ${goto 355}MHz
${voffset 10}CPU9 ${goto 180} ${cpu cpu9}% ${lua gradbar {4, 414, "${cpu cpu9}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 9} ${goto 355}MHz
${voffset 10}CPU10 ${goto 180} ${cpu cpu10}% ${lua gradbar {4, 442, "${cpu cpu10}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 10} ${goto 355}MHz
${voffset 10}CPU11 ${goto 180} ${cpu cpu11}% ${lua gradbar {4, 470, "${cpu cpu11}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 11} ${goto 355}MHz
${voffset 10}CPU12 ${goto 180} ${cpu cpu12}% ${lua gradbar {4, 498, "${cpu cpu12}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 12} ${goto 355}MHz
${voffset 10}CPU13 ${goto 180} ${cpu cpu13}% ${lua gradbar {4, 526, "${cpu cpu13}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 13} ${goto 355}MHz
${voffset 10}CPU14 ${goto 180} ${cpu cpu14}% ${lua gradbar {4, 554, "${cpu cpu14}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 14} ${goto 355}MHz
${voffset 10}CPU15 ${goto 180} ${cpu cpu15}% ${lua gradbar {4, 582, "${cpu cpu15}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 15} ${goto 355}MHz
${voffset 10}CPU16 ${goto 180} ${cpu cpu16}% ${lua gradbar {4, 610, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU17 ${goto 180} ${cpu cpu17}% ${lua gradbar {4, 638, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU18 ${goto 180} ${cpu cpu18}% ${lua gradbar {4, 666, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU19 ${goto 180} ${cpu cpu19}% ${lua gradbar {4, 694, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU20 ${goto 180} ${cpu cpu20}% ${lua gradbar {4, 722, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU21 ${goto 180} ${cpu cpu21}% ${lua gradbar {4, 750, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU22 ${goto 180} ${cpu cpu22}% ${lua gradbar {4, 778, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU23 ${goto 180} ${cpu cpu23}% ${lua gradbar {4, 806, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}MHz
${voffset 10}CPU24 ${goto 180} ${cpu cpu24}% ${lua gradbar {4, 834, "${cpu cpu16}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}${goto 310}${color}${freq 16} ${goto 355}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, 910, "${memperc}", 100, 125, 2, 10, 1, 0xFFFFFF, 0.25, 0x00FF00, 1, 0xFFFF00, 1, 0xFF0000, 1}}
${color}$mem used${goto 321}${memperc}% used

#-----------------------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.

User avatar
asqwerth
Developer
Posts: 7930
Joined: Sun May 27, 2007 5:37 am

Re: My modified version of MX-MyConky

#59 Post by asqwerth »

Noted about the fluxbox fuzziness. Since I don't use fb, I can't help with that.

I've copied your latest conky into my data partition conky collection. When I next boot into MX [currently updating other distros on my PC], I'll copy it into the MX install to test it. Though I'm not sure how helpful that will be when I only have 4 cores on both my lappy and my desktop PC.

For the moment though, I note your "if_match ...... = 16 " statement is not paired with a ${endif} at the end of the whole section dealing with 16-cores and consequential gradbar positions. I believe you need that.
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

User avatar
siamhie
Global Moderator
Posts: 3338
Joined: Fri Aug 20, 2021 5:45 pm

Re: My modified version of MX-MyConky

#60 Post by siamhie »

asqwerth wrote: Mon Jan 20, 2025 1:12 am Noted about the fluxbox fuzziness. Since I don't use fb, I can't help with that.

I've copied your latest conky into my data partition conky collection. When I next boot into MX [currently updating other distros on my PC], I'll copy it into the MX install to test it. Though I'm not sure how helpful that will be when I only have 4 cores on both my lappy and my desktop PC.

For the moment though, I note your "if_match ...... = 16 " statement is not paired with a ${endif} at the end of the whole section dealing with 16-cores and consequential gradbar positions. I believe you need that.
I've been working with the conky in post #16.
viewtopic.php?p=806129#p806129

Added the ${endif} statement but still showing all 24 cores.
Image
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.

Locked

Return to “Community Submissions”