Conky positioned incorrectly after suspend-resume
https://askubuntu.com/questions/1567807/conky-positioned-incorrectly-after-suspend-resume
The problem: After suspend-resume, conky is positioned on the far right of monitor 1, not monitor 3.
Additional Info: If I then kill and restart conky, it is properly positioned at the far right of monitor 3. This issue started after the update from 24.04 to 26.04. Conky is positioned correctly after restart, just not suspend-resume.
System Info: Ubuntu 26.04 (7.0.0-22). conky 1.22.2. 3 monitors (left to right, 1: 2560x1440, 2: 2560x1440, 3: 1920x1200). Primary display is monitor 2 (so, I think position 0,0 is on monitor 2).
What I've tried: Too much time Googling and ChatGPTing. Too many changes to list here. All sorts of system-level and user-level resume scripts. Adding kills/delay/restart to scripts. Changes to conky script (adding xinerama head, different gaps, different alignments, etc).
conky.config part of conky script (.conkyrc):
conky.config = {
-- alignment = 'top_right',
alignment = 'top_left',
background = true,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'cyan',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'Bitstream Vera Sans Mono:size=10',
-- gap_x = -1900,
gap_x = 4145,
gap_y = 75,
minimum_height = 5,
minimum_width = 325,
maximum_width = 325,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'panel',
own_window_hints = 'undecorated',
own_window_hints = 'below',
own_window_hints = 'sticky',
own_window_hints = 'skip_taskbar',
own_window_hints = 'skip_pager',
own_window_transparent = true,
own_window_argb_visual = true,
stippled_borders = 0,
update_interval = 3.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
Thanks in advance!