Here is a patch to hsetroot to do two things:
1) to give a color name instead of rgb values, like red4
2) to randomly select an image from given list.
Example for 1) hsetroot -solid snow
Example for 2)
hsetroot -fill ~/.kahakai/styles/Aqua/Aqua.jpg -center
~/.myimages.txt
where ~/.myimages.txt
looks like (absolute path names only)
/opt/kde3/share/apps/ksnake/backgrounds/Bark.png
/opt/kde3/share/apps/ksnake/backgrounds/Blue_Carpet.png
/opt/kde3/share/apps/ksnake/backgrounds/Dark_Wood.png
/opt/kde3/share/apps/ksnake/backgrounds/Granite.png
/opt/kde3/share/apps/ksnake/backgrounds/Green_Carpet.png
/opt/kde3/share/apps/ksnake/backgrounds/Mystique.png
/opt/kde3/share/apps/ksnake/backgrounds/Rope_Weave.png
/opt/kde3/share/apps/ksnake/backgrounds/Volcanic.png
/opt/kde3/share/apps/ksnake/backgrounds/Wood.png
The hsetroot call above will set the whole background
to Aqua.jpg
and then place a randomly selected image from the list
above in the
the center of screen. So you get a random picture in
the center of your desktop for a new session.