Closed maxulm closed 1 month ago
https://github.com/brndnmtthws/conky/issues/1939 not sure if this is related. this fix it?
@maxulm Do you mind providing the following details so I can triage this issue better:
Depending on those, there might be some additional questions I'll ask.
@maxulm Do you mind providing the following details so I can triage this issue better:
- Which WM/DE you're using? Is it wayland/X11?
- Provide the whole script file. Just dump it here, I'll clean it up if needed.
How do you start conky? Is it with Xinitrc, WM/DE autostart script, manually?
- Does the issue occur when started manually from the terminal?
Depending on those, there might be some additional questions I'll ask.
Hi, thank you!
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = '#FFFFFF',
default_outline_color = '#FFFFFF',
default_shade_color = '#FFFFFF',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=10',
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_x = false,
out_to_wayland = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'dock',
own_window_argb_visual = true,
own_window_transparent = true,
own_window_hints = 'below,skip_taskbar,sticky',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true
}
conky.text = [[
${color #808080}Info:$color ${scroll 32 $sysname $nodename $kernel $machine}
$hr
${color #808080}Uptime:$color $uptime
${color #808080}Frequency (in MHz):$color $freq
${color #808080}Frequency (in GHz):$color $freq_g
${color #808080}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
#${color #808080}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
${color #808080}CPU Usage:$color $cpu% ${cpubar 4}
${color #808080}Processes:$color $processes ${color #808080}Running:$color $running_processes
$hr
${color #808080}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
#${color #808080}Networking:
#Up:$color ${upspeed} ${color #808080} - Down:$color ${downspeed}
#$hr
${color #808080}Name PID CPU% MEM%
${color #D3D3D3} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color #D3D3D3} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color #D3D3D3} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color #D3D3D3} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
$hr
${color #808080}wifi:${color}${if_up wlp3s0}
IP ${addr wlp3s0}
GW ${gw_ip wlp3s0}
SSID ${wireless_essid wlp3s0}
strength ${wireless_bitrate wlp3s0}
quality ${wireless_link_qual wlp3s0}%
${endif wlp3s0}
$hr
${color #808080}lan:${color}${if_up enp0s31f6}
IP ${addr enp0s31f6}
GW ${gw_ip enp0s31f6}
${font Font Awesome 6 Free:style=Solid:size=12}↓${font} ${downspeed enp0s31f6}
${font Font Awesome 6 Free:style=Solid:size=12}↑${font} ${upspeed enp0s31f6}
${endif enp0s31f6}
${if_up ppp0}
${hr}
${color #808080}vpn:${color}
IP ${addr ppp0}
GW ${gw_ip ppp0}
${endif ppp0}
${hr}
battery load ${battery_bar BAT1}
battery state ${battery BAT1}
${hr}
#AGE ${execi 600 /usr/share/wie/scripts/age} days
]]
Right, Wayland support is very WIP at the moment. There's a lot of things that don't work correctly.
Do you mind running conky -DD
and pasting the whole debug output?
Right, Wayland support is very WIP at the moment. There's a lot of things that don't work correctly.
Do you mind running
conky -DD
and pasting the whole debug output?
DEBUG(0) [/usr/src/debug/conky/conky/src/conky.cc:1956]: reading contents from config file '/home/maximilian/.config/conky/conky.conf'
conky: drawing to single buffer
DEBUG(1) [/usr/src/debug/conky/conky/src/core.cc:2108]: no templates to replace
DEBUG(1) [/usr/src/debug/conky/conky/src/core.cc:2108]: no templates to replace
DEBUG(1) [/usr/src/debug/conky/conky/src/core.cc:714]: Adding $cpu for CPU 0
DEBUG(1) [/usr/src/debug/conky/conky/src/core.cc:728]: Adding $cpubar for CPU 0
DEBUG(0) [/usr/src/debug/conky/conky/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(1) [/usr/src/debug/conky/conky/src/display-output.cc:99]: Testing display output 'x11'...
DEBUG(1) [/usr/src/debug/conky/conky/src/display-output.cc:99]: Testing display output 'wayland'...
DEBUG(1) [/usr/src/debug/conky/conky/src/display-wayland.cc:251]: Wayland display output 'wayland' enabled in config.
DEBUG(1) [/usr/src/debug/conky/conky/src/display-output.cc:101]: Detected display output 'wayland'...
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(0) [/usr/src/debug/conky/conky/src/display-output.cc:109]: Initialized display output 'wayland'...
DEBUG(1) [/usr/src/debug/conky/conky/src/display-output.cc:99]: Testing display output 'ncurses'...
DEBUG(1) [/usr/src/debug/conky/conky/src/display-output.cc:99]: Testing display output 'console'...
DEBUG(1) [/usr/src/debug/conky/conky/src/display-output.cc:99]: Testing display output 'file'...
conky: '(null)' wayland session running 'KDE' desktop
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(0) [/usr/src/debug/conky/conky/src/display-wayland.cc:692]: conky: defining struts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/conky.cc:638]: jumping
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:84]: loading fonts
DEBUG(1) [/usr/src/debug/conky/conky/src/fonts.cc:64]: setting up fonts
^Cconky: received SIGHUP, SIGINT, or SIGTERM to terminate. bye!
The 4 lines are always repeating. I've stopped the process at the end.
Closing as duplicate of #1960.
Than you for the additional infomation. It's linked with the other issue so whoever gets to fixing it will see it.
What happened?
Conky doesn't start anymore on current Arch.
Version
1.21.5-1
Which OS/distro are you seeing the problem on?
Arch Linux
Conky config
Stack trace
No response
Relevant log output