Skip to content
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

conky doesn't play nice with wayland #53

Closed
km4ack opened this issue Nov 29, 2023 · 13 comments
Closed

conky doesn't play nice with wayland #53

km4ack opened this issue Nov 29, 2023 · 13 comments
Labels
in process fix in the works

Comments

@km4ack
Copy link
Owner

km4ack commented Nov 29, 2023

Conky is unusable at this time if using Wayland.

@SpudGunMan
Copy link

for tracking brndnmtthws/conky#56

@KB3LZV
Copy link

KB3LZV commented Feb 17, 2024

Conky is showing up in the middle of the screen and all black displaying no information that I can see

@mcangeli
Copy link

mcangeli commented Apr 18, 2024

To use Conky on wayland, add these two lines on your Conky script.

conky.config = {
out_to_x = false,
out_to_wayland = true,

Change own_window_type to ‘override’ ( own_window_type = ‘override’,)

If you add these lines, Conky will works on Wayland without any issue. But Conky will not load on Xorg .

(this will remove it from the taskbar and allow the transparency to work and fix some other things with COnky in wayland)

@Kb1hux
Copy link

Kb1hux commented May 4, 2024

All the text is black. How do I correct this?

@NullVibes
Copy link
Contributor

NullVibes commented Jul 30, 2024

A work-around for Wayland is to open/save the .conkyrc file (no changes necessary.) Conky will close itself, then re-open in the correct position. Not a solution per se, but a band-aid that's working well for me. I'll try that code-tweak, too, @mcangeli.

*Update: can confirm that adding those lines to .conkyrc moves the Conky window to the correct position, with transparent background, and removed from the taskbar. Recommend adding a test for Wayland to the build script so these lines can be added as necessary. Note: changing own_window_type wasn't necessary.

@NullVibes
Copy link
Contributor

NullVibes commented Jul 30, 2024

Added pull request #96 to test for Wayland, to add the appropriate Conky config lines.

@km4ack
Copy link
Owner Author

km4ack commented Jul 30, 2024

Thanks. I had a hunch that was the issue hence asking about the version of Ruby. Ran into that once before.

@km4ack km4ack added the in process fix in the works label Aug 4, 2024
@km4ack km4ack closed this as completed Aug 8, 2024
@kb8zgl
Copy link

kb8zgl commented Sep 25, 2024

Brand new load here, I made the changes adding the two lines to .conkyrc but it will not load after the changes. I verified commas, spelling, everything... Anyone else still having issues?

@NullVibes
Copy link
Contributor

Which specific OS are you running?

@kb8zgl
Copy link

kb8zgl commented Sep 25, 2024 via email

@NullVibes
Copy link
Contributor

Spinning up a fresh build now. Will update when complete.

@kb8zgl
Copy link

kb8zgl commented Sep 25, 2024 via email

@NullVibes
Copy link
Contributor

NullVibes commented Sep 25, 2024

UPDATES:

1 - Several errors are being observed during 73Linux build process under 32-bit Raspberry Pi OS (Bookworm) w/Desktop; dated 04JUL2024. I'll have to re-run everything and kick output to a text file for review. This might add significant time to reviewing this problem...

2 - Conky behaves as expected after adding the above lines to the .conkyrc config file, albeit doesn't look great with the transparent window over the dark default background in Bookworm. Playing with the options draw_shades = true and a different default_shade_color helps.

Not sure if this applies, but the out_to_x and out_to_wayland lines are additions only. The rest of the config file should remain intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in process fix in the works
Projects
None yet
Development

No branches or pull requests

7 participants