You can make RabitVCS working again on Ubuntu 18.04 LTS by copying its python extension to special directory inside your home folder:
sudo apt-get install rabbitvcs-nautilus
mkdir -p ~/.local/share/nautilus-python/extensions
cp /usr/share/nautilus-python/extensions/RabbitVCS.py \
~/.local/share/nautilus-python/extensions
Then restart Nautilus (Files) with
nautilus -q
and enjoy:

I hope it is fully-functional.
Notes:
1. if you need only Mercurial you can use tortoisehg-nautilus
package.
2. if you see two RabbitVCS menu sections then remove python extension from home folder with rm ~/.local/share/nautilus-python/extensions/RabbitVCS.py
.
ImportError: could not import gobject (error was: 'No module named gi._gobject')
(nautilus:12724): Nautilus-Python-WARNING **: 17:23:36.076: pygobject initialization failed
(nautilus:12724): Nautilus-Python-WARNING **: 17:23:36.076: nautilus_python_init_python failed Traceback (most recent call last): File "/home/pczekalski/.local/share/nautilus-python/extensions/RabbitVCS.py", line 63, in
from gi.repository import Nautilus, GObject, Gtk, GdkPixbuf
– Piotr Czekalski Aug 10 '18 at 15:26python-gi
andpython-nautilus
should be installed withrabbitvcs-nautilus
(see 1 and 2, 3). If it is not enough you can additionally installpython3-gi
. – N0rbert Aug 10 '18 at 15:40pczekalski@n317-pc10:~$ which python /home/pczekalski/.platformio/penv/bin/python pczekalski@n317-pc10:~$ python --version Python 2.7.15rc1
I just wonder if there is any way to force Nautilus to use other Python (i.e. 3.6) to run extensions (including Rabbit)?
– Piotr Czekalski Aug 10 '18 at 16:23~/.bashrc
or~/.profile
). – N0rbert Aug 10 '18 at 16:26/home/norbert/.local/share/umake/bin/atom
(it is in PATH as...:/home/norbert/.local/share/umake/bin:...
). You can try to make something similar. If RabbitVCS problem is solved you can accept and/or vote for my answer. – N0rbert Aug 10 '18 at 16:45nautilus -q
was not sufficient on my computer, as the context menu was still not shown after following the procedure.Finally, I had to do
– Jim C Jul 01 '20 at 05:29sudo killall nautilus
which restarts Nautilus anyway, and I could see the context menu.