How to get Xresources background color

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to know that?










share|improve this question




























    1















    I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to know that?










    share|improve this question


























      1












      1








      1


      1






      I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to know that?










      share|improve this question
















      I tried with xrdb -query -all. But it does not give the Xterm default background color code. My background color is cornflower blue. But I could not see that in list. Can any one let me know how to know that?







      x11 xterm x-resources






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 7 '15 at 23:11









      Gilles

      533k12810701594




      533k12810701594










      asked Jul 7 '15 at 13:02









      user2815465user2815465

      113




      113




















          2 Answers
          2






          active

          oldest

          votes


















          1














          appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.



          The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).






          share|improve this answer






























            0














            X11 applications like xterm get their resources like the background colour from many places.
            xrdb only lists resources held by the X11 server.



            If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are



             /usr/share/X11/app-defaults/XTerm
            /usr/share/X11/app-defaults/XTerm-color
            ~/.Xdefaults


            If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.






            share|improve this answer






















              Your Answer








              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "106"
              ;
              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: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              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%2funix.stackexchange.com%2fquestions%2f214374%2fhow-to-get-xresources-background-color%23new-answer', 'question_page');

              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              1














              appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.



              The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).






              share|improve this answer



























                1














                appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.



                The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).






                share|improve this answer

























                  1












                  1








                  1







                  appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.



                  The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).






                  share|improve this answer













                  appres XTerm xterm shows all the resources read by Xterm when invoked under the name xterm. This includes both user customizations uploaded to the X server (visible with xrdb -query) and default files read on the client side by the application.



                  The first argument is the class name (conventionally starting with an uppercase letter; you can change it by running xterm -class OtherName). The second argument (optional) is the instance name (conventionally starting with a lowercase letter; you can change it by renaming the executable or passing the -name option).







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jul 8 '15 at 1:20









                  GillesGilles

                  533k12810701594




                  533k12810701594























                      0














                      X11 applications like xterm get their resources like the background colour from many places.
                      xrdb only lists resources held by the X11 server.



                      If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are



                       /usr/share/X11/app-defaults/XTerm
                      /usr/share/X11/app-defaults/XTerm-color
                      ~/.Xdefaults


                      If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.






                      share|improve this answer



























                        0














                        X11 applications like xterm get their resources like the background colour from many places.
                        xrdb only lists resources held by the X11 server.



                        If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are



                         /usr/share/X11/app-defaults/XTerm
                        /usr/share/X11/app-defaults/XTerm-color
                        ~/.Xdefaults


                        If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.






                        share|improve this answer

























                          0












                          0








                          0







                          X11 applications like xterm get their resources like the background colour from many places.
                          xrdb only lists resources held by the X11 server.



                          If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are



                           /usr/share/X11/app-defaults/XTerm
                          /usr/share/X11/app-defaults/XTerm-color
                          ~/.Xdefaults


                          If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.






                          share|improve this answer













                          X11 applications like xterm get their resources like the background colour from many places.
                          xrdb only lists resources held by the X11 server.



                          If you look in the man page for xterm you will find in the FILES section the names of files that are also read for resources. On my system they are



                           /usr/share/X11/app-defaults/XTerm
                          /usr/share/X11/app-defaults/XTerm-color
                          ~/.Xdefaults


                          If you want the names of the colours like CornflowerBlue, they are held in a text file. On my system they are in /usr/share/X11/rgb.txt.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 7 '15 at 14:03









                          meuhmeuh

                          31.9k11954




                          31.9k11954



























                              draft saved

                              draft discarded
















































                              Thanks for contributing an answer to Unix & Linux Stack Exchange!


                              • 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%2funix.stackexchange.com%2fquestions%2f214374%2fhow-to-get-xresources-background-color%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 check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?