transparency and scripted wallpaper switching chokes X...

so, i’ve been really happy with F? as a window manager; works way better than my last one. but i’ve been having a problem getting transparent colorsets to play nice under my fetish for wallpaper proliferation. to wit:

i have pager/desker set so that every time i switch desktops/pages, it automatically uses esetroot to change the wallpaper. the script looks like this:

*FvwmBacker: Command(Desk 0, Page 0 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/somethingblue.png *FvwmBacker: Command(Desk 0, Page 1 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/spiralspiel.png *FvwmBacker: Command(Desk 0, Page 1 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/singularity.png *FvwmBacker: Command(Desk 0, Page 0 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/588.png *FvwmBacker: Command(Desk 1, Page 0 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/anen.png *FvwmBacker: Command(Desk 1, Page 1 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/singularity.png *FvwmBacker: Command(Desk 1, Page 0 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/3008-Night\ 1024.png *FvwmBacker: Command(Desk 1, Page 1 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/3117-darksea.png *FvwmBacker: Command(Desk 2, Page 0 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/Homeworld\ Map.png *FvwmBacker: Command(Desk 2, Page 1 0) Exec killall xplanet & Esetroot -f $[fvwm_img]/homeworld/HW2_05_Mothership_1.png *FvwmBacker: Command(Desk 2, Page 0 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/angel.png *FvwmBacker: Command(Desk 2, Page 1 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/accretion.png *FvwmBacker: Command(Desk 3, Page 0 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/fluorescence6.png *FvwmBacker: Command(Desk 3, Page 1 0) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/sierramoon.png *FvwmBacker: Command(Desk 3, Page 0 1) Exec killall xplanet & Esetroot -f $[fvwm_wallpapers]/silver.png *FvwmBacker: Command(Desk 3, Page 1 1) Exec killall xplanet & xplanet -longitude -100 -transparency
i have to put the ‘killall xplanet’ in every one, or xplanet just keeps running, and changes back to a planet.

now, here’s the problem: Desker, IconMan, and BarButtons have transparent colorsets using RootTransparent, and whenever i switch desktops, there’s this looooong (like sometimes >1min) lag before they update their colorsets to show the new background. my colorsets are like this:

[code]Colorset 1 fg #0afbff, bg grey, NoShape, RootTransparent buffer, Tint white 20
Colorset 2 fg #0afbff, bg grey, NoShape, RootTransparent buffer, Tint #091251 05
Colorset 3 fg black, bg grey, NoShape, RootTransparent buffer, Tint white 20
Colorset 4 fg black, bg grey, NoShape, RootTransparent buffer, Tint white 10
Colorset 5 fg black, bg grey, NoShape, RootTransparent buffer, Tint white 35
Colorset 6 fg #0afbff, bg grey, NoShape, RootTransparent buffer, Tint white 10
Colorset 7 RootTransparent buffer, fg #1B34EE, bg #091251, DGradient 200
lightblue darkblue, Translucent #091251 60, ParentRelative

Style * MenuColorset 7, PopupOffset 0 100, AnimationOff

Colorset 9 RootTransparent buffer, fg #0afbff, bg average, Tint #091251 40,
bgTint #091251 20, ParentRelative[/code]
and, just as an example, here’s the definitions for IconMan:

*FvwmIconMan: Colorset 4 *FvwmIconMan: foreground #0afbff *FvwmIconMan: PlainColorset 1 *FvwmIconMan: PlainButton flat *FvwmIconMan: SelectColorset 2 *FvwmIconMan: SelectButton flat #FVWM 2 *FvwmIconMan: FocusColorset 2 *FvwmIconMan: FocusButton flat *FvwmIconMan: FocusAndSelectColorset 1 *FvwmIconMan: FocusButton up *FvwmIconMan: IconColorset 6 *FvwmIconMan: IconButton flat *FvwmIconMan: ReliefThickness 1 *FvwmIconMan: font "xft:sans-serif:Medium:pixelsize=12;-*-times-bold-r-*-*-12-*-*-*-*-*-*-*" *FvwmIconMan: followfocus true *FvwmIconMan: usewinlist true *FvwmIconMan: sort name *FvwmIconMan: drawicons always *FvwmIconMan: 2 title "Icon Man"

if i run Top, i see that, right after i switch desktops, X is eating something like 95% of the cpu, and i can’t do anything else until the backgrounds are fixed. sometimes, one or several of the modules crash when i switch desktops, as well.

so: amy i doing something stupid with my configs, or is fvwm not equipped to handle something like this? the latter possibility seems highly unlikely to me, given how good it is at other things; so i’m guessing i’ve screwed up something somewhere.

any suggestions?

EE

Setting your backgrounds that way is indeed pretty slow and some modules indeed don’t like it. I’m not sure but I think I heard taviso say somewhere that you could put your wallpaper in a Colorset (if it’s a png or another supported format) and use that to set the background. This should work much faster, haven’t tried it myself though…

hth