I try to use the ChangeColorSet in my script but do nothing. The Colorsets are:

Colorset 10 bg, RootTransparent, Tint black 75, fg white Colorset 9 bg, RootTransparent, Tint black 75, fg red

part of the script:

[code]Widget 91
Type ItemDraw
Size 30 30
Position 0 0
Flags NoReliefString

Case message of


1 :
Set $widget = (LastString)

ChangeForeColor $widget {cyan}

ChangeColorSet $widget {Colorset 9}
ChangeFont $widget {xft:Zekton:size=15:antialias=true}

ChangeForeColor work but change the BackColor also. ChangeColorSet do nothing (no error message).

[code]fvwm -version
fvwm 2.5.31 compiled on Sep 27 2010 at 23:50:38
with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, XRender, XCursor, XFT, NLS

fvwm comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of fvwm under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.[/code]

These aren’t right – it means nothing to say:

Colorset n bg,

“bg” needs a value here. So I am surprised when you say there are no errors, unless this is a copy and paste issue?

Oh, and next time, stop being so bloody demanding of people. You post here and wait – you don’t then come to #fvwm on freenode and start demanding there as well to get a quicker response to your question. We’re volunteers, not your personal servant.

– Thomas Adam

First sorry for #fvwm.

I changed Colorset (but no error message with the above Colorsets):

Colorset 10 bg black, RootTransparent, Tint black 75, fg white Colorset 9 bg black, RootTransparent, Tint black 75, fg red

The problem still exist. ChangeColorSet not work.

I found the solution. The FvwmScript manpage says:

ChangeColorSet id1 id2 Set the colorset of the widget numbered id1 to id2. Specifying widget 0 sets the main window colorset.

The soulution is use: ChangeColorset

ChangeColorset $widget 9