Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Where can I find the source of Nautilus? I'd like to play around with its source code and compile it. What's the best way to go about this? Obviously, it would be nice if I would easily be able to revert to the repository version if something bad happens :)

share|improve this question – Anonymous Nov 13 '11 at 17:34
try this 'bzr branch lp:nautilus' then 'cd nautilus'... Happy coding :) – blade19899 Sep 7 '12 at 12:20
up vote 10 down vote accepted

If you want use the same sources from the installed version you must get it from the Ubuntu repository.

First, from the softwate center, software sources, you need to enable the "source code" sources.

Then you can use apt-get source, to get the source, and dpkg-buildpackage, to build the package.

Check the following link for details.

share|improve this answer
This is a lot of fun to play around with. :) – NightwishFan Nov 19 '10 at 10:21
This guide is also helpful – Olivier Lalonde Nov 19 '10 at 10:24
apt-get source nautilus
share|improve this answer

Instructions for hacking on the Nautilus code are available here. Instructions on how to get the code and build it can be found on this page.

It seems you don't need to install it and can test it by running it from the source code directory. This means you can keep your installation while testing your modifications.

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.