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.

  • What graphical environment does your PI run? Stock LXDE? – user29510 Jun 21 '15 at 11:05
  • There's also some example code valid for Gnome on Stack Overflow, as a base. – user29510 Jun 21 '15 at 11:21
  • I installed raspbian and did no serious modifications – Andrea Jun 21 '15 at 12:05
2
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, privacy policy and cookie policy

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