There are certain gsettings keys that can have multiple values (e.g. a key like verbosity could be assigned to one error
, info
, or debug
). I want to be able to list them, but my dconf-editor
(0.7.3) can't view them. Is there an existing alternative?
-
1More information would be helpful. For instance, when you say dconf-editor can't view them, are you seeing errors? Do you think this is a bug with dconf-editor or is it just not used to view gsetting keys? Can it view normal keys, just not keys with multiple values? All of these are questions that would shed some light on your current question. Will using something like gconf overcome this problem? More detail will be infinitely useful. What are you trying to do, what exactly is failing etc.– rfelsburgApr 12, 2011 at 13:11
-
@rfelsburg Good points. I have updated my post to clarify.– tshepangApr 12, 2011 at 13:24
-
1BTW, gconf-editor also doesn't have this option.– tshepangApr 12, 2011 at 20:59
4 Answers
You could also do that in CLI with gsettings
:
gsettings range SCHEMA [:PATH] KEY
where
range
Queries the range of valid values for KEY.
In your case:
$ gsettings range org.freedesktop.Tracker.Store verbosity
enum
'errors'
'minimal'
'detailed'
'debug'
The newer version of dconf-editor
now lists the options.
In this example, if you click on debug
, you'll see a list of other available values. This screenshot is of version 0.10 of the tool.
A screenshoot from v0.19.3, shows options:
-
-
Sorry, I prefer my image. The theme is nicer and the image smaller (less noise, less wasted space). I am nit-picking of course.– tshepangFeb 6, 2014 at 23:25
-
Good news:
dconf-editor
still exists and works in Ubuntu 22.04 as well. Install it withsudo apt install dconf-editor
. Dec 19, 2022 at 23:51
Complement to the main answer on Dconf-Editor:
In version 3.18.2 - the drop down list of options contains less than what is listed in the more detailed description in the lower part of the window.
Example for org.gnome.desktop.wm.preferences action-right-click-titlebar
:
Menu, lower, shade and none options are not available in the drop-down list and cannot be selected with Dconf Editor - but they are listed in the lower part of the window inside the more detailed description.
To select those options, one could use the terminal - with something like
gsettings set org.gnome.desktop.wm.preferences action-right-click-titlebar 'minimize'
The newer version 3.28.0 fixes this - along with a new design.
-
@don_crissti - I was testing with 3.18.2 in an ubuntu16.04-based system. In ubuntu 18.04 I see the newer 3.28.0 version which is not affected.– user32012Apr 17, 2018 at 16:23
you can get it through /usr/share/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
or you have to use gconf-editor
.
-
see unix.stackexchange.com/questions/11164/… and unix.stackexchange.com/a/29518– tshepangMar 2, 2013 at 10:17