Seahorse“解密”上下文菜单未出现在 Nautilus 中

Seahorse“解密”上下文菜单未出现在 Nautilus 中

我安装了seahorseseahorse-nautilus,因此我可以在 Nautilus 中单击鼠标右键来加密任何文件,这很有效,太棒了。

但任何文件(甚至文件都没有)上都没有“解密”菜单.pgp。这是一个错误吗?

无解密

2009 主题说可以通过安装解决问题seahorse-plugins,但是:

$ sudo apt-get install seahorse-plugins
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package seahorse-plugins is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  seahorse-nautilus:i386 seahorse-nautilus
E: Package 'seahorse-plugins' has no installation candidate

答案1

自 10.04 以来已seahorse-plugins被弃用,并且正如错误消息中所述,seahorse-nautilus包现在替换它。

有关详细信息,您可以查看源码包和它的debian/control文件:

Package: seahorse-nautilus
Architecture: any
Depends: ${shlibs:Depends},
         ${misc:Depends},
         seahorse-daemon (>= 3.2.2)
Recommends: seahorse
Replaces: seahorse-plugins
Description: seahorse plugins and utilities for encryption in GNOME
 Seahorse nautilus is an extension for nautilus which allows encryption
 and decryption of OpenPGP files using GnuPG - the GNU Privacy Guard 
 program.

关于缺少的菜单项,如果您尝试使用 Gedit 打开加密文件,则会为这种新的(MIME)类型创建新的文件关联。

要恢复这种关联,请编辑$HOME/.local/share/applications/mimeapps.list文件以删除(或注释)以下行:

在此处输入图片描述

然后重新启动 Nautilus。

最后,要.pgp使用 Nautilus 解密,请右键单击它并选择使用解密文件打开菜单项:

在此处输入图片描述

相关内容