flameshot error unable to capture screen

0 阅读1分钟

现象

自定义快捷键添加了flameshot gui无法截图,提示 unable to captrue screen

但是在terminal中使用flameshot gui可以正常截图。

解决方法

将命令改为:

/bin/sh -c "flameshot gui" > /dev/null &

Tips

我在ubuntu24.04使用flameshot截屏时界面会闪烁。在flameshot github 下载24.04的版本重新安装就行了。