Gradient Question

Problems with decorations or key/mouse bindings? Or perhaps you have a cool mouse/key binding you want to share.
woomia
Kitten
Kitten
Posts: 16
Joined: Thu Sep 30, 2010 8:01 pm

Gradient Question

Postby woomia » Thu Sep 30, 2010 8:07 pm

I'm trying this gradient. It's from older config so it might be outdated:

Code: Select all

# Button Style Changes
ButtonStyle Reset
# 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:
http://saragossa.net/linux-tips/pages/S ... A+Fvwm.php

But all I get is a gray titlebar.

thomasadam
Administrator
Administrator
Posts: 3043
Joined: Mon Nov 08, 2004 1:12 am
Location: England
Contact:

Re: Gradient Question

Postby thomasadam » Thu Sep 30, 2010 10:40 pm

woomia wrote:I'm trying this gradient. It's from older config so it might be outdated:


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

woomia
Kitten
Kitten
Posts: 16
Joined: Thu Sep 30, 2010 8:01 pm

Re: Gradient Question

Postby woomia » Thu Sep 30, 2010 11:17 pm

Ah, OK. I do like the colors he has.

I will read up on the man page.

User avatar
theBlackDragon
Administrator
Administrator
Posts: 714
Joined: Wed Oct 27, 2004 9:22 pm
Location: Zingem, Belgium
Contact:

Re: Gradient Question

Postby theBlackDragon » Fri Oct 01, 2010 3:18 pm

woomia wrote: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.


Return to “Decorations and bindings”

Who is online

Users browsing this forum: No registered users and 1 guest