WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Gconf  (Read 5139 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Gconf
« on: May 19, 2010, 07:04:56 PM »
Thanks to Arslan S. for:

Code: [Select]
Title: GConf-defaults-service.tcz
Description: GConf is a configuration database system, PolicyKit service.
Version: 2.28.1
Author: Havoc Pennington
Original-site: http://projects.gnome.org/gconf/
Copying-policy: GNU Library GPL-2
Extension_by: Arslan S.
Comments:       This extension is PPI compatible.
Size: 24K
Change-log:     2010/01/28 Original 2.28.0
Current: 2010/05/18 Updated to 2.28.1


Code: [Select]
Title: GConf-dev.tcz
Description: GConf is a configuration database system, development package.
Version: 2.28.1
Author: Havoc Pennington
Original-site: http://projects.gnome.org/gconf/
Copying-policy: GNU Library GPL-2
Extension_by: jpeters, Arslan S.
Comments:       This extension is PPI compatible.
Size: 136K
Change-log:     2009/05/26 Version 2.18.0.1 by jpeters
2009/10/29 Version 2.22.0.1 by jpeters
2010/01/28 Updated to 2.28.0 by Arslan S.
Current: 2010/01/28 Updated to 2.28.1 Arslan S.


Code: [Select]
Title: GConf-doc.tcz
Description: GConf is a configuration database system, documentation package.
Version: 2.28.1
Author: Havoc Pennington
Original-site: http://projects.gnome.org/gconf/
Copying-policy: GNU Library GPL-2
Extension_by: Arslan S.
Comments:       This extension is PPI compatible.
Size: 156K
Change-log:     2010/01/28 Original 2.28.0
Current: 2010/05/18 Updated to 2.28.1


Code: [Select]
Title: GConf-locale.tcz
Description: GConf is a configuration database system, locale package.
Version: 2.28.1
Author: Havoc Pennington
Original-site: http://projects.gnome.org/gconf/
Copying-policy: GNU Library GPL-2
Extension_by: Arslan S.
Comments:       This extension is PPI compatible.
Size: 1.9M
Change-log:     2010/01/28 Original 2.28.0
Current: 2010/05/18 Updated to 2.28.1


Code: [Select]
Title: GConf.tcz
Description: GConf is a configuration database system for storing application preferences.
Version: 2.28.1
Author: Havoc Pennington
Original-site: http://projects.gnome.org/gconf/
Copying-policy: GNU Library GPL-2
Extension_by: jpeters, Arslan S.
Comments:       This extension is PPI compatible.
Size: 200K
Change-log:     2009/05/26 Version 2.18.0.1 by jpeters
2009/10/29 Version 2.22.0.1 by jpeters
2010/01/28 Updated to 2.28.0 by Arslan S.
Current: 2010/01/28 Updated to 2.28.1 by Arslan S.
-added evoldap backend: libldap.tcz is optional dependency
-added a script: "update-gconf-database" to properly install schemas


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Gconf
« Reply #1 on: May 20, 2010, 01:00:41 AM »
Does the GConf-defaults-service extension provide only the policykit service or is there more in it than that (I had to comment out policykit in pulseaudio due to inconsistent behaviour)?

Ref:
Quote
script: "update-gconf-database" to properly install schemas

What change in functionality would be expected after this update?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Gconf
« Reply #2 on: May 20, 2010, 02:06:35 AM »
GConf-defaults-service provides regular users to edit system wide configurations by policykit rules, it is an optional extension even for gnome-desktop-base so i don't think pulseaudio requires it

whenever an extension has a schemas file (for example /usr/local/etc/gconf/schemas/extension.schemas) after install you have to execute this command
Code: [Select]
sudo update-gconf-database register /usr/local/etc/gconf/schemas/extension.schemas
upstream (or application, sometimes i edit those schemas files manually to change default key values :)) defaults are stored in /usr/local/etc/gconf/gconf.xml.defaults, for persistence either it should be added to backup or the command executed each time extension is loaded

i have added this script because it is required by gnome-desktop-base and upcoming extension compiz-gnome (also compiz-tinycore)
« Last Edit: May 20, 2010, 02:20:50 AM by Arslan S. »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Gconf
« Reply #3 on: May 20, 2010, 04:47:47 AM »
whenever an extension has a schemas file (for example /usr/local/etc/gconf/schemas/extension.schemas) after install you have to execute this command
Code: [Select]
sudo update-gconf-database register /usr/local/etc/gconf/schemas/extension.schemas

So you're saying that the above command should be executed rather than, for example:
Code: [Select]
$ sudo /usr/local/bin/gconftool-2 --makefile-install-rule /usr/local/etc/gconf/schemas/gstreamer-0.10.schemas
..or are both commands needed?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Gconf
« Reply #4 on: May 20, 2010, 06:50:07 AM »
they are exactly the same, update-gconf-database is just to simplify

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Gconf
« Reply #5 on: May 27, 2010, 09:40:45 AM »
Hmm - with the updated GConf, I see a difference in rhythmbox.

Several of the columns in the music display are collapsed to zero size and several of the plugin icons on the left hand side are missing - it's as if rhythmbox.schemas is not read?

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Gconf
« Reply #6 on: May 27, 2010, 03:07:09 PM »
Hmm - with the updated GConf, I see a difference in rhythmbox.

Several of the columns in the music display are collapsed to zero size and several of the plugin icons on the left hand side are missing - it's as if rhythmbox.schemas is not read?

i am investigating this issue, this is also confirmed for all applications that needs a schemas install

i have two solutions so far, one is to restart gconf server (edit: this is not the way gconf is designed by the developers, gconf server is launched when needed, closed when there is no activity, so users do not need to start stop gconf daemon)
Code: [Select]
gconftool-2 --shutdown
gconftool-2 --spawn

the other is to add usr/local/etc/gconf/gconf.xml.defaults/%gconf-tree.xml to backup and reboot computer
« Last Edit: May 27, 2010, 05:20:47 PM by Arslan S. »

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Gconf
« Reply #7 on: May 27, 2010, 05:10:41 PM »
on a clean base install there is no such problem, really weird

tested on tc 2.11 and 3.0alpha4

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14812
Re: Gconf
« Reply #8 on: May 28, 2010, 03:31:20 AM »
I didn't keep a copy of the old GConf extension - what start-up script was used with that one?

(the idea being to try and old and the new start-up script to see if there's a difference)

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
Re: Gconf
« Reply #9 on: May 28, 2010, 03:33:24 AM »
startup script just creates some directories and i think there is no change between 2.28.0 and 2.28.1 for the startup script