簡體   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