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
Thanks for the suggestions. The issue became less and less frequent
until when a few months ago it somehow resolved itself. I didn't do
anything though; the script and the cron command have remained the same.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
I see this has been here a while, but I had the same issue a few days
ago and was able to resolve it by adding the following to the command:
DISPLAY=:0 GSETTINGS_BACKEND=dconf gsettings set
org.gnome.desktop.background picture-uri file:///path/to/background.jpg
--
You received this bug
Another way to trigger the wallpaper to change is to go into dconf and
toggle the draw-background checkbox in org.gnome.desktop.background.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033034
The last few days this problem has become less predictable. Instead of
every day, this problem occurs every other day. I'm not experiencing the
issue today, but yesterday I did.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: nautilus (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1033034
Title: