[英]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.