Re: git: d631449922df - main - compiz: disable gconf support

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Thu, 09 Jun 2022 07:07:25 UTC
On Wed, Jun 08, 2022 at 10:28:36PM -0700, Chris wrote:
> On 2022-06-08 18:47, Tomoaki AOKI wrote:
> > Hi.
> > 
> > How can I convert settings stored in gconf backend?
> > 
> > Maybe needs migrating to ~/.config/compiz/compizconfig/Default.ini,
> > for each user, but not sure how to do so.
> > The mapping of each entry on Default.ini are unclear.
> I approved the proposal as Gconf will no longer be available. I'm
> going to take a look at this to see what's possible. Then implement/document
> it. In the meantime you should be able to lock your current version of
> compiz*
> to maintain it's current functionality.
> If you (or anybody else) finds a good solution/alternative before I
> do. Please open a pr(1).
> 
> Chris

So be honnest I have no idea how to convert from gconf to anything else.
I have been working on decommisionning gconf and ended up on the compiz port,
which is why I did contact the maintainer.

Generally the way to migrate out of gconf is to to move to gsettings which is
the gconf replacement (part of glib) and there is a tool that exist for that: 
gsettings-data-convert(1) provided by the latest version of gconf, which should
do the trick. (note that apparently compiz do support gsettings if I trust
https://wiki.archlinux.org/title/Compiz (don't know if it needs a tweak in the
ports or not.

Another way: as far as I know gconf is using xml so it might be possible to write
an xslt which converts from this xml to a .ini, but not sure how trivial this is.

Best regards,
Bapt