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
    Commented Oct 14, 2018 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
    Commented Oct 14, 2018 at 21:27

1 Answer 1


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

gsettings list-schemas | grep ^org.mate
  • It would be better to use gsettings list-schemas | grep ^org\.mate or with grep ^org[.]mate. Though I do doubt you'll have schemas beginning with something like orgzmate or org-mate, these edge/corner cases can make for difficult debugging. Commented Jun 27, 2023 at 18:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .