guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNOME Settings Schemas - How are they searched for?


From: 宋文武
Subject: Re: GNOME Settings Schemas - How are they searched for?
Date: Mon, 24 Oct 2016 19:33:12 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Pjotr Prins <address@hidden> writes:

> I installed the same version on Guix on top of Debian - but I use
> i3wm. No dbus - so maybe that is the root of the problem?
>

GSettings search its 'gschemas.compiled' files under environment
variable `$GSETTINGS_SCHEMA_DIR` and then under each directory of
`$XDG_DATA_DIRS/share/glib-2.0/schemas`.  The file can contain multiple
entries, compiled from XML gsettings schemas files provided by
applications.

We don't have profile hook to build 'gschemas.compiled', so the one in
profile only can contains one package's schemas, which is not helpful as
schemas from other (particularly gtk+) are required too.

Current way to handle this is to wrap binaries using gsettings with
XDG_DATA_DIRS, as does by `glib-or-gtk-build-system`.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]