How to reorder / sort profiles in FirefoxHow can I get Firefox to display MIME types in-browser?Problems with...

Professor forcing me to attend a conference, I can't afford even with 50% funding

Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?

What would be the most expensive material to an intergalactic society?

What is the purpose of a disclaimer like "this is not legal advice"?

Are all players supposed to be able to see each others' character sheets?

Smooth vector fields on a surface modulo diffeomorphisms

What is better: yes / no radio, or simple checkbox?

Locked Away- What am I?

How do you make a gun that shoots melee weapons and/or swords?

Can I negotiate a patent idea for a raise, under French law?

Why aren't there more Gauls like Obelix?

What passages of Adi Shankaracharya’s Brahmasutra Bhashya does Sudarshana Suri cite?

Is it a Cyclops number? "Nobody" knows!

Can't make sense of a paragraph from Lovecraft

Are small insurances worth it?

Do Paladin Auras of Differing Oaths Stack?

What is Tony Stark injecting into himself in Iron Man 3?

Is divide-by-zero a security vulnerability?

Why does Central Limit Theorem break down in my simulation?

How exactly does an Ethernet collision happen in the cable, since nodes use different circuits for Tx and Rx?

Cycles on the torus

Leveling the sagging side of the home

Why restrict private health insurance?

Should we avoid writing fiction about historical events without extensive research?



How to reorder / sort profiles in Firefox


How can I get Firefox to display MIME types in-browser?Problems with Firefox and roaming profilesfirefox proxy switchingFirefox dynamic default preference configurationFirefox Doubt in LANDisable Certain Firefox Plugins System-wide by DefaultDisable Full-Screen Browsing in Firefox - for eternityhow to block mailto in firefox running on windows 10Firefox ESR 52.5.2 Auto Enable Add-On













1















Recently I have been more and more using profiles in Firefox.



I have one for every member of the family, then some for proxied firefoxes (tor, i2p, freenet), then a "guest" default profile, and several profiles for development purposes.



Soooo, profile management starts to become important. And the very first problem I have, is to reorder them, for instance in this order :



Personal
Girlfriend
Children
Dev1
Dev2
Dev3
Testing
Freenet
Tor
etc ...


So, is there an addon, a trick to have that ordering ? I guess the other way round is to use gnome / mate, etc. menu options to start those profiles and manage them from there. But I'm now looking for a Firefox-only solution.










share|improve this question



























    1















    Recently I have been more and more using profiles in Firefox.



    I have one for every member of the family, then some for proxied firefoxes (tor, i2p, freenet), then a "guest" default profile, and several profiles for development purposes.



    Soooo, profile management starts to become important. And the very first problem I have, is to reorder them, for instance in this order :



    Personal
    Girlfriend
    Children
    Dev1
    Dev2
    Dev3
    Testing
    Freenet
    Tor
    etc ...


    So, is there an addon, a trick to have that ordering ? I guess the other way round is to use gnome / mate, etc. menu options to start those profiles and manage them from there. But I'm now looking for a Firefox-only solution.










    share|improve this question

























      1












      1








      1








      Recently I have been more and more using profiles in Firefox.



      I have one for every member of the family, then some for proxied firefoxes (tor, i2p, freenet), then a "guest" default profile, and several profiles for development purposes.



      Soooo, profile management starts to become important. And the very first problem I have, is to reorder them, for instance in this order :



      Personal
      Girlfriend
      Children
      Dev1
      Dev2
      Dev3
      Testing
      Freenet
      Tor
      etc ...


      So, is there an addon, a trick to have that ordering ? I guess the other way round is to use gnome / mate, etc. menu options to start those profiles and manage them from there. But I'm now looking for a Firefox-only solution.










      share|improve this question














      Recently I have been more and more using profiles in Firefox.



      I have one for every member of the family, then some for proxied firefoxes (tor, i2p, freenet), then a "guest" default profile, and several profiles for development purposes.



      Soooo, profile management starts to become important. And the very first problem I have, is to reorder them, for instance in this order :



      Personal
      Girlfriend
      Children
      Dev1
      Dev2
      Dev3
      Testing
      Freenet
      Tor
      etc ...


      So, is there an addon, a trick to have that ordering ? I guess the other way round is to use gnome / mate, etc. menu options to start those profiles and manage them from there. But I'm now looking for a Firefox-only solution.







      firefox






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 21 '17 at 13:44









      Joel.OJoel.O

      23427




      23427






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Ok, after testing many addons, I found a way to reorder my profiles. It is not in an addon (should be main feature in Firefox, but anyway...).



          The trick is to edit your profiles.ini file. It is located, in linux, in ~/.mozilla/firefox/profiles.ini.



          First, backup:



          cp ~/.mozilla/firefox/profiles.ini ~/.mozilla/firefox/profiles.ini.bak


          Second, edit:



          vim ~/.mozilla/firefox/profiles.ini


          You can then copy and paste the lines in order to have this the order you want :



          [General]
          StartWithLastProfile=1

          [Profile0]
          Name=Default
          IsRelative=1
          Path=fhsdjsufh.Default
          Default=1

          [Profile1]
          Name=Myself
          IsRelative=1
          Path=dfhfkvldk.default

          [Profile2]
          Name=Children
          IsRelative=1
          Path=kfmfpoernv.Children

          [Profile3]
          Name=Friends
          IsRelative=1
          Path=fjvovbswk.Friends


          I don't know if this is the best way, but it works. Please care to keep the formatting and titling as they are, just copy the lines between the [Profilex] titles.



          Source : Mozillazine






          share|improve this answer































            0














            I also use a lot of profiles. I use MozBackup to backup a base profile
            with addons I like. I restore that base onto profiles I later create using
            the popup when I run firefox.exe -P -no-remote.



            I haven't found a way to sort the profile list in that popup in either Firefox
            nor MozBackup so I wrote a python script that sorts the entries by name in profiles.ini.



            I'm on Windows but I use the Linux subsystem with Debian flavor to run this script.
            To install python 3.6:



            apt-get install curl git build-essential zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev
            curl https://pyenv.run | bash
            pyenv install 3.6.8
            pyenv local 3.6.8


            Here is the script:



            #!/usr/bin/env python3.6

            import configparser
            import re

            config = configparser.ConfigParser()
            config.optionxform = str
            # this option is mandatory as list in popup will be blank
            # if we let configparser default to lowercase option key.
            config.read('profiles.ini')

            nconfig = configparser.ConfigParser()
            nconfig.optionxform = str
            nconfig['General'] = config['General']

            profiles = [section for section in config.sections() if re.match('^Profile', section)]
            sorted_profiles = sorted(profiles, key=lambda profile: config[profile]['Name'])

            for idx, profile in enumerate(sorted_profiles):
            nconfig[f"Profile{idx}"] = config[profile]
            # dict are sorted in python 3.6
            # it seems profiles don't need to be renamed,
            # but let's fake we created them in order anyway.

            with open('profiles.ini.new', 'w') as f:
            nconfig.write(f, space_around_delimiters=False)





            share|improve this answer








            New contributor




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




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "2"
              };
              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%2fserverfault.com%2fquestions%2f833933%2fhow-to-reorder-sort-profiles-in-firefox%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














              Ok, after testing many addons, I found a way to reorder my profiles. It is not in an addon (should be main feature in Firefox, but anyway...).



              The trick is to edit your profiles.ini file. It is located, in linux, in ~/.mozilla/firefox/profiles.ini.



              First, backup:



              cp ~/.mozilla/firefox/profiles.ini ~/.mozilla/firefox/profiles.ini.bak


              Second, edit:



              vim ~/.mozilla/firefox/profiles.ini


              You can then copy and paste the lines in order to have this the order you want :



              [General]
              StartWithLastProfile=1

              [Profile0]
              Name=Default
              IsRelative=1
              Path=fhsdjsufh.Default
              Default=1

              [Profile1]
              Name=Myself
              IsRelative=1
              Path=dfhfkvldk.default

              [Profile2]
              Name=Children
              IsRelative=1
              Path=kfmfpoernv.Children

              [Profile3]
              Name=Friends
              IsRelative=1
              Path=fjvovbswk.Friends


              I don't know if this is the best way, but it works. Please care to keep the formatting and titling as they are, just copy the lines between the [Profilex] titles.



              Source : Mozillazine






              share|improve this answer




























                1














                Ok, after testing many addons, I found a way to reorder my profiles. It is not in an addon (should be main feature in Firefox, but anyway...).



                The trick is to edit your profiles.ini file. It is located, in linux, in ~/.mozilla/firefox/profiles.ini.



                First, backup:



                cp ~/.mozilla/firefox/profiles.ini ~/.mozilla/firefox/profiles.ini.bak


                Second, edit:



                vim ~/.mozilla/firefox/profiles.ini


                You can then copy and paste the lines in order to have this the order you want :



                [General]
                StartWithLastProfile=1

                [Profile0]
                Name=Default
                IsRelative=1
                Path=fhsdjsufh.Default
                Default=1

                [Profile1]
                Name=Myself
                IsRelative=1
                Path=dfhfkvldk.default

                [Profile2]
                Name=Children
                IsRelative=1
                Path=kfmfpoernv.Children

                [Profile3]
                Name=Friends
                IsRelative=1
                Path=fjvovbswk.Friends


                I don't know if this is the best way, but it works. Please care to keep the formatting and titling as they are, just copy the lines between the [Profilex] titles.



                Source : Mozillazine






                share|improve this answer


























                  1












                  1








                  1







                  Ok, after testing many addons, I found a way to reorder my profiles. It is not in an addon (should be main feature in Firefox, but anyway...).



                  The trick is to edit your profiles.ini file. It is located, in linux, in ~/.mozilla/firefox/profiles.ini.



                  First, backup:



                  cp ~/.mozilla/firefox/profiles.ini ~/.mozilla/firefox/profiles.ini.bak


                  Second, edit:



                  vim ~/.mozilla/firefox/profiles.ini


                  You can then copy and paste the lines in order to have this the order you want :



                  [General]
                  StartWithLastProfile=1

                  [Profile0]
                  Name=Default
                  IsRelative=1
                  Path=fhsdjsufh.Default
                  Default=1

                  [Profile1]
                  Name=Myself
                  IsRelative=1
                  Path=dfhfkvldk.default

                  [Profile2]
                  Name=Children
                  IsRelative=1
                  Path=kfmfpoernv.Children

                  [Profile3]
                  Name=Friends
                  IsRelative=1
                  Path=fjvovbswk.Friends


                  I don't know if this is the best way, but it works. Please care to keep the formatting and titling as they are, just copy the lines between the [Profilex] titles.



                  Source : Mozillazine






                  share|improve this answer













                  Ok, after testing many addons, I found a way to reorder my profiles. It is not in an addon (should be main feature in Firefox, but anyway...).



                  The trick is to edit your profiles.ini file. It is located, in linux, in ~/.mozilla/firefox/profiles.ini.



                  First, backup:



                  cp ~/.mozilla/firefox/profiles.ini ~/.mozilla/firefox/profiles.ini.bak


                  Second, edit:



                  vim ~/.mozilla/firefox/profiles.ini


                  You can then copy and paste the lines in order to have this the order you want :



                  [General]
                  StartWithLastProfile=1

                  [Profile0]
                  Name=Default
                  IsRelative=1
                  Path=fhsdjsufh.Default
                  Default=1

                  [Profile1]
                  Name=Myself
                  IsRelative=1
                  Path=dfhfkvldk.default

                  [Profile2]
                  Name=Children
                  IsRelative=1
                  Path=kfmfpoernv.Children

                  [Profile3]
                  Name=Friends
                  IsRelative=1
                  Path=fjvovbswk.Friends


                  I don't know if this is the best way, but it works. Please care to keep the formatting and titling as they are, just copy the lines between the [Profilex] titles.



                  Source : Mozillazine







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 21 '17 at 14:05









                  Joel.OJoel.O

                  23427




                  23427

























                      0














                      I also use a lot of profiles. I use MozBackup to backup a base profile
                      with addons I like. I restore that base onto profiles I later create using
                      the popup when I run firefox.exe -P -no-remote.



                      I haven't found a way to sort the profile list in that popup in either Firefox
                      nor MozBackup so I wrote a python script that sorts the entries by name in profiles.ini.



                      I'm on Windows but I use the Linux subsystem with Debian flavor to run this script.
                      To install python 3.6:



                      apt-get install curl git build-essential zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev
                      curl https://pyenv.run | bash
                      pyenv install 3.6.8
                      pyenv local 3.6.8


                      Here is the script:



                      #!/usr/bin/env python3.6

                      import configparser
                      import re

                      config = configparser.ConfigParser()
                      config.optionxform = str
                      # this option is mandatory as list in popup will be blank
                      # if we let configparser default to lowercase option key.
                      config.read('profiles.ini')

                      nconfig = configparser.ConfigParser()
                      nconfig.optionxform = str
                      nconfig['General'] = config['General']

                      profiles = [section for section in config.sections() if re.match('^Profile', section)]
                      sorted_profiles = sorted(profiles, key=lambda profile: config[profile]['Name'])

                      for idx, profile in enumerate(sorted_profiles):
                      nconfig[f"Profile{idx}"] = config[profile]
                      # dict are sorted in python 3.6
                      # it seems profiles don't need to be renamed,
                      # but let's fake we created them in order anyway.

                      with open('profiles.ini.new', 'w') as f:
                      nconfig.write(f, space_around_delimiters=False)





                      share|improve this answer








                      New contributor




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

























                        0














                        I also use a lot of profiles. I use MozBackup to backup a base profile
                        with addons I like. I restore that base onto profiles I later create using
                        the popup when I run firefox.exe -P -no-remote.



                        I haven't found a way to sort the profile list in that popup in either Firefox
                        nor MozBackup so I wrote a python script that sorts the entries by name in profiles.ini.



                        I'm on Windows but I use the Linux subsystem with Debian flavor to run this script.
                        To install python 3.6:



                        apt-get install curl git build-essential zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev
                        curl https://pyenv.run | bash
                        pyenv install 3.6.8
                        pyenv local 3.6.8


                        Here is the script:



                        #!/usr/bin/env python3.6

                        import configparser
                        import re

                        config = configparser.ConfigParser()
                        config.optionxform = str
                        # this option is mandatory as list in popup will be blank
                        # if we let configparser default to lowercase option key.
                        config.read('profiles.ini')

                        nconfig = configparser.ConfigParser()
                        nconfig.optionxform = str
                        nconfig['General'] = config['General']

                        profiles = [section for section in config.sections() if re.match('^Profile', section)]
                        sorted_profiles = sorted(profiles, key=lambda profile: config[profile]['Name'])

                        for idx, profile in enumerate(sorted_profiles):
                        nconfig[f"Profile{idx}"] = config[profile]
                        # dict are sorted in python 3.6
                        # it seems profiles don't need to be renamed,
                        # but let's fake we created them in order anyway.

                        with open('profiles.ini.new', 'w') as f:
                        nconfig.write(f, space_around_delimiters=False)





                        share|improve this answer








                        New contributor




                        François Drolet 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 also use a lot of profiles. I use MozBackup to backup a base profile
                          with addons I like. I restore that base onto profiles I later create using
                          the popup when I run firefox.exe -P -no-remote.



                          I haven't found a way to sort the profile list in that popup in either Firefox
                          nor MozBackup so I wrote a python script that sorts the entries by name in profiles.ini.



                          I'm on Windows but I use the Linux subsystem with Debian flavor to run this script.
                          To install python 3.6:



                          apt-get install curl git build-essential zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev
                          curl https://pyenv.run | bash
                          pyenv install 3.6.8
                          pyenv local 3.6.8


                          Here is the script:



                          #!/usr/bin/env python3.6

                          import configparser
                          import re

                          config = configparser.ConfigParser()
                          config.optionxform = str
                          # this option is mandatory as list in popup will be blank
                          # if we let configparser default to lowercase option key.
                          config.read('profiles.ini')

                          nconfig = configparser.ConfigParser()
                          nconfig.optionxform = str
                          nconfig['General'] = config['General']

                          profiles = [section for section in config.sections() if re.match('^Profile', section)]
                          sorted_profiles = sorted(profiles, key=lambda profile: config[profile]['Name'])

                          for idx, profile in enumerate(sorted_profiles):
                          nconfig[f"Profile{idx}"] = config[profile]
                          # dict are sorted in python 3.6
                          # it seems profiles don't need to be renamed,
                          # but let's fake we created them in order anyway.

                          with open('profiles.ini.new', 'w') as f:
                          nconfig.write(f, space_around_delimiters=False)





                          share|improve this answer








                          New contributor




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










                          I also use a lot of profiles. I use MozBackup to backup a base profile
                          with addons I like. I restore that base onto profiles I later create using
                          the popup when I run firefox.exe -P -no-remote.



                          I haven't found a way to sort the profile list in that popup in either Firefox
                          nor MozBackup so I wrote a python script that sorts the entries by name in profiles.ini.



                          I'm on Windows but I use the Linux subsystem with Debian flavor to run this script.
                          To install python 3.6:



                          apt-get install curl git build-essential zlib1g-dev libbz2-dev libreadline-dev libssl-dev libsqlite3-dev
                          curl https://pyenv.run | bash
                          pyenv install 3.6.8
                          pyenv local 3.6.8


                          Here is the script:



                          #!/usr/bin/env python3.6

                          import configparser
                          import re

                          config = configparser.ConfigParser()
                          config.optionxform = str
                          # this option is mandatory as list in popup will be blank
                          # if we let configparser default to lowercase option key.
                          config.read('profiles.ini')

                          nconfig = configparser.ConfigParser()
                          nconfig.optionxform = str
                          nconfig['General'] = config['General']

                          profiles = [section for section in config.sections() if re.match('^Profile', section)]
                          sorted_profiles = sorted(profiles, key=lambda profile: config[profile]['Name'])

                          for idx, profile in enumerate(sorted_profiles):
                          nconfig[f"Profile{idx}"] = config[profile]
                          # dict are sorted in python 3.6
                          # it seems profiles don't need to be renamed,
                          # but let's fake we created them in order anyway.

                          with open('profiles.ini.new', 'w') as f:
                          nconfig.write(f, space_around_delimiters=False)






                          share|improve this answer








                          New contributor




                          François Drolet 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 answer



                          share|improve this answer






                          New contributor




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









                          answered 12 mins ago









                          François DroletFrançois Drolet

                          1011




                          1011




                          New contributor




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





                          New contributor





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






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






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Server Fault!


                              • 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%2fserverfault.com%2fquestions%2f833933%2fhow-to-reorder-sort-profiles-in-firefox%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

                              As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                              Список ссавців Італії Природоохоронні статуси | Список |...

                              Українські прізвища Зміст Історичні відомості |...