Package: fluxbox Version: 1.1.1+dfsg2-1 Severity: normal Tags: squeeze patch
Background information: I use multiple window managers and switch between them from time to time depending on the tasks to do. I use a common background image (showing current statistics, set via cron) in the X root window. Therefore, I disable setting background images in all window managers. The manpage of fluxstyle(1) says you should create a file named '~/.fluxbox/overlay' containing 'background: none' to disable background modification. I removed '~/.fluxbox/lastwallpaper', too, else fbsetbg will still set a background image. In this case, you'll get the message "Can't find wallpaper" on fluxbox startup (fluxbox starts 'fbsetbg -z'). Known workaround: Change the value of line matching 'session.screen*.rootCommand' to '/bin/true' in the file '~/.fluxbox/init' -- this will prevent fluxbox from running fbsetbg. The appended patch will modify fbsetbg to exit without warning when "-z" or "-Z" is used and no wallpaper is set. -- System Information: Debian Release: 6.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fluxbox depends on: ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1+squeeze3 FreeType 2 font engine, shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library ii libimlib2 1.4.2-8+b2 powerful image loading and renderi ii libsm6 2:1.1.1-1 X11 Session Management library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libx11-6 2:1.3.3-4 X11 client-side library ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar ii libxft2 2.1.14-2 FreeType-based font drawing librar ii libxinerama1 2:1.1-3 X11 Xinerama extension library ii libxpm4 1:3.5.8-1 X11 pixmap library ii libxrandr2 2:1.3.0-3 X11 RandR extension library ii libxrender1 1:0.9.6-1 X Rendering Extension client libra ii menu 2.1.44 generates programs menu for all me ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages fluxbox recommends: ii xfonts-terminus 4.30-2 Fixed-width fonts for fast reading Versions of packages fluxbox suggests: pn fbdesk <none> (no description available) pn fbpager <none> (no description available) pn fluxconf <none> (no description available) -- no debconf information
--- fbsetbg.orig 2010-07-12 13:54:29.000000000 +0200 +++ fbsetbg 2012-01-26 15:41:11.000000000 +0100 @@ -519,6 +519,11 @@ fi fi +# silently bail out when undocumented options "-z" or "-Z" +# (fluxbox uses -z on startup) are used without a wallpaper +if [ -z "$wallpaper" -a -n "$style" ]; then + exit 0 +fi if [ ! -r "$wallpaper" ]; then message "Can't find wallpaper $wallpaper"