Put Java application into file manager's context menu

倾然丶 夕夏残阳落幕 提交于 2019-12-02 08:53:45

If you target vanilla ubuntu, you can assume that the file manager is Gnome Nautilus. You can write an extension (probably in Vala/C/python) to nautilus :

http://developer.gnome.org/libnautilus-extension/stable/

Or you could re-use existing extensions, like nautilus-action or nautilus-script which allow you to bind scripts to contextual-menu entries.

If you want to support all file managers out there, you have to look at dolphin(for KDE), thunar(for xcfe), and maybe pcmanfm...

Edit : If you want to write your plugin in java, you might want to look at Gobject Introspection. Don't know if it works yet.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!