繁体   English   中英

如何在 ubuntu 22.04 上给予正确的快门权限?

[英]how to give proper snap permission to shutter on ubuntu 22.04?

尝试升级到 Ubuntu 22.10 后,我的屏幕截图程序快门不再工作。

重现步骤:

  • 启动快门
  • 选择矩形区域

结果:所有屏幕都变黑并带有一些灰色像素。

标准输出:

...
GConf Error: Configuration server couldn't be contacted: D-BUS error: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.301" (uid=1000 pid=797753 comm="/usr/bin/perl /snap/shutter/27/bin/shutter " label="snap.shutter.shutter (enforce)") interface="org.gnome.GConf.Server" member="GetDefaultDatabase" error name="(unset)" requested_reply="0" destination="org.gnome.GConf" (uid=1000 pid=713079 comm="/usr/lib/x86_64-linux-gnu/gconf/gconfd-2 " label="unconfined")
...

那么它是否缺少 AppArmor 权限? 什么东西少了? 有人可以帮忙吗?

环境:

  • shutter 0.94.3 aus Alan Pope (popey) 安装
  • VERSION="22.04.1 LTS(果酱水母)"
  • Linux 5.15.0-56-generic #62-Ubuntu SMP 11 月 22 日星期二 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

我建议从官方存储库安装最新的 Shutter 版本(当前为 0.99.2),因为 snap 版本已经严重过时。

0.99.2版本可以在Wayland中进行全屏截图,但暂不支持其他模式。 如果您想使用全部功能,则必须切换到 Xorg: https://github.com/shutter-project/shutter/issues/187

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM