Package: openbox
Version: 3.5.2-8
Openbox sets a dull gray background, if it is started with
/usr/bin/openbox-session as a plain Openbox session (e.g. not within a
LXDE session).
The commands to set this background color can be found in the file
/usr/lib/i386-linux-gnu/openbox-autostart, lines 3 - 12:
# Set a background color
BG=""
if which hsetroot >/dev/null 2>/dev/null; then
BG=hsetroot
elif which esetroot >/dev/null 2>/dev/null; then
BG=esetroot
elif which xsetroot >/dev/null 2>/dev/null; then
BG=xsetroot
fi
test -z $BG || $BG -solid "#303030"
There is no way to disable or change the background color, or to set a
background image instead.
This causes a noticeable flicker during startup. For example, Debian 8
Jessie has nice teal background images for the boot loader grub, the
display manager slim and the desktop background. The final background
image would be /usr/share/images/desktop-base/lines-wallpaper_1920x1080.svg.
There should be smooth transition during login, but setting a dull gray
background just before the displaying the background image disrupts this
transition.
Most users will prefer to select a background image of their own, which
could be set with nitrogen or feh. Or they might select a solid blue or
green background color.
Then the Openbox startup scripts should not set a gray background
in-between, which can not be configured in any way.
PS
This issue has been reported before:
openbox: filling the root window
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452539
That bug report was dismissed too soon, without anybody actually looking
into the source code of the startup scripts. But it was all true.
And to make this clear: I did not change the Openbox startup scripts in
any way. This is just the default behavior of a plain Openbox session in
Debian Jessie.
--
Hartmut Buhrmester