From owner-freebsd-gnome@FreeBSD.ORG Wed Oct 22 09:23:55 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 23B2A16A4B3 for ; Wed, 22 Oct 2003 09:23:55 -0700 (PDT) Received: from kestrel.alerce.com (kestrel.alerce.com [209.182.219.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0529D43FA3 for ; Wed, 22 Oct 2003 09:23:54 -0700 (PDT) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (authenticated bits=128) by kestrel.alerce.com (8.12.10/8.12.10) with ESMTP id h9MGNql6002889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Oct 2003 09:23:53 -0700 (PDT) (envelope-from hartzell@kestrel.alerce.com) Received: from rosebud.alerce.com (localhost [127.0.0.1]) by rosebud.alerce.com (8.12.8p2/8.12.8) with ESMTP id h9MGNkgM002847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 22 Oct 2003 09:23:47 -0700 (PDT) (envelope-from hartzell@rosebud.alerce.com) Received: (from hartzell@localhost) by rosebud.alerce.com (8.12.8p2/8.12.8/Submit) id h9MGNjFt002844; Wed, 22 Oct 2003 09:23:45 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16278.44817.594269.512181@rosebud.alerce.com> Date: Wed, 22 Oct 2003 09:23:45 -0700 To: Joe Marcus Clarke In-Reply-To: <1066780507.97635.10.camel@shumai.marcuscom.com> References: <16277.26860.235109.20911@rosebud.alerce.com> <16277.47059.927449.720954@rosebud.alerce.com> <1066780507.97635.10.camel@shumai.marcuscom.com> X-Mailer: VM 7.14 under 21.4 (patch 14) "Reasonable Discussion" XEmacs Lucid cc: freebsd-gnome@freebsd.org Subject: Re: who's setting a wild-card'ed background color resource. X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@kestrel.alerce.com List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2003 16:23:55 -0000 Joe Marcus Clarke writes: > On Tue, 2003-10-21 at 18:48, George Hartzell wrote: > > George Hartzell writes: > > > > > > I just got done updating ports on my 4.8 (4.8-RELEASE-p7) laptop, > > > using the current ports tree (as of a couple of days ago). > > > > > > [...] > > > > > > The problem is: my custom background colors have disappeared. > > > > > > [...] > > > > > > I think what's killing me is this resource: > > > > > > *background: #dcdad5 > > > > > > [...] > > > > > > I can't figure out where it's getting set. Is is part of one of the > > > myriad themes that the various gnome things use? > > > > > > Pointers/suggestions would be appreciated. > > > > [...] > > > > It seems that it's some portion of the > > gnome-control-center/theme-manager/gnome-settings-daemon that's > > "helping" me out with this. > > > > There are a bunch of relevant files in > > /usr/X11R6/share/gnome/control-center-2.0/xrdb, which are being used > > as templates. > > > > So, now the question is, how to control this behaviour. > > [...] > > I don't see anywhere in gconf that this can be controlled. You might be > able to trick gnome-settings-daemon by creating bogus .ad files in > ~/.gnome2/xrdb. Well, it looks like it's not even a matter of *tricking* gnome-settings-daemon, it's set up to let you use your settings in favor of the system defaults by putting an identically named file in your .gnome2/xrdb. *Except* for General.ad, which is what's splatting the wild-card resource. gnome-settings-xrdb.c:scan_for_files() does this: /* Add the initial file */ list = g_slist_prepend (list, g_strdup (GENERAL_AD)); after merging the user and system app-default-file lists (preferring the user version). Is there a gnome list/group where I could raise the issue of how badly this violates the POLA? I could argue that the wildcard resource is nasty, or that being able override everything except the General.ad file is odd, or that there should be some way to control the behaviour. Or, someone could convince me that this is the way that it should be (in which case I'll comment it out in the system file...). g.