sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

fbsetbg: Annoying message from fbautostart #1054

Open sillysloft opened 12 years ago

sillysloft commented 12 years ago

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.

Bug tracked in Debian as bug #657483

Reported by: paul_tag

sillysloft commented 8 years ago

This is bug #910, but I'm not sure whether this is still or ever actually was a problem.

The correct call would be "background: unset"

Original comment by: baghira-style