From 347a5a4dcbf38b241263a22e2778602e99c3d246 Mon Sep 17 00:00:00 2001 From: The412Banner Date: Fri, 25 Sep 2026 08:18:43 -0400 Subject: [PATCH] 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". --- tools/linuxfs/desktop/droiddeck-desktop | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/linuxfs/desktop/droiddeck-desktop b/tools/linuxfs/desktop/droiddeck-desktop index 3f2ace30b6..55adbdf077 100644 --- a/tools/linuxfs/desktop/droiddeck-desktop +++ b/tools/linuxfs/desktop/droiddeck-desktop @@ -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,