Off-Topic > SCM EXtensions

gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas

(1/1)

jls:
I compiled the latest version of tracker which needs gtk3 for configuring its preferences, so I installed gtk3.scm.
The preferences gui opens without problems but when  I open the file chooser window I get this error:

--- Code: ---GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed

--- End code ---
so I did

--- Code: ---sudo ln -s /apps/gtk3/share/glib-2.0/schemas/* /usr/local/share/glib-2.0/schemas/

--- End code ---
and

--- Code: ---sudo /usr/local/tce.installed/gsettings-desktop-schemas

--- End code ---
and it works

Jason W:
Have you exported XDG_DATA_DIRS in your wrapper? 

export XDG_DATA_DIRS=/apps/gtk3/share

jls:
with

--- Code: ---export XDG_DATA_DIRS=/apps/gtk3/share
--- End code ---
I get

--- Code: ---(tracker-preferences-bin:13288): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed

--- End code ---
with

--- Code: --- export XDG_DATA_DIRS=/usr/local/share/
--- End code ---
the program starts but when I open the file chooser it crashes and I read:

--- Code: ---(tracker-preferences-bin:13300): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed

--- End code ---
but if I use

--- Code: ---export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/
--- End code ---
everything works

PS my wrapper doesn't include the line:

--- Code: ---export LD_LIBRARY_PATH="/apps/gtk3/lib"
--- End code ---

Jason W:
Ok, the gtk3.scm extension may be missing something.  I will wait for Amatcoder to see this as he did the last build of gtk3.scm, and if not in a week we can pursue a fix.

AmatCoder:
Sorry for delay in replying...

Is tracker a tcz extension which has gtk3.scm as dependency?
Then you need a wrapper like .scm applications because tracker do not search schemas into /apps/gtk3/share/

As you point:

--- Quote ---but if I use

--- Code: ---export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/
--- End code ---
everything works

--- End quote ---

Or am I missing something?

Navigation

[0] Message Index

Go to full version