-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wayland does not support window placement (affects Conky) #2478
Comments
Hello there 👋 Please respond as soon as possible if a Pi-Apps maintainer requests more information from you. Stale issues will be closed after a lengthy period of time with no response. |
Are you able to move the windows with the compositor once it is generated and then it will pop up back in the same position on subsequent launches? There is NO wayland protocol support for specifying window positions. The wayland developers are pretty adamantly against this. Lines 3239 to 3241 in c8fbf81
Pi-Apps multi-panel GUI gets around this by the use of XWayland for all spawned windows but this is not ideal. |
Hello, not able to move the Conky window around. |
I suggest referring to official piOS documentation or asking at the piOS wayfire fork https://github.com/raspberrypi-ui/wayfire about how you are supposed to go about moving decorationless windows. I am not familiar with that but regardless it's not in our control. The Wayland compositor (wayfire) handles how windows are displayed and how the user can manipulate them. |
I had the same issue as @justlinky. I managed to fix it by:
It looks like the Pi Apps install script for Conky already amends the default config that is pulled from github. Perhaps @theofficialgman could incorporate this change? Cheers |
Thanks for the tip, @halfacandan. I have made the changes on the https://github.com/Botspot/rpi_conky repo. If it does look good, then I will make the conky app update for everyone. |
Further research shows that conky can stay on the backmost layer and skip the taskbar with more config, but this reportedly breaks usage on X. https://forum.manjaro.org/t/conky-on-wayland/153442/8 |
Thank you for the speedy fix. I uninstalled and then re-installed conky via Pi Apps. The positioning of the conky window is now correctly showing in the top-right corner of the screen after the install. There is a new bug though. Whenever I click on the desktop, the conky pane disappears and I can't bring it to the fore-ground any more. I then have to re-open it from the start menu but it then appears in the bottom-left corner. |
@halfacandan, try opening
|
I think I have maybe muddied the waters. I realised that the bug I reported was only manifesting when I connected to my raspberry pi via a remote desktop connection (RDP via xrdp). Sorry for the confusion on my part. Both your current version in the repo and the proposed fix above work when I am logged into the raspberry pi locally. The "bug" with the disappearing conky only manifests with the current version of the install script in your repo when I am logged in via RDP. Applying your suggested fix and connecting via RDP prevents conky from loading/displaying at all so is a downgrade from my point of view. If you have any more suggestions then I am happy to try them and/or have a screenshare to help with debugging but I think that RDP will always be a limitation here. |
Since doing some more testing, I have switched my system to X as wayland was breaking other apps that I use. The current version of your script in the repo works fine with X. Happy to test any changes that you are proposing. |
Could you try my suggested change here and see if that still works on X? I doubt it but it's worth a try. |
I'm afraid that it prevents conky from loading when using X on a Raspberry Pi 4 via RDP with |
This really is an upstream conky issue. There isn't any reason that conky can't detect the currently display server (x11 vs wayland) and programatically change its own display pipeline https://github.com/brndnmtthws/conky/issues . The config flags could still exist of course but would instead act as overrides. |
Adding the following to .conkyrc at the top of the script just after the "conky.config = {" header fixed the placement on Wayland (labwc): out_to_x = false, |
Confirmations
What happened?
Conky's config not working correctly
Description
Conky's widget doesn't align to the right on Raspberry Pi OS (Bookworm) with Wayland, I have tried changing settings in the config to no avail, is this at all being addressed? I have attached a screenshot for reference, Yes it's a hacknet background.
What are your system specs (run the following command in your terminal)?
(Recommended) Error log? Terminal output? Debug messages?
No response
The text was updated successfully, but these errors were encountered: