When I do

$ gsettings list-schemas

I get lot of schemas but I am interested only in looking through schemas starting with


basically all schemas which have to do with MATE but there doesn't seem to be a way. The manpage doesn't have any examples.

I did try to do it blind like

$ gsettings list-schemas org.mate.*
  gsettings [--schemadir SCHEMADIR] list-schemas [--print-paths]

List the installed (non-relocatable) schemas

  SCHEMADIR A directory to search for additional schemas

can somebody suggest a better way?

To be more precise -

If I do -

$ gsettings list-schemas | wc -l

I have 217 schemas as of this writing, of this some will be like


and there may be others such as -




which I am not interested in atm.

I need a way to grep through the schemas without exposing any keys.

A dirty way is doing is -

$ gsettings list-keys org.mate. <TAB key>
Display all 132 possibilities? (y or n)

but I am guessing there is a better way.

  • Maybe I'm not understanding your question correctly, but have you tried gsettings list-recursively | grep -i mate? – DK Bose Oct 14 '18 at 15:25
  • The problem with that you command/code is that you get too much info. I just need info. on the top schemas only and then drill down on the schema/s I am interested in . I have made the question a bit more precise so hopefully it make it easier to understand. – shirish Oct 14 '18 at 21:27

This will return the mate schemas in the top level only.

gsettings list-schemas | grep ^org.mate

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.