1、Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
请参考:GDM - ArchWiki
因为:执行env QT_QPA_PLATFORM=wayland optimus-manager-qt
时有提示Cannot start in non-X11 session
文档的关键点:
To use the Xorg backend by default, uncomment the following line in /etc/gdm/custom.conf
:
#WaylandEnable=false