Gnome 3.16 HiDPI scaling only accepts integers












13















I recently upgraded to Ubuntu 15.04 with Gnome 3.16, which is working really great on my machine (despite what I found on many forums around the web). Having a high DPI screen however (13.3" with 1920x1080) I need to scale the entire system to use it. There is a setting for that in the TweakTool, but it only seems to accept integers as scaling factor.



enter image description here



Does anybody know about a workaround for this? Scaling by two is way too large for my screen. The value I want is closer to 1.2



Any help will be greatly appreciated!










share|improve this question


















  • 1





    You may find some clues in the archlinux tutorial on the subject

    – azmeuk
    Apr 13 '16 at 9:35
















13















I recently upgraded to Ubuntu 15.04 with Gnome 3.16, which is working really great on my machine (despite what I found on many forums around the web). Having a high DPI screen however (13.3" with 1920x1080) I need to scale the entire system to use it. There is a setting for that in the TweakTool, but it only seems to accept integers as scaling factor.



enter image description here



Does anybody know about a workaround for this? Scaling by two is way too large for my screen. The value I want is closer to 1.2



Any help will be greatly appreciated!










share|improve this question


















  • 1





    You may find some clues in the archlinux tutorial on the subject

    – azmeuk
    Apr 13 '16 at 9:35














13












13








13


3






I recently upgraded to Ubuntu 15.04 with Gnome 3.16, which is working really great on my machine (despite what I found on many forums around the web). Having a high DPI screen however (13.3" with 1920x1080) I need to scale the entire system to use it. There is a setting for that in the TweakTool, but it only seems to accept integers as scaling factor.



enter image description here



Does anybody know about a workaround for this? Scaling by two is way too large for my screen. The value I want is closer to 1.2



Any help will be greatly appreciated!










share|improve this question














I recently upgraded to Ubuntu 15.04 with Gnome 3.16, which is working really great on my machine (despite what I found on many forums around the web). Having a high DPI screen however (13.3" with 1920x1080) I need to scale the entire system to use it. There is a setting for that in the TweakTool, but it only seems to accept integers as scaling factor.



enter image description here



Does anybody know about a workaround for this? Scaling by two is way too large for my screen. The value I want is closer to 1.2



Any help will be greatly appreciated!







gnome 15.04 ubuntu-gnome scaling






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 21 '15 at 6:53









SeverinSeverin

5112824




5112824








  • 1





    You may find some clues in the archlinux tutorial on the subject

    – azmeuk
    Apr 13 '16 at 9:35














  • 1





    You may find some clues in the archlinux tutorial on the subject

    – azmeuk
    Apr 13 '16 at 9:35








1




1





You may find some clues in the archlinux tutorial on the subject

– azmeuk
Apr 13 '16 at 9:35





You may find some clues in the archlinux tutorial on the subject

– azmeuk
Apr 13 '16 at 9:35










3 Answers
3






active

oldest

votes


















0














I checked with my Fedora 21 install where I have Gnome 3.14.2 and it doesn't seem to be possible to set your desired value:



[btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1.2
invalid character in number:
1.2
^
[btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1,2
expected end of input:
1,2
^


My assumptions:




  • There is a another setting to achieve what you want. The only thing that comes to my mind is font rendering related, though that is not exactly what you are looking for.

  • It's a mistake that the key only accepts integers as datatype and you should file a bug.






share|improve this answer


























  • Thats the exact same error I get as well

    – Severin
    May 21 '15 at 7:28











  • Gnome only accepting integer scaling factors is a known limitation even now.

    – JAB
    Jul 29 '18 at 21:48





















0














I am not sure if this got resolved or not, but there are two scaling options in Gnome to achieve this. The "window scaling" attribute that you are doing either accepts 1 or 2 (or 0, but this is "undefined" I think). If you want, you can do text scaling, which accepts floating numbers.



In Gnome Tweak Tool, this is available under the font section. Alternatively, you can access both in the dconf-editor under org.gnome.desktop.interface I have noticed this option tends to work better, as Gnome Tweak Tool can sometimes not update setting correctly, causing weird scaling issues.






share|improve this answer































    -1














    Non-integer scaling is not (yet) supported in Gnome and therefore Ubuntu. Athough, it is possible to achieve with some workarounds using xrandr, which involves an upscaling and a subsequent downscaling, I cannot recommend this as it is very CPU/GPU intensive and comes with other quirks and problems and does not necessarily lead to the desired result. There are a lot of ongoing debates and argues on r/linux over at reddit if you are interested and here is also an article from one of the elementary devs (a distro based on Ubuntu) who talks a bit more about High DPI in depth: link. Hope this helps a bit.






    share|improve this answer



















    • 1





      As of Gnome 3.28 it actually is possible now, but thx for your comment.

      – Severin
      Aug 10 '18 at 14:16






    • 1





      @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

      – Wiggles
      Aug 11 '18 at 16:27













    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%2f626400%2fgnome-3-16-hidpi-scaling-only-accepts-integers%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I checked with my Fedora 21 install where I have Gnome 3.14.2 and it doesn't seem to be possible to set your desired value:



    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1.2
    invalid character in number:
    1.2
    ^
    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1,2
    expected end of input:
    1,2
    ^


    My assumptions:




    • There is a another setting to achieve what you want. The only thing that comes to my mind is font rendering related, though that is not exactly what you are looking for.

    • It's a mistake that the key only accepts integers as datatype and you should file a bug.






    share|improve this answer


























    • Thats the exact same error I get as well

      – Severin
      May 21 '15 at 7:28











    • Gnome only accepting integer scaling factors is a known limitation even now.

      – JAB
      Jul 29 '18 at 21:48


















    0














    I checked with my Fedora 21 install where I have Gnome 3.14.2 and it doesn't seem to be possible to set your desired value:



    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1.2
    invalid character in number:
    1.2
    ^
    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1,2
    expected end of input:
    1,2
    ^


    My assumptions:




    • There is a another setting to achieve what you want. The only thing that comes to my mind is font rendering related, though that is not exactly what you are looking for.

    • It's a mistake that the key only accepts integers as datatype and you should file a bug.






    share|improve this answer


























    • Thats the exact same error I get as well

      – Severin
      May 21 '15 at 7:28











    • Gnome only accepting integer scaling factors is a known limitation even now.

      – JAB
      Jul 29 '18 at 21:48
















    0












    0








    0







    I checked with my Fedora 21 install where I have Gnome 3.14.2 and it doesn't seem to be possible to set your desired value:



    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1.2
    invalid character in number:
    1.2
    ^
    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1,2
    expected end of input:
    1,2
    ^


    My assumptions:




    • There is a another setting to achieve what you want. The only thing that comes to my mind is font rendering related, though that is not exactly what you are looking for.

    • It's a mistake that the key only accepts integers as datatype and you should file a bug.






    share|improve this answer















    I checked with my Fedora 21 install where I have Gnome 3.14.2 and it doesn't seem to be possible to set your desired value:



    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1.2
    invalid character in number:
    1.2
    ^
    [btegge@za21 ~]$ gsettings set org.gnome.desktop.interface scaling-factor 1,2
    expected end of input:
    1,2
    ^


    My assumptions:




    • There is a another setting to achieve what you want. The only thing that comes to my mind is font rendering related, though that is not exactly what you are looking for.

    • It's a mistake that the key only accepts integers as datatype and you should file a bug.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 21 '15 at 7:39

























    answered May 21 '15 at 7:25









    LiveWireBTLiveWireBT

    21.7k1972155




    21.7k1972155













    • Thats the exact same error I get as well

      – Severin
      May 21 '15 at 7:28











    • Gnome only accepting integer scaling factors is a known limitation even now.

      – JAB
      Jul 29 '18 at 21:48





















    • Thats the exact same error I get as well

      – Severin
      May 21 '15 at 7:28











    • Gnome only accepting integer scaling factors is a known limitation even now.

      – JAB
      Jul 29 '18 at 21:48



















    Thats the exact same error I get as well

    – Severin
    May 21 '15 at 7:28





    Thats the exact same error I get as well

    – Severin
    May 21 '15 at 7:28













    Gnome only accepting integer scaling factors is a known limitation even now.

    – JAB
    Jul 29 '18 at 21:48







    Gnome only accepting integer scaling factors is a known limitation even now.

    – JAB
    Jul 29 '18 at 21:48















    0














    I am not sure if this got resolved or not, but there are two scaling options in Gnome to achieve this. The "window scaling" attribute that you are doing either accepts 1 or 2 (or 0, but this is "undefined" I think). If you want, you can do text scaling, which accepts floating numbers.



    In Gnome Tweak Tool, this is available under the font section. Alternatively, you can access both in the dconf-editor under org.gnome.desktop.interface I have noticed this option tends to work better, as Gnome Tweak Tool can sometimes not update setting correctly, causing weird scaling issues.






    share|improve this answer




























      0














      I am not sure if this got resolved or not, but there are two scaling options in Gnome to achieve this. The "window scaling" attribute that you are doing either accepts 1 or 2 (or 0, but this is "undefined" I think). If you want, you can do text scaling, which accepts floating numbers.



      In Gnome Tweak Tool, this is available under the font section. Alternatively, you can access both in the dconf-editor under org.gnome.desktop.interface I have noticed this option tends to work better, as Gnome Tweak Tool can sometimes not update setting correctly, causing weird scaling issues.






      share|improve this answer


























        0












        0








        0







        I am not sure if this got resolved or not, but there are two scaling options in Gnome to achieve this. The "window scaling" attribute that you are doing either accepts 1 or 2 (or 0, but this is "undefined" I think). If you want, you can do text scaling, which accepts floating numbers.



        In Gnome Tweak Tool, this is available under the font section. Alternatively, you can access both in the dconf-editor under org.gnome.desktop.interface I have noticed this option tends to work better, as Gnome Tweak Tool can sometimes not update setting correctly, causing weird scaling issues.






        share|improve this answer













        I am not sure if this got resolved or not, but there are two scaling options in Gnome to achieve this. The "window scaling" attribute that you are doing either accepts 1 or 2 (or 0, but this is "undefined" I think). If you want, you can do text scaling, which accepts floating numbers.



        In Gnome Tweak Tool, this is available under the font section. Alternatively, you can access both in the dconf-editor under org.gnome.desktop.interface I have noticed this option tends to work better, as Gnome Tweak Tool can sometimes not update setting correctly, causing weird scaling issues.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 31 '15 at 16:44









        Mylan ConnollyMylan Connolly

        1




        1























            -1














            Non-integer scaling is not (yet) supported in Gnome and therefore Ubuntu. Athough, it is possible to achieve with some workarounds using xrandr, which involves an upscaling and a subsequent downscaling, I cannot recommend this as it is very CPU/GPU intensive and comes with other quirks and problems and does not necessarily lead to the desired result. There are a lot of ongoing debates and argues on r/linux over at reddit if you are interested and here is also an article from one of the elementary devs (a distro based on Ubuntu) who talks a bit more about High DPI in depth: link. Hope this helps a bit.






            share|improve this answer



















            • 1





              As of Gnome 3.28 it actually is possible now, but thx for your comment.

              – Severin
              Aug 10 '18 at 14:16






            • 1





              @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

              – Wiggles
              Aug 11 '18 at 16:27


















            -1














            Non-integer scaling is not (yet) supported in Gnome and therefore Ubuntu. Athough, it is possible to achieve with some workarounds using xrandr, which involves an upscaling and a subsequent downscaling, I cannot recommend this as it is very CPU/GPU intensive and comes with other quirks and problems and does not necessarily lead to the desired result. There are a lot of ongoing debates and argues on r/linux over at reddit if you are interested and here is also an article from one of the elementary devs (a distro based on Ubuntu) who talks a bit more about High DPI in depth: link. Hope this helps a bit.






            share|improve this answer



















            • 1





              As of Gnome 3.28 it actually is possible now, but thx for your comment.

              – Severin
              Aug 10 '18 at 14:16






            • 1





              @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

              – Wiggles
              Aug 11 '18 at 16:27
















            -1












            -1








            -1







            Non-integer scaling is not (yet) supported in Gnome and therefore Ubuntu. Athough, it is possible to achieve with some workarounds using xrandr, which involves an upscaling and a subsequent downscaling, I cannot recommend this as it is very CPU/GPU intensive and comes with other quirks and problems and does not necessarily lead to the desired result. There are a lot of ongoing debates and argues on r/linux over at reddit if you are interested and here is also an article from one of the elementary devs (a distro based on Ubuntu) who talks a bit more about High DPI in depth: link. Hope this helps a bit.






            share|improve this answer













            Non-integer scaling is not (yet) supported in Gnome and therefore Ubuntu. Athough, it is possible to achieve with some workarounds using xrandr, which involves an upscaling and a subsequent downscaling, I cannot recommend this as it is very CPU/GPU intensive and comes with other quirks and problems and does not necessarily lead to the desired result. There are a lot of ongoing debates and argues on r/linux over at reddit if you are interested and here is also an article from one of the elementary devs (a distro based on Ubuntu) who talks a bit more about High DPI in depth: link. Hope this helps a bit.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Aug 10 '18 at 13:26









            WigglesWiggles

            1246




            1246








            • 1





              As of Gnome 3.28 it actually is possible now, but thx for your comment.

              – Severin
              Aug 10 '18 at 14:16






            • 1





              @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

              – Wiggles
              Aug 11 '18 at 16:27
















            • 1





              As of Gnome 3.28 it actually is possible now, but thx for your comment.

              – Severin
              Aug 10 '18 at 14:16






            • 1





              @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

              – Wiggles
              Aug 11 '18 at 16:27










            1




            1





            As of Gnome 3.28 it actually is possible now, but thx for your comment.

            – Severin
            Aug 10 '18 at 14:16





            As of Gnome 3.28 it actually is possible now, but thx for your comment.

            – Severin
            Aug 10 '18 at 14:16




            1




            1





            @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

            – Wiggles
            Aug 11 '18 at 16:27







            @Severin Correct me if I am mistaken, but doesn't Gnome 3.28 only support fractional scaling via a Wayland session in an experimental feature, i.e. it is not supported officially, yet? (see link ) Concerning "this does not provide an answer to the question". I think it does. If it is not supported in 3.28, it certainly is not in 3.16. How to work around it? I mentioned the procedure using xrandr. I think this can still be a valid workaround for OP. I should have provided a source, though. Sorry.

            – Wiggles
            Aug 11 '18 at 16:27




















            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f626400%2fgnome-3-16-hidpi-scaling-only-accepts-integers%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅