2

Say I want to email my Pi a picture, and have it set the latter as it's desktop background. Say that I also already have the script that makes it pull the mail from GMAIL and launch a python script. The missing piece is the actual changing of the background.

3
  • What graphical environment does your PI run? Stock LXDE?
    – user29510
    Commented Jun 21, 2015 at 11:05
  • There's also some example code valid for Gnome on Stack Overflow, as a base.
    – user29510
    Commented Jun 21, 2015 at 11:21
  • I installed raspbian and did no serious modifications
    – Andrea
    Commented Jun 21, 2015 at 12:05

1 Answer 1

3
pcmanfm --set-wallpaper /point-to-new-wallpaper

There's a catch though. With LXDE, setting the desktop wallpaper from the command line has been on the TODO list for at least 5 years. You'll have to check whether it works or not.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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