2

Is there any DConf/Gsettings etc. interface for changing the wallpaper through the command line?

3

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.

4
  • That has to be just typed into the Terminal? Awesome. – gone May 17 '16 at 12:19
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.