How to search dconf for keys or values?
up vote
20
down vote
favorite
I loaded dconf-editor
. There is no menu, but I did discover that you can press Ctrl+F
and enter a search term.
However, I do not know what Ctrl+F
actually searches. When I enter a term (e.g. panel
or unity-greeter
), I receive no results.
I have also tried gsettings
at the command line, but with no luck whatever options I have tried; I must be doing it incorrectly.
How do I search for a specific key or value within dconf?
dconf
add a comment |
up vote
20
down vote
favorite
I loaded dconf-editor
. There is no menu, but I did discover that you can press Ctrl+F
and enter a search term.
However, I do not know what Ctrl+F
actually searches. When I enter a term (e.g. panel
or unity-greeter
), I receive no results.
I have also tried gsettings
at the command line, but with no luck whatever options I have tried; I must be doing it incorrectly.
How do I search for a specific key or value within dconf?
dconf
add a comment |
up vote
20
down vote
favorite
up vote
20
down vote
favorite
I loaded dconf-editor
. There is no menu, but I did discover that you can press Ctrl+F
and enter a search term.
However, I do not know what Ctrl+F
actually searches. When I enter a term (e.g. panel
or unity-greeter
), I receive no results.
I have also tried gsettings
at the command line, but with no luck whatever options I have tried; I must be doing it incorrectly.
How do I search for a specific key or value within dconf?
dconf
I loaded dconf-editor
. There is no menu, but I did discover that you can press Ctrl+F
and enter a search term.
However, I do not know what Ctrl+F
actually searches. When I enter a term (e.g. panel
or unity-greeter
), I receive no results.
I have also tried gsettings
at the command line, but with no luck whatever options I have tried; I must be doing it incorrectly.
How do I search for a specific key or value within dconf?
dconf
dconf
edited Aug 6 '12 at 17:42
Anwar
55.6k22143252
55.6k22143252
asked Jul 29 '12 at 16:30
Paddy Landau
3,09422445
3,09422445
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
24
down vote
accepted
First, the search function in dconf-editor
searches only among those things which are directly visible on screen or reachable by scrolling (note that the search field looks just like the one in other applications like Nautilus).
I know of no other graphical tool you could use. So you probably need to use the command line tool dconf
(also from the package dconf-tools
).
Specifically for search recursively through the whole database (including keys and values) I would use this command:
dconf dump / | grep SEARCH-TERM
dump
basically gives you the whole database in an "Windows-Ini-File"-like format. For browsing through the database, use dconf list /PATH
.
As you've mentioned gsettings
, the equivalent search command there is:
gsettings list-recursively | grep SEARCH-TERM
However, this may not be what you want (for a search for unity
, this gives completely different results for me). Not sure what database is used here.
Edit: After reading this question, I noticed that dconf
shows you only the settings which are actually set in the database, not all possible settings like dconf-editor
. Apparently you can use gsettings list-schemas
to give you all possible settings.
1
To add your answer, Phillip, I usedless
with search instead ofgrep
, so that I could find the sub-settings:dconf dump / | less
. Thank you.
– Paddy Landau
Aug 7 '12 at 13:23
add a comment |
up vote
0
down vote
dconf read <KEY>
For example, to read the current wallpaper picture filename:
dconf read /org/mate/desktop/background/picture-filename
For a list of keys
dconf dump / > dconf.dump
You can then examine the text file dconf.dump
for the key you want to query. To construct the wallpaper query look to here :
[org/mate/desktop/background]
color-shading-type='vertical-gradient'
primary-color='rgb(88,145,188)'
picture-options='zoom'
picture-filename='yourwallpaperpicturefile.png' <<<
secondary-color='rgb(60,143,37)'
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',
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%2f169704%2fhow-to-search-dconf-for-keys-or-values%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
24
down vote
accepted
First, the search function in dconf-editor
searches only among those things which are directly visible on screen or reachable by scrolling (note that the search field looks just like the one in other applications like Nautilus).
I know of no other graphical tool you could use. So you probably need to use the command line tool dconf
(also from the package dconf-tools
).
Specifically for search recursively through the whole database (including keys and values) I would use this command:
dconf dump / | grep SEARCH-TERM
dump
basically gives you the whole database in an "Windows-Ini-File"-like format. For browsing through the database, use dconf list /PATH
.
As you've mentioned gsettings
, the equivalent search command there is:
gsettings list-recursively | grep SEARCH-TERM
However, this may not be what you want (for a search for unity
, this gives completely different results for me). Not sure what database is used here.
Edit: After reading this question, I noticed that dconf
shows you only the settings which are actually set in the database, not all possible settings like dconf-editor
. Apparently you can use gsettings list-schemas
to give you all possible settings.
1
To add your answer, Phillip, I usedless
with search instead ofgrep
, so that I could find the sub-settings:dconf dump / | less
. Thank you.
– Paddy Landau
Aug 7 '12 at 13:23
add a comment |
up vote
24
down vote
accepted
First, the search function in dconf-editor
searches only among those things which are directly visible on screen or reachable by scrolling (note that the search field looks just like the one in other applications like Nautilus).
I know of no other graphical tool you could use. So you probably need to use the command line tool dconf
(also from the package dconf-tools
).
Specifically for search recursively through the whole database (including keys and values) I would use this command:
dconf dump / | grep SEARCH-TERM
dump
basically gives you the whole database in an "Windows-Ini-File"-like format. For browsing through the database, use dconf list /PATH
.
As you've mentioned gsettings
, the equivalent search command there is:
gsettings list-recursively | grep SEARCH-TERM
However, this may not be what you want (for a search for unity
, this gives completely different results for me). Not sure what database is used here.
Edit: After reading this question, I noticed that dconf
shows you only the settings which are actually set in the database, not all possible settings like dconf-editor
. Apparently you can use gsettings list-schemas
to give you all possible settings.
1
To add your answer, Phillip, I usedless
with search instead ofgrep
, so that I could find the sub-settings:dconf dump / | less
. Thank you.
– Paddy Landau
Aug 7 '12 at 13:23
add a comment |
up vote
24
down vote
accepted
up vote
24
down vote
accepted
First, the search function in dconf-editor
searches only among those things which are directly visible on screen or reachable by scrolling (note that the search field looks just like the one in other applications like Nautilus).
I know of no other graphical tool you could use. So you probably need to use the command line tool dconf
(also from the package dconf-tools
).
Specifically for search recursively through the whole database (including keys and values) I would use this command:
dconf dump / | grep SEARCH-TERM
dump
basically gives you the whole database in an "Windows-Ini-File"-like format. For browsing through the database, use dconf list /PATH
.
As you've mentioned gsettings
, the equivalent search command there is:
gsettings list-recursively | grep SEARCH-TERM
However, this may not be what you want (for a search for unity
, this gives completely different results for me). Not sure what database is used here.
Edit: After reading this question, I noticed that dconf
shows you only the settings which are actually set in the database, not all possible settings like dconf-editor
. Apparently you can use gsettings list-schemas
to give you all possible settings.
First, the search function in dconf-editor
searches only among those things which are directly visible on screen or reachable by scrolling (note that the search field looks just like the one in other applications like Nautilus).
I know of no other graphical tool you could use. So you probably need to use the command line tool dconf
(also from the package dconf-tools
).
Specifically for search recursively through the whole database (including keys and values) I would use this command:
dconf dump / | grep SEARCH-TERM
dump
basically gives you the whole database in an "Windows-Ini-File"-like format. For browsing through the database, use dconf list /PATH
.
As you've mentioned gsettings
, the equivalent search command there is:
gsettings list-recursively | grep SEARCH-TERM
However, this may not be what you want (for a search for unity
, this gives completely different results for me). Not sure what database is used here.
Edit: After reading this question, I noticed that dconf
shows you only the settings which are actually set in the database, not all possible settings like dconf-editor
. Apparently you can use gsettings list-schemas
to give you all possible settings.
edited Apr 13 '17 at 12:24
Community♦
1
1
answered Aug 6 '12 at 18:11
Philipp Wendler
961629
961629
1
To add your answer, Phillip, I usedless
with search instead ofgrep
, so that I could find the sub-settings:dconf dump / | less
. Thank you.
– Paddy Landau
Aug 7 '12 at 13:23
add a comment |
1
To add your answer, Phillip, I usedless
with search instead ofgrep
, so that I could find the sub-settings:dconf dump / | less
. Thank you.
– Paddy Landau
Aug 7 '12 at 13:23
1
1
To add your answer, Phillip, I used
less
with search instead of grep
, so that I could find the sub-settings: dconf dump / | less
. Thank you.– Paddy Landau
Aug 7 '12 at 13:23
To add your answer, Phillip, I used
less
with search instead of grep
, so that I could find the sub-settings: dconf dump / | less
. Thank you.– Paddy Landau
Aug 7 '12 at 13:23
add a comment |
up vote
0
down vote
dconf read <KEY>
For example, to read the current wallpaper picture filename:
dconf read /org/mate/desktop/background/picture-filename
For a list of keys
dconf dump / > dconf.dump
You can then examine the text file dconf.dump
for the key you want to query. To construct the wallpaper query look to here :
[org/mate/desktop/background]
color-shading-type='vertical-gradient'
primary-color='rgb(88,145,188)'
picture-options='zoom'
picture-filename='yourwallpaperpicturefile.png' <<<
secondary-color='rgb(60,143,37)'
add a comment |
up vote
0
down vote
dconf read <KEY>
For example, to read the current wallpaper picture filename:
dconf read /org/mate/desktop/background/picture-filename
For a list of keys
dconf dump / > dconf.dump
You can then examine the text file dconf.dump
for the key you want to query. To construct the wallpaper query look to here :
[org/mate/desktop/background]
color-shading-type='vertical-gradient'
primary-color='rgb(88,145,188)'
picture-options='zoom'
picture-filename='yourwallpaperpicturefile.png' <<<
secondary-color='rgb(60,143,37)'
add a comment |
up vote
0
down vote
up vote
0
down vote
dconf read <KEY>
For example, to read the current wallpaper picture filename:
dconf read /org/mate/desktop/background/picture-filename
For a list of keys
dconf dump / > dconf.dump
You can then examine the text file dconf.dump
for the key you want to query. To construct the wallpaper query look to here :
[org/mate/desktop/background]
color-shading-type='vertical-gradient'
primary-color='rgb(88,145,188)'
picture-options='zoom'
picture-filename='yourwallpaperpicturefile.png' <<<
secondary-color='rgb(60,143,37)'
dconf read <KEY>
For example, to read the current wallpaper picture filename:
dconf read /org/mate/desktop/background/picture-filename
For a list of keys
dconf dump / > dconf.dump
You can then examine the text file dconf.dump
for the key you want to query. To construct the wallpaper query look to here :
[org/mate/desktop/background]
color-shading-type='vertical-gradient'
primary-color='rgb(88,145,188)'
picture-options='zoom'
picture-filename='yourwallpaperpicturefile.png' <<<
secondary-color='rgb(60,143,37)'
answered Dec 10 at 22:18
Stephen Boston
6992618
6992618
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f169704%2fhow-to-search-dconf-for-keys-or-values%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