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
Desktop Bugs, which is a bug assignee.
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs