I’m trying this gradient. It’s from older config so it might be outdated:
[code]# Button Style Changes
Horiz bars for the window ops menu (rightmost)
ButtonStyle 2 12 10x23@0 90x23@0 90x28@0 10x28@1 10x47@1 90x47@0 90x52@0 10x52@1 10x70@2 90x70@0 90x76@0 10x76@1
Standard X for the close button (leftmost)
ButtonStyle 1 17 20x20@1 30x20@1 50x40@1 70x20@1 80x20@1 80x30@0
60x50@0 80x70@1 80x80@0 70x80@0 50x60@0 30x80@0
20x80@0 20x70@0 40x50@1 20x30@0 20x20@1
Horiz bar means iconify
ButtonStyle 3 Default 1
large plus symbol means maximize
ButtonStyle 5 13 60x20@0 60x40@0 80x40@1 80x60@0 60x60@0 60x80@0
40x80@0 40x60@1 20x60@0 20x40@1 40x40@1 40x20@1 60x20@1
(I know the lines should be all one instead of broken up. It seems to be restriction of the forum)
I hoping it would give a gradient like this one:
saragossa.net/linux-tips/pages/S … A+Fvwm.php
But all I get is a gray titlebar.
That page has a number of typos, not only in the supplied config, but with the English as well. It doesn’t bode well. It’s also misleading in what the code snippet mentions (the same as the one in your post above) and what it does. The code you posted has nothing to do with colour gradients; it only defines the buttons that appear on the titlebar.
Now, because the config assumes FVWM 2.4.X, this can only mean that the original config used FvwmTheme to do the colour gradients. Since you should be using FVWM 2.5.X, you can achieve gradients using Colorsets – and the section about that in the FVWM man page (“man fvwm” and “man FvwmTheme”) will help you here, as there’s examples.
Don’t use that page anymore, it blows.
– Thomas Adam
Ah, OK. I do like the colors he has.
I will read up on the man page.
There doesn’t seem to be a link to the configuration file anywhere on that page (or I must be going blind) and he never posts his gradient definitions (he mentions a TitleStyle gradient but the part of the config he refers to isn’t posted, sloppy) so there’s no way of reproducing them except by experimentation.
On subject of the lines being broken up, they are not. Just copy and paste to an editor and you’ll see that no newlines got inserted.