ubuntu 17.10 & Firefox DPI Scaling












3














I'm using Ubuntu 17.10 on a Dell XPS 13 with a 3200x1800 screen and while most native applications seem to scale okay using the "Scale" option in my display settings, Firefox seems to render at a lower resolution and "scale up", causing all graphics and especially fonts to be blurry. Is there something I can do to fix this? It's nice that many/most programs behave, but frustrating that the programs I use 95% of the time (FF & Atom) scale so poorly.



Here's an example demonstrating the issue. FF and the settings app:



enter image description here










share|improve this question





























    3














    I'm using Ubuntu 17.10 on a Dell XPS 13 with a 3200x1800 screen and while most native applications seem to scale okay using the "Scale" option in my display settings, Firefox seems to render at a lower resolution and "scale up", causing all graphics and especially fonts to be blurry. Is there something I can do to fix this? It's nice that many/most programs behave, but frustrating that the programs I use 95% of the time (FF & Atom) scale so poorly.



    Here's an example demonstrating the issue. FF and the settings app:



    enter image description here










    share|improve this question



























      3












      3








      3


      1





      I'm using Ubuntu 17.10 on a Dell XPS 13 with a 3200x1800 screen and while most native applications seem to scale okay using the "Scale" option in my display settings, Firefox seems to render at a lower resolution and "scale up", causing all graphics and especially fonts to be blurry. Is there something I can do to fix this? It's nice that many/most programs behave, but frustrating that the programs I use 95% of the time (FF & Atom) scale so poorly.



      Here's an example demonstrating the issue. FF and the settings app:



      enter image description here










      share|improve this question















      I'm using Ubuntu 17.10 on a Dell XPS 13 with a 3200x1800 screen and while most native applications seem to scale okay using the "Scale" option in my display settings, Firefox seems to render at a lower resolution and "scale up", causing all graphics and especially fonts to be blurry. Is there something I can do to fix this? It's nice that many/most programs behave, but frustrating that the programs I use 95% of the time (FF & Atom) scale so poorly.



      Here's an example demonstrating the issue. FF and the settings app:



      enter image description here







      firefox fonts display-resolution 17.10 atom






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 3 '17 at 3:31









      Videonauth

      23.8k126898




      23.8k126898










      asked Nov 3 '17 at 3:22









      Plaid Phantom

      1612




      1612






















          2 Answers
          2






          active

          oldest

          votes


















          4














          Firefox has its own DPI mode, not always plays well in a desktop environment whit modified DPI, yet the solution is simple:



          First go to a firefox tab and type: "about:config", next in the search bar type: "layout.css.devPixelsPerPx" now change the Value to what you like.



          If the decorations or the text is blurry, you may want to use a decimal value to make firefox more aesthetic, go for ".7". Or to make it bigger to a 2 or 1.5.



          My screen is 15 inches 1080p; a value of 1.3 worked fine for me. The info came from this page:



          https://fedoramagazine.org/how-to-get-firefox-looking-right-on-a-high-dpi-display-and-fedora/






          share|improve this answer























          • Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
            – Videonauth
            Nov 3 '17 at 5:47










          • that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
            – Plaid Phantom
            Nov 4 '17 at 5:22












          • try change devPixelsPerPx to 1.0 or -1.0
            – Eduardo Montero
            Nov 4 '17 at 21:10



















          0














          I was happy to scale the browser UI chrome as well as the page content, so layout.css.devPixelsPerPx worked for me.



          But if you want to change the default zoom of the page content only, without affecting the UI at all, I recommend the Zoom Page WE extension.



          You will probably want to open Menu > Addons > Zoom Page WE > Zoom Levels & Font Size and set Default Full Level to your desired zoom, e.g. 120%.



          This will set the default zoom for newly opened websites, but if you adjust the page zoom then that value will be remembered for the current site in future. (Unless of course you have set browser.zoom.siteSpecific: false)






          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%2f972377%2fubuntu-17-10-firefox-dpi-scaling%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









            4














            Firefox has its own DPI mode, not always plays well in a desktop environment whit modified DPI, yet the solution is simple:



            First go to a firefox tab and type: "about:config", next in the search bar type: "layout.css.devPixelsPerPx" now change the Value to what you like.



            If the decorations or the text is blurry, you may want to use a decimal value to make firefox more aesthetic, go for ".7". Or to make it bigger to a 2 or 1.5.



            My screen is 15 inches 1080p; a value of 1.3 worked fine for me. The info came from this page:



            https://fedoramagazine.org/how-to-get-firefox-looking-right-on-a-high-dpi-display-and-fedora/






            share|improve this answer























            • Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
              – Videonauth
              Nov 3 '17 at 5:47










            • that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
              – Plaid Phantom
              Nov 4 '17 at 5:22












            • try change devPixelsPerPx to 1.0 or -1.0
              – Eduardo Montero
              Nov 4 '17 at 21:10
















            4














            Firefox has its own DPI mode, not always plays well in a desktop environment whit modified DPI, yet the solution is simple:



            First go to a firefox tab and type: "about:config", next in the search bar type: "layout.css.devPixelsPerPx" now change the Value to what you like.



            If the decorations or the text is blurry, you may want to use a decimal value to make firefox more aesthetic, go for ".7". Or to make it bigger to a 2 or 1.5.



            My screen is 15 inches 1080p; a value of 1.3 worked fine for me. The info came from this page:



            https://fedoramagazine.org/how-to-get-firefox-looking-right-on-a-high-dpi-display-and-fedora/






            share|improve this answer























            • Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
              – Videonauth
              Nov 3 '17 at 5:47










            • that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
              – Plaid Phantom
              Nov 4 '17 at 5:22












            • try change devPixelsPerPx to 1.0 or -1.0
              – Eduardo Montero
              Nov 4 '17 at 21:10














            4












            4








            4






            Firefox has its own DPI mode, not always plays well in a desktop environment whit modified DPI, yet the solution is simple:



            First go to a firefox tab and type: "about:config", next in the search bar type: "layout.css.devPixelsPerPx" now change the Value to what you like.



            If the decorations or the text is blurry, you may want to use a decimal value to make firefox more aesthetic, go for ".7". Or to make it bigger to a 2 or 1.5.



            My screen is 15 inches 1080p; a value of 1.3 worked fine for me. The info came from this page:



            https://fedoramagazine.org/how-to-get-firefox-looking-right-on-a-high-dpi-display-and-fedora/






            share|improve this answer














            Firefox has its own DPI mode, not always plays well in a desktop environment whit modified DPI, yet the solution is simple:



            First go to a firefox tab and type: "about:config", next in the search bar type: "layout.css.devPixelsPerPx" now change the Value to what you like.



            If the decorations or the text is blurry, you may want to use a decimal value to make firefox more aesthetic, go for ".7". Or to make it bigger to a 2 or 1.5.



            My screen is 15 inches 1080p; a value of 1.3 worked fine for me. The info came from this page:



            https://fedoramagazine.org/how-to-get-firefox-looking-right-on-a-high-dpi-display-and-fedora/







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Nov 3 '17 at 6:08

























            answered Nov 3 '17 at 4:54









            Eduardo Montero

            624




            624












            • Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
              – Videonauth
              Nov 3 '17 at 5:47










            • that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
              – Plaid Phantom
              Nov 4 '17 at 5:22












            • try change devPixelsPerPx to 1.0 or -1.0
              – Eduardo Montero
              Nov 4 '17 at 21:10


















            • Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
              – Videonauth
              Nov 3 '17 at 5:47










            • that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
              – Plaid Phantom
              Nov 4 '17 at 5:22












            • try change devPixelsPerPx to 1.0 or -1.0
              – Eduardo Montero
              Nov 4 '17 at 21:10
















            Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
            – Videonauth
            Nov 3 '17 at 5:47




            Welcome to Ask Ubuntu! A link to a potential solution is always welcome, but please add context around the link so your fellow users will have some idea what it is and why it's there. Always quote the most relevant part of an important link, in case the target site is unreachable or goes permanently offline. Take into account that being barely more than a link to an external site is a possible reason as to Why and how are some answers deleted?.
            – Videonauth
            Nov 3 '17 at 5:47












            that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
            – Plaid Phantom
            Nov 4 '17 at 5:22






            that would help me change the size of Firefox elements, but that is not what I need. Firefox (or maybe it's gnome) respects the scaling I want, but it seems to render onto a smaller canvas and "scale up", even if I change devPixelsPerPx to .66 to reverse my current 150% scaling. Honestly, if Firefox would just ignore the OS scaling as it does in the linked article I wouldn't have any problem.
            – Plaid Phantom
            Nov 4 '17 at 5:22














            try change devPixelsPerPx to 1.0 or -1.0
            – Eduardo Montero
            Nov 4 '17 at 21:10




            try change devPixelsPerPx to 1.0 or -1.0
            – Eduardo Montero
            Nov 4 '17 at 21:10













            0














            I was happy to scale the browser UI chrome as well as the page content, so layout.css.devPixelsPerPx worked for me.



            But if you want to change the default zoom of the page content only, without affecting the UI at all, I recommend the Zoom Page WE extension.



            You will probably want to open Menu > Addons > Zoom Page WE > Zoom Levels & Font Size and set Default Full Level to your desired zoom, e.g. 120%.



            This will set the default zoom for newly opened websites, but if you adjust the page zoom then that value will be remembered for the current site in future. (Unless of course you have set browser.zoom.siteSpecific: false)






            share|improve this answer


























              0














              I was happy to scale the browser UI chrome as well as the page content, so layout.css.devPixelsPerPx worked for me.



              But if you want to change the default zoom of the page content only, without affecting the UI at all, I recommend the Zoom Page WE extension.



              You will probably want to open Menu > Addons > Zoom Page WE > Zoom Levels & Font Size and set Default Full Level to your desired zoom, e.g. 120%.



              This will set the default zoom for newly opened websites, but if you adjust the page zoom then that value will be remembered for the current site in future. (Unless of course you have set browser.zoom.siteSpecific: false)






              share|improve this answer
























                0












                0








                0






                I was happy to scale the browser UI chrome as well as the page content, so layout.css.devPixelsPerPx worked for me.



                But if you want to change the default zoom of the page content only, without affecting the UI at all, I recommend the Zoom Page WE extension.



                You will probably want to open Menu > Addons > Zoom Page WE > Zoom Levels & Font Size and set Default Full Level to your desired zoom, e.g. 120%.



                This will set the default zoom for newly opened websites, but if you adjust the page zoom then that value will be remembered for the current site in future. (Unless of course you have set browser.zoom.siteSpecific: false)






                share|improve this answer












                I was happy to scale the browser UI chrome as well as the page content, so layout.css.devPixelsPerPx worked for me.



                But if you want to change the default zoom of the page content only, without affecting the UI at all, I recommend the Zoom Page WE extension.



                You will probably want to open Menu > Addons > Zoom Page WE > Zoom Levels & Font Size and set Default Full Level to your desired zoom, e.g. 120%.



                This will set the default zoom for newly opened websites, but if you adjust the page zoom then that value will be remembered for the current site in future. (Unless of course you have set browser.zoom.siteSpecific: false)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 23 '18 at 10:14









                joeytwiddle

                8991020




                8991020






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f972377%2fubuntu-17-10-firefox-dpi-scaling%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

                    flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

                    Mangá

                    Eduardo VII do Reino Unido