[英]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.99.2),因为 snap 版本已经严重过时。
0.99.2版本可以在Wayland中进行全屏截图,但暂不支持其他模式。 如果您想使用全部功能,则必须切换到 Xorg: https://github.com/shutter-project/shutter/issues/187
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.