Re: FVWM: foreground/background icon or border colors?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Thu, 27 Dec 2001 13:54:19 +0000

On 26 Dec 2001 23:21:00 -0800, Tenebrae wrote:
>
[skipped]

> This sounds cool if it would work for me. I can't seem for the life of me
> to get the grey border out of my inactive windows.
> I have a nice dark purple border with a thin grey border around the
> outside of my inactive windows. I'd rather that was another shade of
> purple.
> Also, the raised buttons etc. in my inactive windows have a grey 3d
> shading. I'd love to get rid of that and replace it with another shade of
> purple.
> I'm not getting the man pages or something.
> Most .fvwm2rc files seem to use a pixmap for their window borders. I
> prefer a thin border with a bit of colour to it.
> I got it to work in FVWM 2.2.4, but am having no luck in 2.4.3.
> Still trying to stamp out all dull grey in my desktop...

It is hard to understand what "a nice dark purple border with a thin grey
border" mean without a config and/or screenshot.

If you don't like the CDE-like shadow/hilite color calculations (I also
don't like them) where the shadow color may be lighter than the background
color, you should use colorsets and define "sh" and "hi" colors yourself.
But shadow color of dark purple should not be pure gray like you say, it
should be something like light purple, so probably your problem is other.

You can't use colorset commands together with the old-style commands,
i.e. HilightColorset overrides HilightBack and HilightFore.

Also, in my parent message I intentionally did not mention TitleStyle,
it overrides BackColor and HilightBack (and Colorset and HilightColorset).

If I was screwed with configs, I would start with an empty .fvwm2rc (or
with only bindings and menus) and add window look commands one by one
(don't add a command if it does not do you anything good). This way the
config is minimal and readable. For example start with this .fvwm2rc:

  Style * BackColor purple, ForeColor gray # inactive windows
  Style * HilightBack MediumPurple, HilightFore white # active window

  Key F11 A CS Restart
  Key F12 A CS Quit

Or decide to use powerful colorsets and start with this .fvwm2rc:

  *FvwmTheme: Colorset 1 bg #a020d0, fg #c0c0c0, sh #9010c0, hi #b030e0
  *FvwmTheme: Colorset 2 bg #9070c0, fg #ffffff, sh #8060b0, hi #a080d0

  Style * Colorset 1 # inactive windows
  Style * HilightColorset 2 # active window

  DestroyFunc StartFunction
  AddToFunc StartFunction
  + I ModuleSynchronous FvwmTheme

If needed, download fvwm-themes and learn its configs, it uses colorsets.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Dec 27 2001 - 13:25:25 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:52 BST