flathub / dev.vencord.Vesktop

https://flathub.org/apps/details/dev.vencord.Vesktop
8 stars 7 forks source link

Switch to X11 if Wayland socket disabled #22

Closed naipotato closed 4 days ago

naipotato commented 2 weeks ago

I noticed that since commit 67fad1fcfe50a55136fb2b7344556e70e5843a55, Wayland socket check has been removed. At first, it makes sense to me, since --ozone-platform-hint=auto should fall back to X11 if Wayland is not available... but that doesn't seem to be the case.

If you disable the Wayland socket from Flatseal, then Vesktop simply fails to start.

I'm currently passing --ozone-platform-hint=x11 to somehow negate the flag that you're using, but I think it would be ideal to bring back the Wayland socket check

Vendicated commented 4 days ago

good catch, can repro! readded this check via https://github.com/flathub/dev.vencord.Vesktop/pull/23