diced / dlauncher

An application launcher for Linux that is based on Ulauncher
GNU General Public License v3.0
81 stars 6 forks source link

Wayland not supported #4

Open stshine opened 2 years ago

stshine commented 2 years ago

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

diced commented 2 years ago

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 commented 2 years ago

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

Diegovsky commented 2 years ago

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 commented 2 years ago

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