winapps-org / winapps-launcher

Taskbar Launcher for [WinApps](https://github.com/winapps-org/winapps).
GNU General Public License v3.0
11 stars 6 forks source link

Wayland support ? #12

Closed AkechiShiro closed 1 month ago

AkechiShiro commented 2 months ago

I'm not sure if it possible to port this to Wayland or use xwayland instead of not running at all on Wayland environment (Plasma 6 KDE or GNOME Wayland)

KernelGhost commented 2 months ago

@AkechiShiro As far as I know, yad doesn't support Wayland natively yet, but it runs well under XWayland. This comment suggests a workaround for enabling yad notifications on Wayland DEs. Could you confirm if this solution works on your system? I'm currently using XFCE, which doesn't support Wayland yet.

redelacruz commented 2 months ago

@AkechiShiro As far as I know, yad doesn't support Wayland natively yet, but it runs well under XWayland. This comment suggests a workaround for enabling yad notifications on Wayland DEs. Could you confirm if this solution works on your system? I'm currently using XFCE, which doesn't support Wayland yet.

That solution works. Launched using GDK_BACKEND=x11 ./WinAppsLauncher.sh. Make sure you don't use env GDK_BACKEND=x11 ... This is on Wayland on Pop OS 22.04.

AkechiShiro commented 2 months ago

I believe for the rewrite we should use https://alyssa.is/using-virtio-wl/ @LDprg @oskardotglobal @KernelGhost

LDprg commented 1 month ago

@AkechiShiro Seems like a great option. However, I am not sure if this is compatible with docker.

AkechiShiro commented 1 month ago

It is being used inside qemu but most likely need patches as well as patches on Wayland perhaps that are not yet upstream I'm not sure yet, I need to dig, Docker also should (probably/most likely) work as it uses the host kernel.

If the host kernel has the proper drivers I don't see why the Docker wouldn't have them

AkechiShiro commented 1 month ago

My only issue is that Windows might need specific drivers that are not yet written, this is the only pain point I think, I'm not sure if Google has any driver in house that they use, I'd need to contact them

Linux uses probably some virtio_wl driver that comes from ChromeOS, I'll try and reach out to virtio maintainers and ask for any guidance.

AkechiShiro commented 1 month ago

Actually @LDprg I've discussed a bit with someone more familiar with virtio_wl and it is deprecated, we'll need to look for something else. And it definitely wouldn't be usable on Windows at all.

AkechiShiro commented 1 month ago

Maybe we should try to see if this could be usable : https://github.com/unified-hmi/remote-virtio-gpu

LDprg commented 1 month ago

@AkechiShiro Seems like a great option, however. I am not sure if this is compatible with docker.

freechelmi commented 1 month ago

Fixed with #13