Is there any DConf/Gsettings etc. interface for changing the wallpaper through the command line?
Thanks to the Set Wallpaper Contract there already is a convenient way to set a new wallpaper: set-wallpaper
Example:
set-wallpaper ~/Downloads/coolpicture.png
set-wallpaper some-name.png
will set as wallpaper the file ~/some-name.png
.
If there is no such file at that location, it will create a black desktop: for example a command like set-wallpaper x
.
-
-
-
does it take arguments - like centered, scaled, stretched etc? – user170 Feb 24 '17 at 21:06
-
In Hera the command is
/usr/lib/x86_64-linux-gnu/io.elementary.contract.set-wallpaper ~/some-name.png
. – ivant Feb 20 at 11:05