Well, looking for manners of manipulate dconf keys without a GUI I realize that, only when correctly setup a dconf
schema enables its key management through GSettings
CLI.
I also observed that ANY of GNOME extensions I've choose to use (from a 22-item wide list) have done this properly (thus not providing GSettings
manipulation). nevertheless, for example, it's just possible to query a dconf key type using gsettings range
command, since dconf in itself do not supply one operation for this purpose.
Question
How should a gschema.xml
file properly be 'installed' in a dconf
storage system?
If your extension have
gschema.xml
file.. and after successful installation of the extension, if you dont find the gsetting keys mentioned in the gschema.xml file.. It indicates that the gschema.xml file is not compiled while the installation process..In such case.. you need to manually compile the gschema.xml which is provided with the extension.
to compile the schemas.. first copy the
gschema.xml
provided by the extension, to any of the folder mentioned below..Where to copy in above two choices is self explanatory.. first one for local or per user based.. second one is global or admin based..
to compile the schemas.. run the below command from the any directory mentioned above.
Example:
As a local user
for global or as a Admin
Note that, In a default installation
$HOME/.local/share/glib-2.0/schemas
will not be available so you need to create the directories first with below commandSimilarly when you delete the extension or you want to remove the gsetting keys..
Delete the file
gschema.xml
and then run theglib-compile-schemas
command.