SUMMARY I have falkon and kdenlive installed via flatpak/flathub. I can`t run such apps natively under Wayland on Gnome session when I set QT_QPA_PLATFORM=wayland-egl environment variable in ~/.pam_environment file. STEPS TO REPRODUCE 1. set QT_QPA_PLATFORM=wayland-egl environment variable in ~/.pam_environment file and restart Gnome Wayland session 2. install falkon or kdenlive via flatpak/flathub. 3. try to open the app installed in the previous step OBSERVED RESULT terminal shows errors Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. Failed to create wl_display (No such file or directory) Using Wayland-EGL failed to initialize EGL display qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found. Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. EXPECTED RESULT the app opens SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) Gnome Version: 3.32 KDE Frameworks Version: 5.56 Qt Version: 5.12.2 Additional info I can run KDE apps (kate, gwenview and ark, for example) installed from Arch repos.
For Kdenlive this couldn't work. because the flatpak didn't have the permission (fixed now): https://github.com/flathub/org.kde.kdenlive/commit/a043148a06d67948342f983ff361582d5c04d323
Does this mean that kdenlive works now on gnome+wayland?
yes, I already can run flatpaked kdenlive on Gnome Wayland session. The problem with Falkon persists.
I can confirm. On Plasma Wayland it happens as well, non-flatpak falkon works fine.
Falkon is not available in flathub. The nightly build from KDE flatpak repo can be started and run natively under Wayland on Arch Linux + Gnome 3.34.2.