How to change desktop wallpaper from terminal

wallpaperxmonad

I want to change the wallpaper of xmonad from the command line.

How can I do this?

Best Answer

You can use feh:

feh --bg-scale /path/to/wallpaper

You can also set up bash scripts to change wallpaper to random one every X minutes(I use it with feh), get random wallpaper on each boot, etc. The Arch wiki explains it nicely.

Related Question