ubuntu 22.04 flameshot 截图异常的问题

方法找了好久,终于找到一个有用的

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

相关推荐
点击查询几秒前
怎么把自己电脑设置成服务器?
运维·服务器
阿里云大数据AI技术14 分钟前
ES Serverless 8.17王牌发布:向量检索「火力全开」,智能扩缩「秒级响应」!
大数据·运维·serverless
yzx99101316 分钟前
Linux 系统中的算法技巧与性能优化
linux·算法·性能优化
fengyehongWorld16 分钟前
Linux Docker的简介
linux·docker
wanhengidc17 分钟前
服务器中日志分析的作用都有哪些
运维·服务器
upp34 分钟前
【bug】Error: /undefinedfilename in (/tmp/ocrmypdf.io.9xfn1e3b/origin.pdf)
ubuntu·pdf·bug·ghostscript
Mikhail_G1 小时前
Python应用变量与数据类型
大数据·运维·开发语言·python·数据分析
曹瑞曹瑞1 小时前
VMware导入vmdk文件
linux·运维·服务器
Johny_Zhao1 小时前
2025年6月Docker镜像加速失效终极解决方案
linux·网络·网络安全·docker·信息安全·kubernetes·云计算·containerd·yum源·系统运维
hello kitty w1 小时前
Python学习(7) ----- Python起源
linux·python·学习