I learned that the gsettings range shows all possible options for a the setting but when I do

gsettings range org.gnome.gedit.preferences.editor scheme

It does not show me options for schemes presented by GUI settings like

'Solarized Dark'
'Solarized Light'

Rather it shows me this

type s

Why? And how to see these options in terminal?

  • 1
    I suspect that range is only valid for enumerated (enum) types; in this case it's telling you that scheme takes a freeform string (type s) i.e. the schema itself doesn't contain a list of possible values. I don't know how the GUI preferences dialog gets them from. – steeldriver Jul 1 '17 at 21:53

The type s indicates that the parameter is a string. So, you can't use gsettings range

But a I found the available themes in /usr/share/gtksourceview-3.0/styles/

New contributor
Rodrigo Félix is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.