Discussion:
FVWM: color for pixmap on root
Jamie Griffin
2014-09-15 07:25:50 UTC
Permalink
Hi

I use FvwmBacker to set the root backgrounds, on some of the desktops I
use a pixmap image that is tiled. I would like to be able to add a
colour of choice to the pixmap, to give it a tint-like effect.

I've got a colorset set up with the usual stuff like $bg, $fg,
TiledPixmap, Transparent and of course specifying the pixmap path as I
understood from the manpage this might be the way to achieve adding
colour to a pixmap image. Is does not work that way i've found.

How might I be able to do this? Will I need to use another program like
fvwm-root or xsetroot (to add a base colour for example, to do it?

I would like to be able to do this so when I change colour schemes this
effect can be a part of that.

Thank you.
Dominik Vogt
2014-09-15 18:33:43 UTC
Permalink
On Mon, Sep 15, 2014 at 08:25:50AM +0100, Jamie Griffin wrote:
> I've got a colorset set up with the usual stuff like $bg, $fg,
> TiledPixmap, Transparent and of course specifying the pixmap path as
> I understood from the manpage this might be the way to achieve
> adding colour to a pixmap image. Is does not work that way i've
> found.

*What* does not work, what commands did you try? Have you tried
the *Tint options of the colorset command?

Ciao

Dominik ^_^ ^_^

--

Dominik Vogt
Jamie Griffin
2014-09-16 08:00:45 UTC
Permalink
On 15/09/2014 19:33, Dominik Vogt wrote:
> On Mon, Sep 15, 2014 at 08:25:50AM +0100, Jamie Griffin wrote:
>> I've got a colorset set up with the usual stuff like $bg, $fg,
>> TiledPixmap, Transparent and of course specifying the pixmap path as
>> I understood from the manpage this might be the way to achieve
>> adding colour to a pixmap image. Is does not work that way i've
>> found.
> *What* does not work, what commands did you try? Have you tried
> the *Tint options of the colorset command?
>
> Ciao
>
> Dominik ^_^ ^_^
>
the command i've used is the one i described - using a colorset with
TiledPixmap, Transparent, bg and fg colours. It loads the pixmap without
any colour to it. I tried the Tint option as well and this does not work
either. Basically, I don't know how to use a pixmap and apply a base
colour of my choice to it.

Is the colorset method the right way or is their another program that
will change the base colour of simple pixmaps for the root background?
Dominik Vogt
2014-09-16 09:41:34 UTC
Permalink
> the command i've used is the one i described - using a colorset with
> TiledPixmap, Transparent, bg and fg colours. It loads the pixmap without
> any colour to it. I tried the Tint option as well and this does not work
> either. Basically, I don't know how to use a pixmap and apply a base
> colour of my choice to it.

Well, if you don't post the commands you tried I cannot say what's wrong
with them, but this works for me:

colorset 10 tiledpixmap <imagefile>, tint green 25, bgtint red 50
*FvwmBacker: Command (Desk *) colorset 10

> Is the colorset method the right way

Yes.

> or is their another program that will change the base colour of simple
> pixmaps for the root background?

You mean a program that changes the pixmap on the fly and sets is as
the backgound? Probably not.

Ciao

Dominik ^_^ ^_^

--

Dominik Vogt
Jamie Griffin
2014-09-16 10:26:12 UTC
Permalink
On 16/09/2014 10:41, Dominik Vogt wrote:
> Well, if you don't post the commands you tried I cannot say what's wrong
> with them, but this works for me:
>
> colorset 10 tiledpixmap <imagefile>, tint green 25, bgtint red 50
> *FvwmBacker: Command (Desk *) colorset 10
>

sorry i didn't explain it clearly, i'll have a go with those options.
Thanks again for your help Dominik, much appreciated.
Loading...