The croc will change the desktop background if you add in your script
before `gsettings` the following lines/commands:

PID=$(pgrep gnome-session)
export DBUS_SESSION_BUS_ADDRESS=$(grep -z DBUS_SESSION_BUS_ADDRESS 
/proc/$PID/environ|cut -d= -f2-)

You will not need anymore to use in your crontab rule `DISPLAY=:0`.

More explanations here: http://stackoverflow.com/a/19666729/2353900

** Changed in: nautilus (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/1033034

Title:
  Setting the desktop background from cron no longer updates the desktop
  background

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1033034/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to