Re: Extensions, schema, dot-local



On Fri, Nov 18, 2011 at 7:06 AM, Bastien Durel <bastien geekwu org> wrote:
> Hello,
>
> I "built" some extensions for gnome shell (3.2.1), one of them is dock
> (from gnome-shell-extensions)
> I installed them in my ~/.local folder, and they was detected by
> gnome-shell. But as soon as I activate the dock, it crashed (crashing
> gnome-shell too), complaining about missing schema
> (org.gnome.shell.extensions.dock)
> Linking the provided org.gnome.shell.extensions.dock.gschema.xml file
> to /usr/share/glib-2.0/schemas/ and compiling here fixed things
>
> I did not find any configuration file for glib/dconf/whatever related to
> schema location(s)
>
> Is the dot-local installation supposed to work ? Is my distro fooling
> me ?

I've had success adding the path to $XDG_DATA_DIRS such that
$XDG_DATA_DIRS/glib-2.0/schemas/org.gnome.shell.extensions.workspace-indicator.gschema.xml
can be found, if that makes sense.

i.e if you have things in ~/.local/share/glib-2.0/schemas, you might write:

export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share"

Works for me. I refuse to install anything but packages system-wide,
so this comes in handy.


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