Looking at the Windows wallpaper changer way down the archives, scripting a wallpaper change in KDE is quite simple in comparison:
dcop kdesktop KBackgroundIface setWallpaper /path/to/file 7
The integer after the file path is the tiling mode, and mapped one-to-one to the choices in the KDE wallpaper selection dialog, meaning that the following options are available:
- Centered
- Tiled
- Centered Tiled
- Centered Maxpect
- Maxpect Tiled
- Scaled
- Centered Autofit
- Scale & Crop