Hacker News new | ask | show | jobs
by jeroenhd 1523 days ago
Gnome specifically developed an API for this use case: https://gitlab.gnome.org/GNOME/nautilus/-/tree/master/libnau...

You can place your own custom actions in ~/.local/share/nautilus/scripts if you don't like the API, any file with execute permissions will appear in a "scripts" submenu in the nautilus context menu.

There have been several helper programs that interface with the API for you to allow you to add custom options without writing any code, but nobody seems to maintain them for long. I guess the feature simply isn't popular enough.