Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm used to TortoiseHg on Windows. I tried

apt-get install tortoisehg tortoisehg-nautilus

But after the installation I still can't use it by typing


In the terminal or in the launcher, nor can I right click in a folder and see it in the context menu.

What mercurial GUI works with Unity? If tortoiseHg does, how to use it?

share|improve this question
up vote 6 down vote accepted

You can run TortoiseHG using command thg (or hgtk in older versions), usually in the directory with Mercurial repo.

To use Nautilus plugin, Nautilus must be restarted first by logging out or executing nautilus -q. You should see TortoiseHG in context menu and File menu then.

share|improve this answer

If you've literally typed the above in, you've got the 'g' and 'h' swapped in your apt-get line:


should be

share|improve this answer

If it doesn't show in 13.04 and beyond, I managed to install it rather easily by using the tortoisehg ppa:

sudo add-apt-repository -y ppa:tortoisehg-ppa/releases
sudo apt-get update
sudo apt-get install mercurial tortoisehg
share|improve this answer

At Ubuntu 13.04 after installing from PPA if you cant get the tortoise menu in nautilus and if you have something like this on your .xsession-errors file at home directory:

(nautilus:2750): Nautilus-Python-WARNING **: g_module_open libpython failed: /usr/lib/ cannot open shared object file: No such file or directory compiz (core) - Info: Unity is fully supported by your hardware. compiz (core) - Info: Unity is fully supported by your hardware. compiz (core) - Info: Starting plugin: opengl ImportError: could not import gobject (error was: '/usr/lib/x86_64-linux-gnu/ undefined symbol: _Py_ZeroStruct')

Maybe this could help you:

Good luck

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.