Seting baclground color in fvwm95?

John Mills johnmills at speakeasy.net
Sat Jul 5 06:07:13 PDT 2003


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 at alum.mit.edu



More information about the freebsd-questions mailing list