Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I tell a QT flatpak to use Xorg instead of Wayland?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
jrittenh
Tux's lil' helper
Tux's lil' helper


Joined: 10 Feb 2005
Posts: 92

PostPosted: Mon Jan 09, 2023 3:13 pm    Post subject: How do I tell a QT flatpak to use Xorg instead of Wayland? Reply with quote

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
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Jan 09, 2023 4:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Mon Jan 09, 2023 11:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Juippisi
Developer
Developer


Joined: 30 Sep 2005
Posts: 723
Location: /home

PostPosted: Tue Jan 10, 2023 6:38 am    Post subject: Reply with quote

Not an expert with Flatpak but IIRC the flatseal config thingy had an option for wayland on/off?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum