dlauncher icon indicating copy to clipboard operation
dlauncher copied to clipboard

Wayland not supported

Open stshine opened this issue 2 years ago • 4 comments

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

stshine avatar May 21 '22 19:05 stshine

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.

diced avatar May 21 '22 20:05 diced

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

stshine avatar May 22 '22 06:05 stshine

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.

Diegovsky avatar May 25 '22 04:05 Diegovsky

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

stshine avatar May 26 '22 03:05 stshine