如何向 Gnome 上下文菜单添加条目?

发布于 2024-09-28 11:22:17 字数 46 浏览 0 评论 0原文

如何将项目添加到 Gnome 的上下文菜单? 我也希望“碎片”也在那里。 韩国

how can I add an item to Gnome's context menu?
I want 'shred' to be in there, too.
KR

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扮仙女 2024-10-05 11:22:18

安装 nautilus-actions:

sudo apt-get install nautilus-actions

现在您可以在以下位置定义新操作:System >首选项> Nautilus 操作配置

在操作选项卡中填写:

  • Context label = shr​​ed

在命令选项卡中填写:

  • Path = /usr/bin/shred
  • 参数 = -f -u -z %M

您可能需要重新启动 Nautilus,运行:

nautilus -q

Install nautilus-actions:

sudo apt-get install nautilus-actions

Now you can define new action in: System > Preferences > Nautilus Actions Configuration

In the Action tab fill:

  • Context label = shred

In the Command tab fill:

  • Path = /usr/bin/shred
  • Parameters = -f -u -z %M

You may need to restart Nautilus, run:

nautilus -q
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文