How can I get Summary and Description of Schema using gsettings












6















I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?



Best,
Jürgen










share|improve this question



























    6















    I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
    One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?



    Best,
    Jürgen










    share|improve this question

























      6












      6








      6


      1






      I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
      One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?



      Best,
      Jürgen










      share|improve this question














      I prefer to use gsettings over dconf-editor because dconf-editor lacks of command-line options to go to a schema directly (eg. I have to do "org - click - gnome -click - settings-daemon - click - plugins - click - power - click).
      One problem using gsettings is that I cannot see the "Description" and "Summary" fields that I get in dconf-editor. Is there any way to get these?



      Best,
      Jürgen







      gnome settings dconf gsettings






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 '13 at 13:43









      Jürgen FuchsbergerJürgen Fuchsberger

      513




      513






















          1 Answer
          1






          active

          oldest

          votes


















          5














          It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.



          However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.



          You'll requiere Git and git xsltproc (library that it uses to read the gschema information)



          sudo apt install git xsltproc


          Obtain the program with:



          git clone git://github.com/jmatsuzawa/gsettings-info.git
          cd gsettings-info


          Now you can run the script



          ./gsettings-info <command>


          You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.



          If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.



          You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.





          1. To find out details about the particular keys of the chosen schema, enter:



            ./gsettings-info desc org.gnome.gnumeric.autocorrect


            which returns:



            init-caps: Autocorrect initial caps
            init-caps-list: Autocorrect initial caps
            first-letter: The autocorrect engine does not correct the initial caps for words in this list.
            first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
            names-of-days: Autocorrect names of days
            replace: Autocorrect replace



          2. To show defaults and information for a particular key, use:



            ./gsettings-info show org.gnome.gnumeric.autocorrect init-caps


            which returns:



            KEY: init-caps
            TYPE: b
            SUMMARY: Autocorrect initial caps
            DESCRIPTION: Autocorrect initial caps
            DEFAULT: true



          This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.






          share|improve this answer

























            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',
            autoActivateHeartbeat: false,
            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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f271886%2fhow-can-i-get-summary-and-description-of-schema-using-gsettings%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.



            However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.



            You'll requiere Git and git xsltproc (library that it uses to read the gschema information)



            sudo apt install git xsltproc


            Obtain the program with:



            git clone git://github.com/jmatsuzawa/gsettings-info.git
            cd gsettings-info


            Now you can run the script



            ./gsettings-info <command>


            You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.



            If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.



            You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.





            1. To find out details about the particular keys of the chosen schema, enter:



              ./gsettings-info desc org.gnome.gnumeric.autocorrect


              which returns:



              init-caps: Autocorrect initial caps
              init-caps-list: Autocorrect initial caps
              first-letter: The autocorrect engine does not correct the initial caps for words in this list.
              first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
              names-of-days: Autocorrect names of days
              replace: Autocorrect replace



            2. To show defaults and information for a particular key, use:



              ./gsettings-info show org.gnome.gnumeric.autocorrect init-caps


              which returns:



              KEY: init-caps
              TYPE: b
              SUMMARY: Autocorrect initial caps
              DESCRIPTION: Autocorrect initial caps
              DEFAULT: true



            This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.






            share|improve this answer






























              5














              It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.



              However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.



              You'll requiere Git and git xsltproc (library that it uses to read the gschema information)



              sudo apt install git xsltproc


              Obtain the program with:



              git clone git://github.com/jmatsuzawa/gsettings-info.git
              cd gsettings-info


              Now you can run the script



              ./gsettings-info <command>


              You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.



              If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.



              You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.





              1. To find out details about the particular keys of the chosen schema, enter:



                ./gsettings-info desc org.gnome.gnumeric.autocorrect


                which returns:



                init-caps: Autocorrect initial caps
                init-caps-list: Autocorrect initial caps
                first-letter: The autocorrect engine does not correct the initial caps for words in this list.
                first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
                names-of-days: Autocorrect names of days
                replace: Autocorrect replace



              2. To show defaults and information for a particular key, use:



                ./gsettings-info show org.gnome.gnumeric.autocorrect init-caps


                which returns:



                KEY: init-caps
                TYPE: b
                SUMMARY: Autocorrect initial caps
                DESCRIPTION: Autocorrect initial caps
                DEFAULT: true



              This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.






              share|improve this answer




























                5












                5








                5







                It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.



                However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.



                You'll requiere Git and git xsltproc (library that it uses to read the gschema information)



                sudo apt install git xsltproc


                Obtain the program with:



                git clone git://github.com/jmatsuzawa/gsettings-info.git
                cd gsettings-info


                Now you can run the script



                ./gsettings-info <command>


                You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.



                If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.



                You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.





                1. To find out details about the particular keys of the chosen schema, enter:



                  ./gsettings-info desc org.gnome.gnumeric.autocorrect


                  which returns:



                  init-caps: Autocorrect initial caps
                  init-caps-list: Autocorrect initial caps
                  first-letter: The autocorrect engine does not correct the initial caps for words in this list.
                  first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
                  names-of-days: Autocorrect names of days
                  replace: Autocorrect replace



                2. To show defaults and information for a particular key, use:



                  ./gsettings-info show org.gnome.gnumeric.autocorrect init-caps


                  which returns:



                  KEY: init-caps
                  TYPE: b
                  SUMMARY: Autocorrect initial caps
                  DESCRIPTION: Autocorrect initial caps
                  DEFAULT: true



                This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.






                share|improve this answer















                It is not possible to do this with gsettings, as the option simply does not exist. There is extensive documentation on gsettings and the internals of the program at the official Gnome site.



                However, there is an interesting project at github called gsettings-info that does exactly what you ask. It is a script that queries information about either schemas and/or keys from the gschema information and returns the same data about them that is displayed when you use dconf-editor.



                You'll requiere Git and git xsltproc (library that it uses to read the gschema information)



                sudo apt install git xsltproc


                Obtain the program with:



                git clone git://github.com/jmatsuzawa/gsettings-info.git
                cd gsettings-info


                Now you can run the script



                ./gsettings-info <command>


                You can either run it from the home folder (and occasionally update it by going to the folder and using git pull), or install to the system or place it in your ~/bin folder so it is available by just entering gsettings-info.



                If you are running it from the downloaded folder, entering ./gsettings-info help will give all the options, as does the README and the information at the Github page.



                You can find much information on both the schemas and keys. Here is an example of how to find data about certain keys. This assumes it is run from the downloaded folder, and so ./ is needed to run the script.





                1. To find out details about the particular keys of the chosen schema, enter:



                  ./gsettings-info desc org.gnome.gnumeric.autocorrect


                  which returns:



                  init-caps: Autocorrect initial caps
                  init-caps-list: Autocorrect initial caps
                  first-letter: The autocorrect engine does not correct the initial caps for words in this list.
                  first-letter-list: The autocorrect engine does not correct the first letter for words in this list.
                  names-of-days: Autocorrect names of days
                  replace: Autocorrect replace



                2. To show defaults and information for a particular key, use:



                  ./gsettings-info show org.gnome.gnumeric.autocorrect init-caps


                  which returns:



                  KEY: init-caps
                  TYPE: b
                  SUMMARY: Autocorrect initial caps
                  DESCRIPTION: Autocorrect initial caps
                  DEFAULT: true



                This seems to be exactly what your are looking for, and is about the only way to show this information on the command-line instead of in dconf-editor.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 16 at 6:38









                Pablo Bianchi

                2,72821533




                2,72821533










                answered Mar 24 '13 at 19:14







                user76204





































                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f271886%2fhow-can-i-get-summary-and-description-of-schema-using-gsettings%23new-answer', 'question_page');
                    }
                    );

                    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







                    Popular posts from this blog

                    How to send String Array data to Server using php in android

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Is anime1.com a legal site for watching anime?