brndnmtthws / conky

Light-weight system monitor for X, Wayland (sort of), and other things, too
https://conky.cc
GNU General Public License v3.0
7.27k stars 620 forks source link

alignment top_right and middle_right and own_window_type=panel #724

Closed adam-kulagowski closed 1 year ago

adam-kulagowski commented 5 years ago

Hi,

I've encountered strange behavior of conky window properties when using own_window_type= 'panel' . My aim is to make conky act as a panel type of window so that space will be reserved when maximizing other windows. When I set the the variable: alignment to middle_right and position (using gap_x and gap_y) conky window in top_right corner, then everything works fine and as expected. However when I set the aligment to top_right and set the gap_y to position the window in the same spot, the XFCE window manager ignores conky and maximized other windows below.

From quick look I suspect that there might something wrong with _NET_WM_STRUT_PARTIAL property but I'm no expert here :)

I'm attaching:

This bug occurs on xubuntu 18.10 (with single and multiple monitors and with and without xinerama_head option). I'm using latest github version.

middle_right-conf.txt top_right-conf.txt middle_right.txt top_right.txt

lasers commented 5 years ago

Can you try this on other WM/DE too to rule out XFCE? I know we have some XFCE-related issues.

adam-kulagowski commented 5 years ago

Yep, You are right (unfortunately):

Right now I'm using two conky instances at the same time. The second is a dummy one: fully transparent and 1px height (and middle_right aligment) and w/ the same width as the original one.

Ugly but gets the job done.

ThaChillera commented 5 years ago

I'm experiencing the same issue I think:

When running XFCE & conky in panel mode, conky doesn't ever reserve space. Except when on my left-most monitor - aligned bottom-right, then it reserves space along the bottom of my centre monitor (?!).

Other than that, it never reserves space.

I have tested the exact same config with cinnamon DE, and it works perfectly.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] commented 1 year ago

This issue was closed because it has been stalled for 30 days with no activity.