Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2003 09:11:39 -0400 (EDT)
From:      John Mills <johnmills@speakeasy.net>
To:        stan <stanb@panix.com>
Cc:        Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: Seting baclground color in fvwm95?
Message-ID:  <Pine.LNX.4.44.0307050900270.6093-100000@localhost.localdomain>
In-Reply-To: <20030703175847.GA8587@teddy.fas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Stan, Freebies -

On Thu, 3 Jul 2003, stan wrote:

> How can I set the background color for a session using fvwm95? xsetroot
> sets the color, but when the window manmager starts up, it overwrites that
> change.

Here is a snippet from my '.fvwm2rc': (Sorry about the long lines.)

####################### Initialization Functions ######################
AddToFunc InitFunction    "I" Module FvwmButtons
+                         "I" exec xsetroot -mod 2 2 -fg \#606060 -bg \#705070

AddToFunc RestartFunction "I" Module FvwmButtons
+                         "I" exec xsetroot -mod 2 2 -fg \#606060 -bg \#705070
#######################################################################

There is a "Restart FVWM" button tied to 'RestartFunction', and I assume 
'InitFunction' is a built-in. Anyway, changes made here seem to work and 
to 'stick'.

This is a RH-6.2 GNU/Linux system, but it may give you some ideas.

Regards.
 John Mills
 john.m.mills@alum.mit.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0307050900270.6093-100000>