There is no xorg.conf. How does ubuntu store user configurations of screen resolution?












0















I am using Ubuntu 18.04 LTS and the default desktop environment. I can't find /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/ or similar files or directories. But, I can change the screen resolution, and the settings persist after I restart my computer. My question is: where does the system store the configurations of screen resolution set by a user? Are the configurations in a file somewhere?










share|improve this question









New contributor




Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I am using Ubuntu 18.04 LTS and the default desktop environment. I can't find /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/ or similar files or directories. But, I can change the screen resolution, and the settings persist after I restart my computer. My question is: where does the system store the configurations of screen resolution set by a user? Are the configurations in a file somewhere?










    share|improve this question









    New contributor




    Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am using Ubuntu 18.04 LTS and the default desktop environment. I can't find /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/ or similar files or directories. But, I can change the screen resolution, and the settings persist after I restart my computer. My question is: where does the system store the configurations of screen resolution set by a user? Are the configurations in a file somewhere?










      share|improve this question









      New contributor




      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am using Ubuntu 18.04 LTS and the default desktop environment. I can't find /etc/X11/xorg.conf or /etc/X11/xorg.conf.d/ or similar files or directories. But, I can change the screen resolution, and the settings persist after I restart my computer. My question is: where does the system store the configurations of screen resolution set by a user? Are the configurations in a file somewhere?







      xorg display-resolution






      share|improve this question









      New contributor




      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 2 hours ago







      Simon G













      New contributor




      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 4 hours ago









      Simon GSimon G

      11




      11




      New contributor




      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Simon G is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can check sudo ls /usr/share/X11/xorg.conf.d/ there you should find a bunch of files corresponding to your current video drivers etc.



          The second part of your question, regarding knowing what resultion to display: this will be dependent on your current desktop environment in use. One user can end up with different screen resolutions upon login if they have two different desktop environments like Gnome and XFCE installed for their Ubuntu distro.



          For example, I use XFCE4 and mine is in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. If you use something else, you will likely find the display config file somewhere in your $HOME folder, for gnome if I recall correctly it
          can be found by cat ~/.config/monitors.xml






          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
            });


            }
            });






            Simon G is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122374%2fthere-is-no-xorg-conf-how-does-ubuntu-store-user-configurations-of-screen-resol%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









            0














            You can check sudo ls /usr/share/X11/xorg.conf.d/ there you should find a bunch of files corresponding to your current video drivers etc.



            The second part of your question, regarding knowing what resultion to display: this will be dependent on your current desktop environment in use. One user can end up with different screen resolutions upon login if they have two different desktop environments like Gnome and XFCE installed for their Ubuntu distro.



            For example, I use XFCE4 and mine is in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. If you use something else, you will likely find the display config file somewhere in your $HOME folder, for gnome if I recall correctly it
            can be found by cat ~/.config/monitors.xml






            share|improve this answer




























              0














              You can check sudo ls /usr/share/X11/xorg.conf.d/ there you should find a bunch of files corresponding to your current video drivers etc.



              The second part of your question, regarding knowing what resultion to display: this will be dependent on your current desktop environment in use. One user can end up with different screen resolutions upon login if they have two different desktop environments like Gnome and XFCE installed for their Ubuntu distro.



              For example, I use XFCE4 and mine is in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. If you use something else, you will likely find the display config file somewhere in your $HOME folder, for gnome if I recall correctly it
              can be found by cat ~/.config/monitors.xml






              share|improve this answer


























                0












                0








                0







                You can check sudo ls /usr/share/X11/xorg.conf.d/ there you should find a bunch of files corresponding to your current video drivers etc.



                The second part of your question, regarding knowing what resultion to display: this will be dependent on your current desktop environment in use. One user can end up with different screen resolutions upon login if they have two different desktop environments like Gnome and XFCE installed for their Ubuntu distro.



                For example, I use XFCE4 and mine is in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. If you use something else, you will likely find the display config file somewhere in your $HOME folder, for gnome if I recall correctly it
                can be found by cat ~/.config/monitors.xml






                share|improve this answer













                You can check sudo ls /usr/share/X11/xorg.conf.d/ there you should find a bunch of files corresponding to your current video drivers etc.



                The second part of your question, regarding knowing what resultion to display: this will be dependent on your current desktop environment in use. One user can end up with different screen resolutions upon login if they have two different desktop environments like Gnome and XFCE installed for their Ubuntu distro.



                For example, I use XFCE4 and mine is in ~/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml. If you use something else, you will likely find the display config file somewhere in your $HOME folder, for gnome if I recall correctly it
                can be found by cat ~/.config/monitors.xml







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 hours ago









                BarBar1234BarBar1234

                1564




                1564






















                    Simon G is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Simon G is a new contributor. Be nice, and check out our Code of Conduct.













                    Simon G is a new contributor. Be nice, and check out our Code of Conduct.












                    Simon G is a new contributor. Be nice, and check out our Code of Conduct.
















                    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%2f1122374%2fthere-is-no-xorg-conf-how-does-ubuntu-store-user-configurations-of-screen-resol%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

                    GameSpot

                    connect to host localhost port 22: Connection refused

                    Getting a Wifi WPA2 wifi connection