WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas  (Read 5686 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2133
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: [Select]
GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
so I did
Code: [Select]
sudo ln -s /apps/gtk3/share/glib-2.0/schemas/* /usr/local/share/glib-2.0/schemas/
and
Code: [Select]
sudo /usr/local/tce.installed/gsettings-desktop-schemas
and it works
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9668
Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
« Reply #1 on: July 23, 2012, 07:10:59 PM »
Have you exported XDG_DATA_DIRS in your wrapper? 

export XDG_DATA_DIRS=/apps/gtk3/share


Offline jls

  • Hero Member
  • *****
  • Posts: 2133
Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
« Reply #2 on: July 24, 2012, 02:51:32 PM »
with
Code: [Select]
export XDG_DATA_DIRS=/apps/gtk3/shareI get
Code: [Select]
(tracker-preferences-bin:13288): GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Tracker.Miner.Files' is not installed
with
Code: [Select]
export XDG_DATA_DIRS=/usr/local/share/the program starts but when I open the file chooser it crashes and I read:
Code: [Select]
(tracker-preferences-bin:13300): GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
but if I use
Code: [Select]
export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/everything works

PS my wrapper doesn't include the line:
Code: [Select]
export LD_LIBRARY_PATH="/apps/gtk3/lib"
dCore user

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 9668
Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
« Reply #3 on: July 24, 2012, 04:45:11 PM »
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.

Offline AmatCoder

  • Full Member
  • ***
  • Posts: 179
    • AmatCoder Projects
Re: gtk3 schemas needs to be in /usr/local/share/glib-2.0/schemas
« Reply #4 on: October 06, 2012, 04:58:42 PM »
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: [Select]
export XDG_DATA_DIRS=/apps/gtk3/share:/usr/local/share/everything works

Or am I missing something?