方法找了好久,终于找到一个有用的
Firstly do not install flameshot from snapstore, install it using apt.
- Go to
/etc/gdm3/custom.conf
- Remove the comment on
#WaylandEnable=false
Your custom.conf
file should be like this:
# GDM configuration storage
#
# See /usr/share/gdm/gdm.schemas for a list of available options.
[daemon]
# Uncomment the line below to force the login screen to use Xorg
WaylandEnable=false
# Enabling automatic login
# AutomaticLoginEnable = true
# AutomaticLogin = user1
# Enabling timed login
# TimedLoginEnable = true
# TimedLogin = user1
# TimedLoginDelay = 10
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
# More verbose logs
# Additionally lets the X server dump core if it crashes
#Enable=true
Save custom.conf
file and restart your machine