Skip to content

Instantly share code, notes, and snippets.

@hubgit
Created January 30, 2012 11:46
Show Gist options
  • Save hubgit/1704000 to your computer and use it in GitHub Desktop.
Save hubgit/1704000 to your computer and use it in GitHub Desktop.
re-compile Ubuntu's Nautilus package from source
sudo apt-get install fakeroot build-essential dpkg-dev gnome-core-devel
sudo apt-get build-dep nautilus
mkdir nautilus-ubuntu && cd nautilus-ubuntu
apt-get source nautilus
dpkg-source -x nautilus_3.2.1-0ubuntu3.2.dsc
cd nautilus-3.2.1/
# edit src/nautilus-places-sidebar.c
dpkg-buildpackage -rfakeroot -us -uc -nc -b
sudo dpkg -i ../nautilus_3.2.1-0ubuntu3.2_amd64.deb
killall nautilus
@JoKalliauer
Copy link

@hubgit
I get the following error on Ubuntu 20.04

Package gnome-core-devel is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gnome-core-devel' has no installation candidate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment