Nautilus-actions configuration tool, which was needed in order to have context menu actions in Nautilus doesn't seem available in the Software center in 18.04 LTS.
(This seemed reported as a bug here - but confusingly specifying gedit
instead of the correct package.)
This is not a Gnome-Nautilus feature, I think, as suggested in a comment, because I have seen the same Nautilus version 3.26.3 in Solus Linux, and there Nautilus Actions is available and usable. Solus provides also in its repo a different program called FileManager Configuration Tool, run with fma-config-tool
, which excepting the name is identical and can be used only alternatively to the Nautilus actions usual tool. But none of them is available in Ubuntu, no matter the repos enabled in software sources settings.
How can Nautilus Actions tool (or its alternative) be installed in Ubuntu 18.04 in order to get the custom context menu actions?
Please do not answer by proposing other file managers.
I know that there are file managers that have custom actions - in fact all those used by the main Linux systems and by the main systems of the Ubuntu family have them: Caja, Nemo, PCManFM, Thunar, Dolphin, Pantheon-Files. But I am not asking about that here.
Update 2021-04-23
For the latest Ubuntu 20.04 LTS (focal fossa) the below actions are not needed, the package
filemanager-actions
is located in universe pocket. See fresh answer.Update 2018-05-31
Daniel Marynicz has created PPA for Ubuntu 18.04 LTS with Nautilus, Caja and Nemo-enabled packages. You can install them as usual:
After installation you can launch
fma-config-tool
.Initial consideration of the problem:
Modern version of Nautilus Actions (
nautilus-actions
package in trusty (14.04 LTS), xenial (16.04 LTS), artful (17.10)) are named as FileManager Actions (filemanager-actions
package, it is not yet packaged in Debian and Ubuntu - see at repology.org).If you do not want to compile packages by yourself - use links in the end of this answer.
So we can try to compile this package locally:
Install dependencies
Note: if you need to support all three file-managers you should install two additional packages before compilation with
sudo apt-get install libnemo-extension-dev libcaja-extension-dev
.Download, extract, configure, make (otherwise, if you prefer the easy way: use the deb file from links at the end of answer)
Install package
Here standard way is to use
but this will not create deb-package (but you can remove fma with
sudo make uninstall
);so using
checkinstall
is better:After installation you will get new executable named
fma-config-tool
, its window is named FileManager-Actions Configuration Tool and looks like:Below is the link to compiled package:
I've just upgraded from Ubuntu 16.04LTS to 18.04LTS, and find myself missing nautilus-actions as well. I tried installing caja-actions (as it doesn't depend on caja) on the off-chance it'd automatically work with nautilus, but unfortunately it does not.
According to the github page for nautilus-actions, it's been deprecated and renamed FileManager-Actions. I can't find a filemanager-actions package in Ubuntu 18.04, although there are source packages available at that 2nd link.
So our best shot might be to wait until we can't stand living without it any longer, then compile/tinker, depending on what state it's in.
Update:
I've just compiled/installed filemanager-actions 3.4 from source and it seems to be working fine with the stock Nautilus in Ubuntu 18.04 LTS :)
To compile it, I had to install the following extra packages:
libgtk-3-dev in particular will bring with it a lot of additional packages. You might want to use apt-get's --simulate option to keep track of exactly what's going to be installed before you go ahead with it - e.g.:
I already had some development tools installed (gcc, make, etc). Installing the 'build-essential' package should get you everything you need.
Steps to compile and install filemanager-actions, after unpacking and cd'ing into the source directory, were:
After that I had to log out of GNOME, then back in, before filemanager-actions items appeared in the Nautilus right-click menu.
forget nautilus-actions, try nautilus-python, you can find examples inside usr/share/doc/python-nautilus/examples/.
or , you can try my script: https://github.com/dwSun/utils/blob/master/Linux/open-terminator.py