Re: using gsettings / gconf in extensions
- From: Milan Bouchet-Valat <nalimilan club fr>
- To: Tim Cuthbertson <tim gfxmonk net>
- Cc: gnome-shell-list gnome org
- Subject: Re: using gsettings / gconf in extensions
- Date: Tue, 31 May 2011 12:08:22 +0200
Le mardi 31 mai 2011 à 16:02 +1000, Tim Cuthbertson a écrit :
> On Fri, May 27, 2011 at 5:21 AM, Giovanni Campagna
> <scampa giovanni gmail com> wrote:
> > A good question, I didn't think of that. In which case, the only
> > solution (except for env var hacks) lies in glib loading schemas from
> > ~/.local/share/glib-2.0/schemas or
> > ~/.local/share/gnome-shell/extensions/<uuid>.
>
> these env var hacks you speak of, what env vars would be necessary?
> This could be useful for testing / development versions. Would
> gsettings respect $XDG_DATA_DIRS by any chance?
There's $GSETTINGS_SCHEMA_DIR. It also uses $XDG_DATA_DIRS AFAICT, but
~/.local/share isn't a system data dir, so better avoid this kind of
hack that can affect other things and use the former.
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]