Better to use dpkg-divert to protect your modified nautilus.desktop than
trying to use permissions.  Here's the formula:

$ sudo dpkg-divert --add --rename --divert \
    /usr/share/applications/nautilus.desktop.real \
    /usr/share/applications/nautilus.desktop
$ cp /usr/share/applications/nautilus.desktop.real \
    /usr/share/applications/nautilus.desktop
$ echo "AutostartCondition=GNOME /apps/nautilus/preferences/show_desktop" \
    >> /usr/share/applications/nautilus.desktop

This will cause upgrades of nautilus to write to nautilus.desktop.real
rather than overwriting your modified version.  See http://www.debian-
administration.org/articles/118

-- 
gnome-session keeps respawning nautilus when no desktop is drawed
https://bugs.launchpad.net/bugs/325973
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to