今天下载flameshot时发现不能够区域截屏,并且终端出现警告:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
解决方案
sudo vim /etc/gdm3/custom.conf
将#WaylandEnable=false
的注释符号#
删除,如下图所示。
#重启
reboot
今天下载flameshot时发现不能够区域截屏,并且终端出现警告:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
解决方案
sudo vim /etc/gdm3/custom.conf
将#WaylandEnable=false
的注释符号#
删除,如下图所示。
#重启
reboot