Setting the desktop background from cron no longer updates the desktop background
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nautilus (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I wrote a script which uses `gsettings` to change the desktop background in Gnome Shell/Unity. The command that my script executes looks like this:
gsettings set org.gnome.
Manually running this command immediately updates the desktop background. I use cron to schedule execution of my script. My crontab rule looks like this:
0,30 * * * * DISPLAY=:0.0 nextwall /home/serrano/
Cron successfully runs the script every 30 minutes and the new wallpaper URI is successfully set in `gsettings`. I test this by running:
gsettings get org.gnome.
However, the desktop background is not updated when cron runs the script (this used to work until about a month ago). Interestingly, when I right click on my desktop and select "Change Desktop Background", the desktop background is suddenly updated to the correct image.
So for some reason changing the desktop background from cron no longer triggers nautilus to update the desktop background.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: nautilus 1:3.4.2-0ubuntu4
ProcVersionSign
Uname: Linux 3.2.0-29-
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu12
Architecture: i386
Date: Sat Aug 4 13:09:50 2012
GsettingsChanges:
org.gnome.
org.gnome.
org.gnome.
org.gnome.
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.