GNOME Bugzilla – Bug 615486
Feature request: Can't use gconftool-2 from cron nor change settings for another user as SU
Last modified: 2010-04-12 10:45:02 UTC
gconftool-2 evidently now uses DBUS variables that are not set if run from cron, some hoops must be jumped through to make it work. As a corollary to this, since a gnome session must be running to utilize gconftool-2 for said user running the program by having to ascertain the value of DBUS_SESSION_BUS_ADDRESS for that session. I propose modifying gconftool-2 such that it could be run as super user on behalf of another user. This would allow the su (eg, during an install script) to changes a user's settings without having to have that user's gnome session running. Something like: sudo gconftool-2 -u user1 -s /desktop/gnome/background/picture_filename -t string pic.png With thanks, Narnie
*** This bug has been marked as a duplicate of bug 555745 ***