gconftool-2 in Intrepid not working from cron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gconf (Ubuntu) |
Invalid
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
Binary package hint: gconf
In Hardy and prior versions, I used cron to call a script to change my screen background. In Intrepid, these commands do not work from cron, although they do work from the command line. For some reason, gconftool-2 is not attaching to my session. The script is executing fine and produces output, it's just that the gconftool-2 commands don't have any effect.
Commands:
gconftool-2 -t str --set /desktop/
gconftool-2 -t str --set /desktop/
Clue:
When the script it run from cron, the following command gives an exit status of 2, which means gconfd is not running. When run from the command line, it gives an exit status of 0, wihch means gconfd is running.
gconftool-2 --ping
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: gconf2 2.24.0-0ubuntu1
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gconf
Uname: Linux 2.6.27-7-generic i686
I get exactly the same result. ubuntuforums. org/showthread. php?t=952452
Some background discussion at http://