mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 04:46:08 +00:00
Desktop: Qt falls back to X11, so melonDS opens from the menu
The desktop set QT_QPA_PLATFORM=wayland for every program. The melonDS AppImage bundles only Qt's xcb plugin, so from the desktop it exited at once: "Could not find the Qt platform plugin wayland ... Available platform plugins are: xcb" (exit 127). "wayland;xcb" keeps LXQt on Wayland and lets such an AppImage use Xwayland. Proven in a running desktop: labwc mapped "melonDS 1.1".
This commit is contained in:
1 parent
79a7f26852
commit
347a5a4dcb
1 file changed
+3
-1
@@ -6,7 +6,9 @@
|
||||
# installed desktop without re-downloading the package.
|
||||
set -u
|
||||
export XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=LXQt XDG_SESSION_DESKTOP=lxqt
|
||||
export QT_QPA_PLATFORM=wayland GDK_BACKEND=wayland,x11 SDL_VIDEODRIVER=wayland,x11
|
||||
# Qt tries Wayland and falls back to X11 (Xwayland): an AppImage that bundles only Qt's xcb
|
||||
# plugin - melonDS - exits at once on a plain "wayland" ("Could not find the Qt platform plugin").
|
||||
export QT_QPA_PLATFORM="wayland;xcb" GDK_BACKEND=wayland,x11 SDL_VIDEODRIVER=wayland,x11
|
||||
export QT_QPA_PLATFORMTHEME=lxqt
|
||||
# Firefox's child processes sandbox themselves with seccomp and namespaces, neither of which
|
||||
# behaves under proot: the content process ends up unable to read the font files its parent can,
|
||||
|
||||
Reference in new issue
Block a user