右键一级菜单: 来自stackoverflow
You can use nautilus-actions from command line and script:
man nautilus-actions-new
However, this requires for this package to be installed (I'm using Ubuntu Oneiric Alpha and this package was not installed), which can only be acheived by packing your program as a deb archive.
Other possibility is Nautilus Scripts which does not require any packages. But it will place your menu item in a submenu.
Programs like nautilus-open-terminal add stuff to the nautilus menu without any dependencies, you might want to checkout its source.
You can use nautilus-actions from command line and script:
man nautilus-actions-new
However, this requires for this package to be installed (I'm using Ubuntu Oneiric Alpha and this package was not installed), which can only be acheived by packing your program as a deb archive.
Other possibility is Nautilus Scripts which does not require any packages. But it will place your menu item in a submenu.
Programs like nautilus-open-terminal add stuff to the nautilus menu without any dependencies, you might want to checkout its source.
右键菜单定制方法
本文介绍了几种在Nautilus文件管理器中自定义右键菜单的方法,包括使用nautilus-actions、Nautilus Scripts以及类似nautilus-open-terminal的程序。这些方法允许用户根据需求添加个性化的菜单项。
1770

被折叠的 条评论
为什么被折叠?



