How to setup gconf data

Derek Atkins warlord at MIT.EDU
Wed Sep 30 09:26:21 EDT 2009


Hi,

Colin Law <clanlaw at googlemail.com> writes:

> I have got to the bottom of this, it appears to me that it may be an
> error in make install, but perhaps it is as intended.  As Christian
> suggested it is a problem with the location that the schema files are
> installed to.  If a prefix is specified then the schemas are installed
> to
> $(prefix)/etc/gconf/gconf.xml.defaults
> which is not a location that gconf looks in.  Note that
> /etc/gconf/gconf.xml.defaults _is_ in the gconf path.
> OK, I thought, that is intentional in order that the schemas do not
> conflict with those installed for a different prefix or no prefix.  I
> then tried an install with no prefix specified, in this case it
> installs them to
> /usr/local/etc/gconf/gconf.xml.defaults
> which is still not in the gconf path.
>
> Is that the expected behaviour?

Yes, no --prefix implies --prefix=/usr/local

What if you add --sysconfdir=/etc ?

> In order to add the folder to the gconf path one can create a file
> ~/.gconf.path and put in there the line
> xml:readonly:/usr/local/etc/gconf/gconf.xml.defaults
> or the equivalent if prefix is used.
>
> Colin

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list