How can I get Summary and Description of Schema using gsettings
I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?
Best,
Jürgen
gnome settings dconf gsettings
add a comment |
I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?
Best,
Jürgen
gnome settings dconf gsettings
add a comment |
I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?
Best,
Jürgen
gnome settings dconf gsettings
I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?
Best,
Jürgen
gnome settings dconf gsettings
gnome settings dconf gsettings
asked Mar 24 '13 at 13:43
Jürgen FuchsbergerJürgen Fuchsberger
513
513
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.
However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.
You'll requiere Git and git xsltproc (library that it uses to read the gschema information)
sudo apt install git xsltproc
Obtain the program with:
git clone git://github.com/jmatsuzawa/gsettings-info.git
cd gsettings-info
Now you can run the script
./gsettings-info <command>
You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.
If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.
You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.
To find out details about the particular keys of the chosen schema, enter:
./gsettings-info desc org.gnome.gnumeric.autocorrect
which returns:
init-caps: Autocorrect initial caps
init-caps-list: Autocorrect initial caps
first-letter: The autocorrect engine does not correct the initial caps for words in this list.
first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
names-of-days: Autocorrect names of days
replace: Autocorrect replace
To show defaults and information for a particular key, use:
./gsettings-info show org.gnome.gnumeric.autocorrect init-caps
which returns:
KEY: init-caps
TYPE: b
SUMMARY: Autocorrect initial caps
DESCRIPTION: Autocorrect initial caps
DEFAULT: true
This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f271886%2fhow-can-i-get-summary-and-description-of-schema-using-gsettings%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.
However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.
You'll requiere Git and git xsltproc (library that it uses to read the gschema information)
sudo apt install git xsltproc
Obtain the program with:
git clone git://github.com/jmatsuzawa/gsettings-info.git
cd gsettings-info
Now you can run the script
./gsettings-info <command>
You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.
If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.
You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.
To find out details about the particular keys of the chosen schema, enter:
./gsettings-info desc org.gnome.gnumeric.autocorrect
which returns:
init-caps: Autocorrect initial caps
init-caps-list: Autocorrect initial caps
first-letter: The autocorrect engine does not correct the initial caps for words in this list.
first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
names-of-days: Autocorrect names of days
replace: Autocorrect replace
To show defaults and information for a particular key, use:
./gsettings-info show org.gnome.gnumeric.autocorrect init-caps
which returns:
KEY: init-caps
TYPE: b
SUMMARY: Autocorrect initial caps
DESCRIPTION: Autocorrect initial caps
DEFAULT: true
This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.
add a comment |
It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.
However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.
You'll requiere Git and git xsltproc (library that it uses to read the gschema information)
sudo apt install git xsltproc
Obtain the program with:
git clone git://github.com/jmatsuzawa/gsettings-info.git
cd gsettings-info
Now you can run the script
./gsettings-info <command>
You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.
If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.
You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.
To find out details about the particular keys of the chosen schema, enter:
./gsettings-info desc org.gnome.gnumeric.autocorrect
which returns:
init-caps: Autocorrect initial caps
init-caps-list: Autocorrect initial caps
first-letter: The autocorrect engine does not correct the initial caps for words in this list.
first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
names-of-days: Autocorrect names of days
replace: Autocorrect replace
To show defaults and information for a particular key, use:
./gsettings-info show org.gnome.gnumeric.autocorrect init-caps
which returns:
KEY: init-caps
TYPE: b
SUMMARY: Autocorrect initial caps
DESCRIPTION: Autocorrect initial caps
DEFAULT: true
This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.
add a comment |
It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.
However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.
You'll requiere Git and git xsltproc (library that it uses to read the gschema information)
sudo apt install git xsltproc
Obtain the program with:
git clone git://github.com/jmatsuzawa/gsettings-info.git
cd gsettings-info
Now you can run the script
./gsettings-info <command>
You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.
If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.
You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.
To find out details about the particular keys of the chosen schema, enter:
./gsettings-info desc org.gnome.gnumeric.autocorrect
which returns:
init-caps: Autocorrect initial caps
init-caps-list: Autocorrect initial caps
first-letter: The autocorrect engine does not correct the initial caps for words in this list.
first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
names-of-days: Autocorrect names of days
replace: Autocorrect replace
To show defaults and information for a particular key, use:
./gsettings-info show org.gnome.gnumeric.autocorrect init-caps
which returns:
KEY: init-caps
TYPE: b
SUMMARY: Autocorrect initial caps
DESCRIPTION: Autocorrect initial caps
DEFAULT: true
This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.
It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.
However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.
You'll requiere Git and git xsltproc (library that it uses to read the gschema information)
sudo apt install git xsltproc
Obtain the program with:
git clone git://github.com/jmatsuzawa/gsettings-info.git
cd gsettings-info
Now you can run the script
./gsettings-info <command>
You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.
If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.
You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.
To find out details about the particular keys of the chosen schema, enter:
./gsettings-info desc org.gnome.gnumeric.autocorrect
which returns:
init-caps: Autocorrect initial caps
init-caps-list: Autocorrect initial caps
first-letter: The autocorrect engine does not correct the initial caps for words in this list.
first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
names-of-days: Autocorrect names of days
replace: Autocorrect replace
To show defaults and information for a particular key, use:
./gsettings-info show org.gnome.gnumeric.autocorrect init-caps
which returns:
KEY: init-caps
TYPE: b
SUMMARY: Autocorrect initial caps
DESCRIPTION: Autocorrect initial caps
DEFAULT: true
This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.
edited Jan 16 at 6:38
Pablo Bianchi
2,72821533
2,72821533
answered Mar 24 '13 at 19:14
user76204
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f271886%2fhow-can-i-get-summary-and-description-of-schema-using-gsettings%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown