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

相关推荐
十年磨一剑~3 小时前
Linux程序接收到sigpipe信号崩溃处理
linux
geshifei3 小时前
Sched ext回调3——select_cpu(linux 6.15.7)
linux·ebpf
yunfuuwqi3 小时前
OpenClaw✅真·喂饭级教程:2026年OpenClaw(原Moltbot)一键部署+接入飞书最佳实践
运维·服务器·网络·人工智能·飞书·京东云
迎仔4 小时前
C-算力中心网络隔离实施方法:怎么搞?
运维·网络
代码游侠4 小时前
C语言核心概念复习——网络协议与TCP/IP
linux·运维·服务器·网络·算法
你真是饿了4 小时前
6.库制作与原理
linux·服务器
Zach_yuan5 小时前
深入浅出 JSONCpp
linux·服务器·网络·c++
AtoposのCX3305 小时前
Docker运行hello-world镜像失败或超时
运维·docker
北京迅为6 小时前
《【北京迅为】itop-3568开发板NPU使用手册》- 第 7章 使用RKNN-Toolkit-lite2
linux·人工智能·嵌入式·npu
Dragon~Snow6 小时前
Linux Centos9 安装 Elasticsearch
linux·elasticsearch·jenkins