Public bug reported:
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/gnome/background/picture_filename
"$picture_name"
gconftool-2 -t str --set /desktop/gnome/background/picture_options "stretched"
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=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gconf
Uname: Linux 2.6.27-7-generic i686
** Affects: gconf (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug
--
gconftool-2 in Intrepid not working from cron
https://bugs.launchpad.net/bugs/285937
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs