An easy way to change wallpaper in Fluxbox
Some of the following information are taken from here.
1. Open a terminal and edit the init file in your home directory (eg. /home/username/.fluxbox/init).
2. Search for the line: “session.screen0.rootCommand:” and add “fbsetbg -l” after the colon. Save the file and exist.
3. Create a file called “chbg.sh” (or to anything you like) and save it in a desirable location (eg. /home/username/).
4. Copy the following code to chbg.sh. Save and exit.
#!/bin/bash
mypic=$(kdialog –getopenfilename ~/)
if [ $? -eq 0 ] ; then
chbg -mode maximize $mypic
echo “\$full|$mypic|:0.0″ > ~/.fluxbox/lastwallpaper
fi
5. Make chbg.sh executable.
chmod a+x chbg.sh
6. You must install eterm in order for this to work. So install eterm.
sudo apt-get install eterm
7. Now, double-click chbg.sh to change the wallpaper. You may need to restart Fluxbox to see the change.