What is the numbering convention in .conf files(inside a conf.d)?

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











up vote
0
down vote

favorite












Inside the xorg.conf.d/ for example, we have three files:



00-keyboard.conf 10-monitor.conf 30-touchpad.conf


I know that the 2-digit number determine the precedence that each file is read so 00-keyboard.conf is read before 10-monitor.conf.



But I noticed that documentation on different sites all seems to use the same convention, e.g., using 10-monitor.conf for monitor configurations.



So, what I want to know is if there are numbers mapped to certain devices or if is just a convention that everyone stick with and I can use whatever 2-digit number that I want (according to precedences, of course). And if they are mapped, where can I find them?



I have searched about it but everything I found just mention what I have just said and doesn't mention if I can use other numbers or not. Even the xorg.conf[5] man page does not mention anything.







share|improve this question























    up vote
    0
    down vote

    favorite












    Inside the xorg.conf.d/ for example, we have three files:



    00-keyboard.conf 10-monitor.conf 30-touchpad.conf


    I know that the 2-digit number determine the precedence that each file is read so 00-keyboard.conf is read before 10-monitor.conf.



    But I noticed that documentation on different sites all seems to use the same convention, e.g., using 10-monitor.conf for monitor configurations.



    So, what I want to know is if there are numbers mapped to certain devices or if is just a convention that everyone stick with and I can use whatever 2-digit number that I want (according to precedences, of course). And if they are mapped, where can I find them?



    I have searched about it but everything I found just mention what I have just said and doesn't mention if I can use other numbers or not. Even the xorg.conf[5] man page does not mention anything.







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Inside the xorg.conf.d/ for example, we have three files:



      00-keyboard.conf 10-monitor.conf 30-touchpad.conf


      I know that the 2-digit number determine the precedence that each file is read so 00-keyboard.conf is read before 10-monitor.conf.



      But I noticed that documentation on different sites all seems to use the same convention, e.g., using 10-monitor.conf for monitor configurations.



      So, what I want to know is if there are numbers mapped to certain devices or if is just a convention that everyone stick with and I can use whatever 2-digit number that I want (according to precedences, of course). And if they are mapped, where can I find them?



      I have searched about it but everything I found just mention what I have just said and doesn't mention if I can use other numbers or not. Even the xorg.conf[5] man page does not mention anything.







      share|improve this question











      Inside the xorg.conf.d/ for example, we have three files:



      00-keyboard.conf 10-monitor.conf 30-touchpad.conf


      I know that the 2-digit number determine the precedence that each file is read so 00-keyboard.conf is read before 10-monitor.conf.



      But I noticed that documentation on different sites all seems to use the same convention, e.g., using 10-monitor.conf for monitor configurations.



      So, what I want to know is if there are numbers mapped to certain devices or if is just a convention that everyone stick with and I can use whatever 2-digit number that I want (according to precedences, of course). And if they are mapped, where can I find them?



      I have searched about it but everything I found just mention what I have just said and doesn't mention if I can use other numbers or not. Even the xorg.conf[5] man page does not mention anything.









      share|improve this question










      share|improve this question




      share|improve this question









      asked Jul 4 at 5:55









      nocitus

      33




      33




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          There is no mapping to devices or anything like that. The numbering is only used to enforce an order, and you don’t even have to name your configuration files with a number at the start — it’s just easier to reason about order with numbers.



          So you can use any scheme you want.






          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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%2f453354%2fwhat-is-the-numbering-convention-in-conf-filesinside-a-conf-d%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            There is no mapping to devices or anything like that. The numbering is only used to enforce an order, and you don’t even have to name your configuration files with a number at the start — it’s just easier to reason about order with numbers.



            So you can use any scheme you want.






            share|improve this answer

























              up vote
              1
              down vote



              accepted










              There is no mapping to devices or anything like that. The numbering is only used to enforce an order, and you don’t even have to name your configuration files with a number at the start — it’s just easier to reason about order with numbers.



              So you can use any scheme you want.






              share|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                There is no mapping to devices or anything like that. The numbering is only used to enforce an order, and you don’t even have to name your configuration files with a number at the start — it’s just easier to reason about order with numbers.



                So you can use any scheme you want.






                share|improve this answer













                There is no mapping to devices or anything like that. The numbering is only used to enforce an order, and you don’t even have to name your configuration files with a number at the start — it’s just easier to reason about order with numbers.



                So you can use any scheme you want.







                share|improve this answer













                share|improve this answer



                share|improve this answer











                answered Jul 4 at 6:46









                Stephen Kitt

                139k22296359




                139k22296359






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453354%2fwhat-is-the-numbering-convention-in-conf-filesinside-a-conf-d%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay