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

Wayland not supported #4

Open
stshine opened this issue May 21, 2022 · 4 comments
Open

Wayland not supported #4

stshine opened this issue May 21, 2022 · 4 comments

Comments

@stshine
Copy link

stshine commented May 21, 2022

On wayland compositor no window get displayed when the program runs.
I think gtk-layer-shell can be used for this.

@diced
Copy link
Owner

diced commented May 21, 2022

Does setting GDK_BACKEND=x11 (when running dlauncher, not dlauncher-toggle) make it work? This just makes it run under xwayland, and might not be a good solution but it is mostly temporary until I can find a way to implement it correctly.

@stshine
Copy link
Author

stshine commented May 22, 2022

I guess it will work, but I don't have x server installed.
Whatever, no hurry :)

@Diegovsky
Copy link
Contributor

if you want a suggestion, using the wayland wlr-layer-shell protocol is a good idea for making launchers/bars. Here's a gtk library that does the bridging: gtk-layer-shell (rust).

The only problem is Mutter does not support it, but one can use it via the X11 backend instead.

@stshine
Copy link
Author

stshine commented May 26, 2022

https://github.com/pentamassiv/gtk-layer-shell-gir/tree/main/gtk-layer-shell Seems to be a better binding.

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

No branches or pull requests

3 participants