View previous topic :: View next topic |
Author |
Message |
jrittenh Tux's lil' helper
Joined: 10 Feb 2005 Posts: 92
|
Posted: Mon Jan 09, 2023 3:13 pm Post subject: How do I tell a QT flatpak to use Xorg instead of Wayland? |
|
|
I've got a proprietary vended program (Synergy) that I'd like to run, and it comes as a flatpak. It uses qt, but I've set up Gnome currently, and am not very familiar with KDE/QT overall anyway. When I run the application, I get the following output:
Code: | Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
Gtk-Message: 10:04:30.370: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:04:30.377: Failed to load module "canberra-gtk-module"
Qt: Session management error: None of the authentication protocols specified are supported |
The application opens a window and notifies me it doesn't work with Wayland and should be restarted with Xorg. How do I do that? |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Jan 09, 2023 4:27 pm Post subject: |
|
|
Try to define the environment variable QT_QPA_PLATFORM:
Code: | QT_QPA_PLATFORM=xcb |
Available platform plugins (on my machine) are: minimal, offscreen, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21595
|
Posted: Mon Jan 09, 2023 11:53 pm Post subject: |
|
|
Is this the Synergy from https://symless.com/synergy? If yes, it appears to be in Portage, which would remove the need to use Flatpak. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 723 Location: /home
|
Posted: Tue Jan 10, 2023 6:38 am Post subject: |
|
|
Not an expert with Flatpak but IIRC the flatseal config thingy had an option for wayland on/off? |
|
Back to top |
|
|
|