I have been configuring as follows :
- use pipanel to set desktop properties and system font
- use obconf to set windows properties (theme, appearance and mouse)
- use lxappearance to set widget theme and icon theme
I have done this successfully 45 (!) times with previous versions of Raspbian (Jessie and Stretch)
However with Nov 18 version of Raspbian this does not work properly for me – after using pipanel followed by obconf the windows buttons stopped working !
I deleted /home/pi/.config/openbox/lxde-pi-rc.xml
I ran pipanel and the file was re-created but in a strange non-standard format with only two lines and 394 characters.
I ran obconf and the file was replaced by 101 lines of contents.
At this point the windows buttons stopped working.
Clearly neither of these utilities can properly handle a missing or malformed /home/pi/.config/openbox/lxde-pi-rc.xml file
I therefore ran the following script to restore the correct lxde-pi-rc.xml file and rebooted. After this all was working normally – fixing the regression.
# Pre-configure openbox (Raspbian Stretch Nov 18)
cat /home/pi/.config/openbox/lxde-pi-rc.xml | grep "Do not edit" >/dev/null
if [ $? == 1 ] || [ ! -e /home/pi/.config/openbox/lxde-pi-rc.xml ] ; then
echo /home/pi/.config/openbox/lxde-pi-rc.xml invalid or missing
read -p "Pre-configure openbox y/n ?" GO
if [ x$GO == xy ] || [ x$GO == xY ] ; then
if [ -e /home/pi/.config/openbox/lxde-pi-rc.xml ] ; then
if [ ! -d /home/pi/.config/openbox ] ; then
echo /home/pi/.config/openbox created
cp /etc/xdg/openbox/lxde-pi-rc.xml /home/pi/.config/openbox/
echo lxde-pi-rc.xml copied
sed -i 's/>LIMC</>NLIMC</g' /home/pi/.config/openbox/lxde-pi-rc.xml
if [ $? == 0 ] ; then
echo LIMC changed to NLIMC
echo LIMC not found
echo /home/pi/.config/openbox/lxde-pi-rc.xml present and valid