Help with conky seamod_rings

Trying to run the conky seamod with rings. I had it working at one time but I don’t remember what I had to do to get rings working.
I thought it was just lua and cairo, but can’t figure it out.

Garuda inxi

System:
  Kernel: 6.10.9-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=89e14150-63d0-465e-b482-78134e6232b9 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.43 wm: Muffin v: 6.2.0 tools:
    avail: cinnamon-screensaver,xautolock dm: LightDM v: 1.32.0 Distro: Garuda
    base: Arch Linux
Machine:
  Type: Desktop System: Dell product: Inspiron 3670 v: N/A serial: <filter>
    Chassis: type: 3 serial: <filter>
  Mobo: Dell model: 0H4VK7 v: A01 serial: <filter> part-nu: 0868
    uuid: 4c4c4544-0047-4810-8036-c2c04f315332 UEFI: Dell v: 2.21.0
    date: 12/03/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M325
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: Intel Core i5-9600K socket: LGA1151 (U3E1) note: check bits: 64
    type: MCP arch: Coffee Lake gen: core 9 level: v3 note: check built: 2018
    process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xC (12)
    microcode: 0xF8
  Topology: cpus: 1x cores: 6 smt: <unsupported> cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 9 MiB
    desc: 1x9 MiB
  Speed (MHz): avg: 816 high: 900 min/max: 800/4600 base/boost: 3663/4300
    scaling: driver: intel_pstate governor: powersave volts: 1.0 V
    ext-clock: 100 MHz cores: 1: 800 2: 800 3: 900 4: 800 5: 800 6: 800
    bogomips: 44398
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: none empty: DP-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e98 class-ID: 0380
  Device-2: NVIDIA GP108 [GeForce GT 1030] vendor: Gigabyte driver: nvidia
    v: 560.35.03 alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current
    (as of 2024-06; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 pcie: gen: 1 speed: 2.5 GT/s lanes: 4
    link-max: gen: 3 speed: 8 GT/s ports: active: none off: HDMI-A-1
    empty: DVI-D-1 bus-ID: 01:00.0 chip-ID: 10de:1d01 class-ID: 0300
  Display: unspecified server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    driver: X: loaded: modesetting,nvidia unloaded: nouveau
    alternate: fbdev,intel,nv,vesa dri: iris gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 81 s-size: 602x331mm (23.70x13.03")
    s-diag: 687mm (27.05")
  Monitor-1: HDMI-A-1 mapped: HDMI-0 note: disabled model: Acer KB272HL H
    serial: <filter> built: 2022 res: 1920x1080 hz: 75 dpi: 82 gamma: 1.2
    size: 597x336mm (23.5x13.23") diag: 685mm (27") ratio: 16:9 modes:
    max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: nvidia inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GT 1030/PCIe/SSE2
    memory: 1.95 GiB
  API: Vulkan v: 1.3.295 layers: 4 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GT 1030 driver: nvidia v: 560.35.03
    device-ID: 10de:1d01 surfaces: xcb,xlib device: 1 type: integrated-gpu
    name: Intel UHD Graphics 630 (CFL GT2) driver: mesa intel
    v: 24.2.2-arch1.1 device-ID: 8086:3e98 surfaces: xcb,xlib device: 2
    type: cpu name: llvmpipe (LLVM 18.1.8 256 bits) driver: mesa llvmpipe
    v: 24.2.2-arch1.1 (LLVM 18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl, snd_soc_avs, snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: NVIDIA GP108 High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 4
    bus-ID: 01:00.1 chip-ID: 10de:0fb8 class-ID: 0403
  API: ALSA v: k6.10.9-zen1-2-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.2.3 status: n/a (root, process) 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 Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
  IF: wlo1 state: down mac: <filter>
  Device-2: Intel Ethernet I225-V driver: igc v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: N/A bus-ID: 03:00.0 chip-ID: 8086:15f3
    class-ID: 0200
  IF: enp3s0 state: up speed: 2500 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5
    chip-ID: 8087:0aaa class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.1 lmp-v: 10
    status: discoverable: no pairing: no
Drives:
  Local Storage: total: 2.73 TiB used: 681.19 GiB (24.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WD BLACK SN850X 1000GB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 620361WD temp: 24.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD20EARX-00PASB0 size: 1.82 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: N/A serial: <filter> fw-rev: AB51
    scheme: MBR
Partition:
  ID-1: / raw-size: 558.98 GiB size: 558.98 GiB (100.00%)
    used: 13.45 GiB (2.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
    used: 27 MiB (28.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
    maj-min: 259:1
  ID-3: /home raw-size: 558.98 GiB size: 558.98 GiB (100.00%)
    used: 13.45 GiB (2.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
  ID-4: /var/log raw-size: 558.98 GiB size: 558.98 GiB (100.00%)
    used: 13.45 GiB (2.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
  ID-5: /var/tmp raw-size: 558.98 GiB size: 558.98 GiB (100.00%)
    used: 13.45 GiB (2.4%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p5
    maj-min: 259:5
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.17 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 6 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 26.0 C pch: 29.0 C mobo: 24.0 C gpu: nvidia
    temp: 32 C
  Fan Speeds (rpm): fan-1: 986 gpu: nvidia fan: 32%
Info:
  Memory: total: 32 GiB available: 31.17 GiB used: 2.04 GiB (6.5%)
  Processes: 280 Power: uptime: 18m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 12.42 GiB services: csd-power,upowerd
    Init: systemd v: 256 default: graphical tool: systemctl
  Packages: 1470 pm: pacman pkgs: 1463 libs: 412 tools: pamac,paru
    pm: flatpak pkgs: 7 Compilers: gcc: 14.2.1 Shell: garuda-inxi (sudo)
    default: Bash v: 5.2.32 running-in: gnome-terminal inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-09-10
  Last full system update: 2024-09-11
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut nvidia-dkms
  Windows dual boot:       Yes
  Failed units:            none

conky version

conky -v
conky 1.21.6-pre-fc8fe76 compiled for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * Mouse events
 Wayland:
  * ARGB visual
  * Mouse events

 Music detection:
  * CMUS
  * MPD
  * MOC

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256

conky-manager version 2.4

My conky-seamod config

#==============================================================================
#                               conkyrc_seamod
# Date    : 05/02/2012
# Author  : SeaJey
# Version : v0.1
# License : Distributed under the terms of GNU GPL version 2 or later
# 
# This version is a modification of conkyrc_lunatico wich is modification of conkyrc_orange
# 
# conkyrc_orange:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
# conkyrc_lunatico:  http://gnome-look.org/content/show.php?content=142884
#==============================================================================

background no
update_interval 1

cpu_avg_samples 1
net_avg_samples 2
temperature_unit fahrenheit

double_buffer yes
no_buffers yes
text_buffer_size 2048

gap_x 20
gap_y 30
minimum_size 300 900
maximum_width 400

own_window yes
own_window_type desktop
own_window_transparent yes
own_window_argb_visual yes
own_window_colour 000000
own_window_argb_value 0
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0
alignment top_right


draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no

override_utf8_locale yes
use_xft yes
xftfont caviar dreams:size=10
xftalpha 0.5
uppercase no

# Defining colors
default_color FFFFFF
# Shades of Gray
color1 DDDDDD
color2 AAAAAA
color3 888888
# Orange
color4 EF5A29
# Green
color5 77B753

# Loading lua script for drawning rings
lua_load /home/keith/.seamod_rings.lua
lua_draw_hook_post main

## System information using conky capabilities

# Header with base system info
#own_window_argb_value 0
#own_window_colour 000000
TEXT
${font Ubuntu:size=10,weight:bold}${color4}SYSTEM ${hr 2}
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}$sysname $kernel $machine
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}$nodename
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Logged In: $USER
${offset 15}${font Ubuntu:size=10,weight:normal}${color1}Uptime: $uptime

# Showing CPU Graph
${voffset 20}
${offset 120}${cpugraph 40,183 666666 666666}${voffset -25}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}CPU
# Showing TOP 5 CPU-consumers
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top name 1}${alignr}${top cpu 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top name 2}${alignr}${top cpu 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top name 3}${alignr}${top cpu 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 4}${alignr}${top cpu 4}%
#${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top name 5}${alignr}${top cpu 5}%

#Showing memory part with TOP 5
${voffset 20}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}MEM
${offset 105}${font Ubuntu:size=10,weight:normal}${color4}${top_mem name 1}${alignr}${top_mem mem 1}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color1}${top_mem name 2}${alignr}${top_mem mem 2}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 4}%
#${offset 105}${font Ubuntu:size=10,weight:normal}${color3}${top_mem name 4}${alignr}${top_mem mem 5}%

# Showing disk partitions: root, home and Data
${voffset 20}
${offset 120}${diskiograph 20,183 666666 666666}${voffset -25}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}DISKS
#${voffset 20}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}SDA: ${font Ubuntu:size=9,weight:normal}${fs_free /}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /}
${offset 15}${font Ubuntu:size=9,weight:bold}${color1}Storage: ${font Ubuntu:size=9,weight:normal}${fs_free /mnt/storage1}${alignr}${font Ubuntu:size=9,weight:bold}Used: ${font Ubuntu:size=9,weight:normal}${fs_used /mnt/storage1}


# Network data (my desktop have only LAN). ETHERNET ring is mostly useless but looks pretty, main info is in the graphs
${voffset 43}
${offset 90}${font Ubuntu:size=10,weight:bold}${color5}ETHERNET
${voffset 20}             
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Up: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${upspeed enp3s0} / ${totalup}
${offset 15}${upspeedgraph enp3s0 20,285 4B1B0C FF5C2B 100 -l}
${offset 15}${color1}${font Ubuntu:size=9,weight:bold}Down: ${alignr}${font Ubuntu:size=9,weight:normal}$color2${downspeed enp3s0} / ${totaldown}
${offset 15}${downspeedgraph enp3s0 20,285 324D23 77B753}
${voffset 15}${font Ubuntu:size=10,weight:bold}${color5}ADDRESS:${voffset 5}${font}
  ${color1}Wan: ${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
  Lan: ${addr enp3s0}
  
  Inbound Ports: ${tcp_portmon 1 32767 count}   
  Outbound Ports: ${tcp_portmon 32768 61000 count}  

${color4}${hr 2}

Any help or pointers would be appreciated.

My seamod_rings lua

--==============================================================================
--                            seamod_rings.lua
--
--  Date    : 05/02/2012
--  Author  : SeaJey
--  Version : v0.1
--  License : Distributed under the terms of GNU GPL version 2 or later
--
--  This version is a modification of lunatico_rings.lua wich is modification of conky_orange.lua 
--
--  conky_orange.lua:    http://gnome-look.org/content/show.php?content=137503&forumpage=0
--  lunatico_rings.lua:  http://gnome-look.org/content/show.php?content=142884
--==============================================================================

require 'cairo'


--------------------------------------------------------------------------------
--                                                                    gauge DATA
gauge = {
{
    name='cpu',                    arg='cpu0',                  max_value=100,
    x=40,                          y=170,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='cpu',                    arg='cpu1',                  max_value=100,
    x=140,                          y=170,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='cpu',                    arg='cpu2',                  max_value=100,
    x=40,                          y=250,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='cpu',                    arg='cpu3',                  max_value=100,
    x=140,                          y=250,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='cpu',                    arg='cpu4',                  max_value=100,
    x=40,                          y=330,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='cpu',                    arg='cpu5',                  max_value=100,
    x=140,                          y=330,
    graph_radius=30,
    graph_thickness=3,
    graph_start_angle=0,
    graph_unit_angle=3.59,          graph_unit_thickness=3.59,
    graph_bg_colour=0x888888,      graph_bg_alpha=0.1,
    graph_fg_colour=0x888888,      graph_fg_alpha=0.5,
    hand_fg_colour=0xFF0708,       hand_fg_alpha=0,
    txt_radius=1,
    txt_weight=0,                  txt_size=8.0,
    txt_fg_colour=0xFF0708,        txt_fg_alpha=0,
    graduation_radius=1,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=1,
    graduation_fg_colour=0x888888, graduation_fg_alpha=0,
    caption='',
    caption_weight=1,              caption_size=8.0,
    caption_fg_colour=0x888888,    caption_fg_alpha=0,
},
{
    name='memperc',                arg='',                      max_value=100,
    x=70,                          y=300,
    graph_radius=54,
    graph_thickness=10,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=42,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.5,
    caption='',
    caption_weight=1,              caption_size=10.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.3,
},
{
    name='fs_used_perc',           arg='/media/Data',                     max_value=100,
    x=70,                          y=470,
    graph_radius=54,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=64,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Data',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='fs_used_perc',           arg='/home/',                     max_value=100,
    x=70,                          y=470,
    graph_radius=42,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=32,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Home',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='fs_used_perc',           arg='/',                     max_value=100,
    x=70,                          y=470,
    graph_radius=30,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=1.0,
    txt_radius=22,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=23,
    graduation_thickness=0,        graduation_mark_thickness=2,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Root',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='downspeedf',           arg='eth0',                     max_value=100,
    x=70,                          y=660,
    graph_radius=54,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
    txt_radius=64,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Down',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
{
    name='upspeedf',           arg='eth0',                     max_value=100,
    x=70,                          y=660,
    graph_radius=42,
    graph_thickness=7,
    graph_start_angle=180,
    graph_unit_angle=2.7,          graph_unit_thickness=2.7,
    graph_bg_colour=0xffffff,      graph_bg_alpha=0.1,
    graph_fg_colour=0xFFFFFF,      graph_fg_alpha=0.3,
    hand_fg_colour=0xEF5A29,       hand_fg_alpha=0,
    txt_radius=30,
    txt_weight=0,                  txt_size=9.0,
    txt_fg_colour=0xEF5A29,        txt_fg_alpha=1.0,
    graduation_radius=28,
    graduation_thickness=0,        graduation_mark_thickness=1,
    graduation_unit_angle=27,
    graduation_fg_colour=0xFFFFFF, graduation_fg_alpha=0.3,
    caption='Up',
    caption_weight=1,              caption_size=12.0,
    caption_fg_colour=0xFFFFFF,    caption_fg_alpha=0.5,
},
}

-------------------------------------------------------------------------------
--                                                                 rgb_to_r_g_b
-- converts color in hexa to decimal
--
function rgb_to_r_g_b(colour, alpha)
    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
end

-------------------------------------------------------------------------------
--                                                            angle_to_position
-- convert degree to rad and rotate (0 degree is top/north)
--
function angle_to_position(start_angle, current_angle)
    local pos = current_angle + start_angle
    return ( ( pos * (2 * math.pi / 360) ) - (math.pi / 2) )
end


-------------------------------------------------------------------------------
--                                                              draw_gauge_ring
-- displays gauges
--
function draw_gauge_ring(display, data, value)
    local max_value = data['max_value']
    local x, y = data['x'], data['y']
    local graph_radius = data['graph_radius']
    local graph_thickness, graph_unit_thickness = data['graph_thickness'], data['graph_unit_thickness']
    local graph_start_angle = data['graph_start_angle']
    local graph_unit_angle = data['graph_unit_angle']
    local graph_bg_colour, graph_bg_alpha = data['graph_bg_colour'], data['graph_bg_alpha']
    local graph_fg_colour, graph_fg_alpha = data['graph_fg_colour'], data['graph_fg_alpha']
    local hand_fg_colour, hand_fg_alpha = data['hand_fg_colour'], data['hand_fg_alpha']
    local graph_end_angle = (max_value * graph_unit_angle) % 360

    -- background ring
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, 0), angle_to_position(graph_start_angle, graph_end_angle))
    cairo_set_source_rgba(display, rgb_to_r_g_b(graph_bg_colour, graph_bg_alpha))
    cairo_set_line_width(display, graph_thickness)
    cairo_stroke(display)

    -- arc of value
    local val = value % (max_value + 1)
    local start_arc = 0
    local stop_arc = 0
    local i = 1
    while i <= val do
        start_arc = (graph_unit_angle * i) - graph_unit_thickness
        stop_arc = (graph_unit_angle * i)
        cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
        cairo_set_source_rgba(display, rgb_to_r_g_b(graph_fg_colour, graph_fg_alpha))
        cairo_stroke(display)
        i = i + 1
    end
    local angle = start_arc

    -- hand
    start_arc = (graph_unit_angle * val) - (graph_unit_thickness * 2)
    stop_arc = (graph_unit_angle * val)
    cairo_arc(display, x, y, graph_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
    cairo_set_source_rgba(display, rgb_to_r_g_b(hand_fg_colour, hand_fg_alpha))
    cairo_stroke(display)

    -- graduations marks
    local graduation_radius = data['graduation_radius']
    local graduation_thickness, graduation_mark_thickness = data['graduation_thickness'], data['graduation_mark_thickness']
    local graduation_unit_angle = data['graduation_unit_angle']
    local graduation_fg_colour, graduation_fg_alpha = data['graduation_fg_colour'], data['graduation_fg_alpha']
    if graduation_radius > 0 and graduation_thickness > 0 and graduation_unit_angle > 0 then
        local nb_graduation = graph_end_angle / graduation_unit_angle
        local i = 0
        while i < nb_graduation do
            cairo_set_line_width(display, graduation_thickness)
            start_arc = (graduation_unit_angle * i) - (graduation_mark_thickness / 2)
            stop_arc = (graduation_unit_angle * i) + (graduation_mark_thickness / 2)
            cairo_arc(display, x, y, graduation_radius, angle_to_position(graph_start_angle, start_arc), angle_to_position(graph_start_angle, stop_arc))
            cairo_set_source_rgba(display,rgb_to_r_g_b(graduation_fg_colour,graduation_fg_alpha))
            cairo_stroke(display)
            cairo_set_line_width(display, graph_thickness)
            i = i + 1
        end
    end

    -- text
    local txt_radius = data['txt_radius']
    local txt_weight, txt_size = data['txt_weight'], data['txt_size']
    local txt_fg_colour, txt_fg_alpha = data['txt_fg_colour'], data['txt_fg_alpha']
    local movex = txt_radius * math.cos(angle_to_position(graph_start_angle, angle))
    local movey = txt_radius * math.sin(angle_to_position(graph_start_angle, angle))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, txt_weight)
    cairo_set_font_size (display, txt_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(txt_fg_colour, txt_fg_alpha))
    cairo_move_to (display, x + movex - (txt_size / 2), y + movey + 3)
    cairo_show_text (display, value)
    cairo_stroke (display)

    -- caption
    local caption = data['caption']
    local caption_weight, caption_size = data['caption_weight'], data['caption_size']
    local caption_fg_colour, caption_fg_alpha = data['caption_fg_colour'], data['caption_fg_alpha']
    local tox = graph_radius * (math.cos((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    local toy = graph_radius * (math.sin((graph_start_angle * 2 * math.pi / 360)-(math.pi/2)))
    cairo_select_font_face (display, "ubuntu", CAIRO_FONT_SLANT_NORMAL, caption_weight);
    cairo_set_font_size (display, caption_size)
    cairo_set_source_rgba (display, rgb_to_r_g_b(caption_fg_colour, caption_fg_alpha))
    cairo_move_to (display, x + tox + 5, y + toy + 1)
    -- bad hack but not enough time !
    if graph_start_angle < 105 then
        cairo_move_to (display, x + tox - 30, y + toy + 1)
    end
    cairo_show_text (display, caption)
    cairo_stroke (display)
end


-------------------------------------------------------------------------------
--                                                               go_gauge_rings
-- loads data and displays gauges
--
function go_gauge_rings(display)
    local function load_gauge_rings(display, data)
        local str, value = '', 0
        str = string.format('${%s %s}',data['name'], data['arg'])
        str = conky_parse(str)
        value = tonumber(str)
        draw_gauge_ring(display, data, value)
    end
    
    for i in pairs(gauge) do
        load_gauge_rings(display, gauge[i])
    end
end

-------------------------------------------------------------------------------
--                                                                         MAIN
function conky_main()
    if conky_window == nil then 
        return
    end

    local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
    local display = cairo_create(cs)
    
    local updates = conky_parse('${updates}')
    update_num = tonumber(updates)
    
    if update_num > 5 then
        go_gauge_rings(display)
    end

    cairo_surface_destroy(cs)
    cairo_destroy(display)

end

If you run conky in terminal it should point you in the direction of what is failing.

When I run conky in terminal.

conky
conky: no personal or system-wide config file found, using builtin default
conky: desktop window (0x4800004) is subwindow of root window (0x20e)
conky: window type - normal
conky: drawing to created window (0x5600001)
conky: drawing to double buffer
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: FOUND: wayland
conky: 'cinnamon' x11 session running 'X-Cinnamon' desktop

But that is a basic plan conky that is black with white text, very basic.
If i knew where that config file hides, I could drop my semod_rings and lua_rings file there and maybe get it to work.
Conky manager installs the config files in home/.conky and several themes like conky_seamod, Gotham, TeeJeeTech, cpu panels etc.
But I don’t know where the standard Conky lives.

Here is what conky_seamod looks like with the rings not working.
I had it working with same look but rings worked.
https://imgur.com/a/vnreVIe

For the garuda conky you can place the conky config in ./config/conky/, making the folder if missing.

Tried that, doesn’t make a difference.
I think what I had to do was remove all conky & conky-manager and install
conky version conky 1.19.6.
I just can’t remember how I did that or where I was able to download that version, I don’t see it in AUR repo’s, and not sure how to build from sources with a deb or ubuntu.

I get this in terminal;

conky
conky: Syntax error (/home/keith/.conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: Invalid value 'undecorate' for setting 'own_window_hints'. Valid values are: 'undecorated', 'below', 'above', 'sticky', 'skip_taskbar', 'skip_pager'.
conky: desktop window (0x2c00007) is subwindow of root window (0x20e)
conky: window type - desktop
conky: drawing to created window (0x2e00002)
conky: drawing to double buffer
conky: statfs '/mnt/storage1': No such file or directory
conky: statfs '/media/openmediavault/storage': No such file or directory
conky: statfs '/media/omvintel/storage': No such file or directory
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: 'cinnamon' x11 session running 'X-Cinnamon' desktop
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: can't load Xft font 'Ubuntu:size=9,weight:normal'
conky: can't load Xft font 'Ubuntu:size=9,weight:normal'
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: can't load Xft font 'Ubuntu:size=9,weight:normal'
conky: can't load Xft font 'Ubuntu:size=10,weight:bold'
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')

and after quit a bit of trials of everything I can think of I get this with conky

conky
conky: Syntax error (/home/keith/.conkyrc:2: unexpected symbol near '#') while reading config file. 
conky: Assuming it's in old syntax and attempting conversion.
conky: Invalid value 'undecorate' for setting 'own_window_hints'. Valid values are: 'undecorated', 'below', 'above', 'sticky', 'skip_taskbar', 'skip_pager'.
conky: desktop window (0x2600007) is subwindow of root window (0x20e)
conky: window type - desktop
conky: drawing to created window (0x2a00002)
conky: drawing to double buffer
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: 'cinnamon' x11 session running 'X-Cinnamon' desktop
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: can't load Xft font 'Ubuntu:size=9,weight:normal'
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: llua_do_call: function conky_main execution failed: /home/keith/.conky/seamod_rings.lua:414: attempt to call a nil value (global 'cairo_xlib_surface_create')

I get the llua_do_call line forever, just keeps going.

You should take a closer look at conky. Here, for example, is an important point for you. 2.2 mentions the syntax that has been changed almost 10 years ago. Your seamod is originally from 2012 and does not follow the new syntax. You can find more and more detailed information at Github.

It’s been many years since I used conky-manager. I got into the habit of doing everything myself. For example, I put my config files in my home directory and start conky via autostart with the command
conky -c /home/my_username/conky_right --daemonize --pause=1

However, no one here will write you a ready-made conky according to your wishes. That’s why you should start by familiarizing yourself with conky, otherwise there’s no point and you won’t make any progress. The only option would then be to download a ready-made conky and use it as it is or - after learning the right syntax - adapt it to your needs.

1 Like

Thanks for the tips, I’ll check it out.
I’m am starting conky with : conky --daemonize --pause=1
and is starts /home/username/.conkyrc and the lua_rings file is in home, and pointed to it in the conkyrc
May I ask what the -c is in your start?
I am however pretty versed with conky, just struggling a bit on Garuda getting lua rings to show up. Funny that it worked just fine on a laptop with just adding conky-manager. I just had to adjust x-y and add rings to more things.
I have used many different conky configs and versions through Mint, Ubuntu, Debian, Zorin etc.

FYI, but you must build it for yourself or try the -git version from AUR.

Check

man conky
conky -h
conky --help

conky-lua-nv is installed?

over and out :slight_smile:

Although it is never wrong to look at the man pages if something is not working as desired, the -c parameter tells conky to use the config file located there, which therefore does not necessarily have to be called conkyrc.

Of course you can also use conky-manager, but I found it more useful to deal with conky instead of conky-manager above it.

Ok, I uninstalled all conky’s, and attempted installing conky-lua-nv

Did the following

git clone https://aur.archlinux.org/conky-lua-nv.git

cd conky-lua-nv

$ makepkg -si

Is this the proper way to install it seemed to build, and I see the folder,
is there one more step to install?
A little confused with mkpkg, pkgbuild, or install.

paru conky-lua-nv
1 aur/conky-lua-nv 1.21.6-1 [+130 ~0.03]
    Lightweight system monitor for X with lua and nvidia enabled

1, enter, q, install

is the answer to
Is this the proper way to install

2 Likes

Ok did that ^ .
I got conky-lua-nv-1.21.6-1-x86_64 installed.
With conky -v I get:

conky 1.21.6-pre-fc8fe76 compiled for Linux x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window
  * Mouse events
 Wayland:
  * ARGB visual
  * Mouse events

 Music detection:
  * CMUS
  * MPD
  * MOC

 Default values:
  * Netdevice: eno1
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 256
  * Maximum text size: 16384
  * Size text buffer: 256

conky -C i get:

-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
--
-- Conky Lua API: https://conky.cc/lua

-- Configuration settings: https://conky.cc/config_settings
conky.config = {
    alignment = 'top_left',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    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 = 'DejaVu Sans Mono:size=12',
    gap_x = 60,
    gap_y = 60,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_wayland = false,
    out_to_x = true,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'normal',
    own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
}

-- Variables: https://conky.cc/variables
conky.text = [[
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}
$hr
${color grey}Uptime:$color $uptime
${color grey}Frequency (in MHz):$color $freq
${color grey}Frequency (in GHz):$color $freq_g
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
${color grey}Processes:$color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
 / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey}Networking:
Up:$color ${upspeed} ${color grey} - Down:$color ${downspeed}
$hr
${color grey}Name              PID     CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
]]

Which looks like this: Default conky - Album on Imgur

Then checking:

Package library path: /usr/lib/conky

There is no /etc/conky/conky.config file.
But if I drop any config in home/.conkyrc that’s what pulls up.
Still SMH on this. Thinking of just reinstalling Garuda, probably blew something up trying all these different installs.
If I drop my config from previous setup into .conkyrc it looks like this, just no rings.

and with conky -D I still get this.

DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/display-output.cc:39]: HTTP display output disabled. Enable by recompiling with 'BUILD_HTTP' flag enabled.
conky: FOUND: console
conky: FOUND: ncurses
conky: FOUND: file
conky: FOUND: x11
conky: FOUND: wayland
DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/display-output.cc:109]: Initialized display output 'x11'... 
conky: 'cinnamon' x11 session running 'X-Cinnamon' desktop
conky: llua_do_call: function conky_main execution failed: /home/keith/seamod_rings.lua:443: attempt to call a nil value (global 'cairo_xlib_surface_create')
DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/specials.cc:653]: reallocing graph from 0 to 190
DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/specials.cc:653]: reallocing graph from 0 to 175
DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/specials.cc:653]: reallocing graph from 0 to 285
DEBUG(0) [/home/keith/.cache/paru/clone/conky-lua-nv/src/conky-1.21.6/src/specials.cc:653]: reallocing graph from 0 to 285
conky: llua_do_call: function conky_main execution failed: /home/keith/seamod_rings.lua:443: attempt to call a nil value (global 'cairo_xlib_surface_create')
conky: llua_do_call: function conky_main execution failed: /home/keith/seamod_rings.lua:443: attempt to call a nil value (global 'cairo_xlib_surface_create')

still getting after trying everything I can think of, and then an Ah Ha moment…
Is my lua or conky syntax wronge?
Saw in Apocalypticus link https://wiki.archlinux.org/title/Conky about the old and new syntax.
So, do I need to convert from:

 bool_value yes
 string_value 'foo'
 int_value 42

syntax to:

conky.config = {
   -- Comments start with a double dash
   bool_value = true,
   string_value = 'foo',
   int_value = 42,
 }
 conky.text = [[
 $variable
 ${evaluated variable}
 ]]

Tried it manually and refreshed, but just got conky with just blank spaces,
but am confused on what gets a = ‘true’, or space true, or no commaa after.

  • Setting begins with its name, followed by a =, and the arguments.
  • Setting arguments should be enclosed in quotes unless it is a boolean or a number. Settings without arguments can use true or false.
  • Settings should be separated by a comma. The last setting should not have a comma at the end, although the syntax is forgiving.

have a look at…
conky wiki

1 Like

Hey all, found the issue with the conky_lua rings I was having-geeez that was fun.
We’re speaking of “seamod_rings config”, I also have conky-elegant-rings working on onther Garuda box.
I deleated all the conky folders left from conky, conky-manager, conky-cairo
installs. Installed conky-lua-nv via yay -S conky-lua-nv

  1. I had to use lua-convert to run the older .conkyrc through, I caught a couple things that it missed (hash marks, colors, and weight used on fonts, etc) but was a blessing time saver.
  2. I had to clean up the lua too, as cpu count and drives didn’t match but that parts a given with most configs found.
  3. Had to add a line require 'cairo-xlib' at the top of lua file.
  4. Now the weird part, on my older box with antique AGP nVidia GTS450 video card, there were two files that where not installed in the /user/lib/conky folder, that where on the other box.
    Conky would start and stop till I found it.
    The files that where missing where I beleive libcairo-trace.so and libcairo-fdr.so. Anyway there is a total of 7 files, I just copied the the missing files and dropped it in the other box and booom, it worked.
    The other files are libcairo-so , libcairo_inlib2, libcairo_xlib.so, libimlib2.20, librsvg.so.

Can’t explain or understand why the same app didn’t install the same files on both, other than the nv was looking for a required genre of card.
It works, I’ll post screens and configs when I get them tweaked to my liking.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.