From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 06:07:13 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69C9137B401 for ; Sat, 5 Jul 2003 06:07:13 -0700 (PDT) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C04DB44008 for ; Sat, 5 Jul 2003 06:07:12 -0700 (PDT) (envelope-from johnmills@speakeasy.net) Received: (qmail 13806 invoked from network); 5 Jul 2003 13:07:12 -0000 Received: from unknown (HELO localhost.localdomain) ([216.27.162.100]) (envelope-sender ) by mail7.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jul 2003 13:07:12 -0000 Received: from localhost (jmills@localhost) by localhost.localdomain (8.11.6/8.11.6) with ESMTP id h65DBds06146; Sat, 5 Jul 2003 09:11:39 -0400 X-Authentication-Warning: localhost.localdomain: jmills owned process doing -bs Date: Sat, 5 Jul 2003 09:11:39 -0400 (EDT) From: John Mills X-X-Sender: jmills@localhost.localdomain To: stan In-Reply-To: <20030703175847.GA8587@teddy.fas.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Free BSD Questions list Subject: Re: Seting baclground color in fvwm95? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John Mills List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 13:07:13 -0000 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