For some reason, gsettings is not working on my installation—ubuntu 16.04 MATE 64-bit. Specifically, a command similar to
$ gsettings set org.mate.background picture-filename ‘/usr/share/backgrounds/mate/abstract/Spring.png’
has no effect. On the other hand, the wallpaper changes if I make the changes with dconf editor. It also changes if I change wallpaper via System > Look and Feel > Appearance
I need gsettings to work, because variety (a wallpaper-changer s/w) depends on it…
You mean it doesn't change the background or it doesn't change the gsettings entry?
You can use the following command to monitor the value of picture-filename:
Check with Mate Tweak that the option “Show Desktop icons” is enabled.
I once disabled that option and Variety stopped changing the wallpaper.
If this is the case, this option should be called something like “dinamic desktop”.
Thanks for your reply! I mean, it doesnt change the background. When I enter the gsetting monitor command, it simply “freezes”. rather nothing happens, and it doesnt go back to the prompt.
To add, I checked the permissions of dconf/user and they seem fine (this solution was suggested elsewhere)
Still nothing: I issued gsettings set command and then subsequently, also used dconf-editor. using dconf-editor changed background but the monitor command still didnt give any result
could it be that gsettings is looking at the wrong place, somehow? I dont exactly understand it, but when I run
$ set | grep XDG
I find XDG_RUNTIME_DIR=/run/user/1000
which contains dconf but the binary file is a very small one. otoh, ~/.config has dconf with a binary file that is probably the working one? is gsettings pointing to the wrong binary file, perhaps?
Wow this is weird. A binary in a hidden config folder?
And it probably added that folder to $PATH - check your ~/.bashrc and ~/.profile for the entries it might add…
Indeed, I was wondering how it could have happened. I dont remember doing anything explicitly. I did an update to anaconda recently and maybe something got goofed up. Will check bashrc and profile, thanks!