You are not logged in.

#1 2012-02-23 15:55:16

akjmicro1
Member
Registered: 2012-02-23
Posts: 5

Fluxbox style's wallpaper only sets on init?

Hi,

Quick question: it seems that any background wallpapers indicated in a fluxbox style via "background.pixmap:" are only set upon initialization (I suppose via the init file's "session.screen0.rootCommand:"). In other words, I cannot switch a style and automatically have any wallpaper associated with that style in its theme file loaded, except if I exit and restart Fluxbox.

Is this intentional, or a bug? Also, is there a workaround to this, besides manually setting a wallpaper, then setting a style?

I also notice that sometimes, I need to restart Fluxbox in order to get certain style settings (font, etc.) to register correctly....is this a bug? It seems like a more elegant way to code this would be to not require the user to restart manually...

Best,
AKJ

Offline

#2 2012-02-23 22:02:05

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Fluxbox style's wallpaper only sets on init?

Being a fluxbox fan when I saw your post I checked out what happens here. Changing the theme doesn't change the wallpaper like it used to. On the tty where I started fluxbox from I get the error from libpng that it doesn't have the memory available to decompress chunk. But using

fbsetbg -f /path/to/wallpaper

works fine.
So is it a libpng build problem or fluxbox again being behind in development?


You're just jealous because the voices only talk to me.

Offline

#3 2012-02-23 22:40:31

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Fluxbox style's wallpaper only sets on init?

Fluxbox from the repos was last built 30/10/11 so I'm guessing it just needs rebuilding for the new libpng. I filed a bugreport here:
https://bugs.archlinux.org/task/28614?p … ng=fluxbox


You're just jealous because the voices only talk to me.

Offline

#4 2012-02-24 06:44:51

akjmicro1
Member
Registered: 2012-02-23
Posts: 5

Re: Fluxbox style's wallpaper only sets on init?

Thanks for answering and looking into this....I'm curious if I can find the time tomorrow to manually build fluxbox and see if your hunch is correct....

Best,
AKJ

Offline

#5 2012-02-25 06:27:51

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Fluxbox style's wallpaper only sets on init?

I rebuilt fluxbox and the situation didn't improve so I bothered the good folk on #fluxbox and one of the devs had the same issue so there's some butt kicking going on now apparently...

Last edited by moetunes (2012-02-25 06:31:37)


You're just jealous because the voices only talk to me.

Offline

#6 2012-02-25 20:27:00

akjmicro1
Member
Registered: 2012-02-23
Posts: 5

Re: Fluxbox style's wallpaper only sets on init?

Ah! Very good...so I stumbled on a genuine bug!

Thanks for looking into this, moetunes!

Best,
AKJ

Offline

#7 2012-02-25 20:29:20

akjmicro1
Member
Registered: 2012-02-23
Posts: 5

Re: Fluxbox style's wallpaper only sets on init?

BTW, I was curious about your hunch re:libpng in the first place, since apparently, fluxbox doesn't appear to be linked to it at all, at least on my system, as "ldd /usr/bin/fluxbox | grep png" reveals nothing! smile

Best,
AKJ

Offline

#8 2012-02-25 23:45:15

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: Fluxbox style's wallpaper only sets on init?

It wasn't a hunch. When I killed fluxbox the libpng error was on the tty, so I started flux again and did some theme changes and for each one the libpng error was reprinted. The connection seemed obvious and once the error was confirmed on irc the dev knew some work in flux was needed. I never asked where libpng fitted into it...


You're just jealous because the voices only talk to me.

Offline

#9 2012-02-28 17:55:08

akjmicro1
Member
Registered: 2012-02-23
Posts: 5

Re: Fluxbox style's wallpaper only sets on init?

Interesting....hmm...I don't doubt you are correct, I'm just wondering why libpng doesn't show up in 'ldd /usr/bin/fluxbox'....static linking perhaps?

Best,
AKJ

Offline

Board footer

Powered by FluxBB