I'm connected through SSH. In other words, I have no mouse nor keyboard connected to the unit. How do I change the wallpaper from the terminal?
Asked
Active
Viewed 1.9k times
2 Answers
8
You can set the Raspberry Pi desktop background with this command under Pixel (lightdm) Desktop Manager:
pcmanfm --set-wallpaper="/your/background/file"
Darth Vader
- 4,218
- 24
- 47
- 70
Cédric Bellec
- 81
- 1
- 2
1
From http://lxlinux.com (section 5 on the page):
In a traditional set-up wallpaper can be changed by terminal launching a wallpaper GUI:
pcmanfm --desktop-pref,
or by directly editing the .conf files in ~/.config/pcmanfm/LXDE/. The default wallpaper folders depend upon the distribution and are generally /usr/share/backgrounds or /usr/share/lxde/wallpapers.
Sounds like you need to look at the .conf files in the ~/.config/pcmanfm/LXDE/ folder.
Phil B.
- 5,053
- 17
- 30