Eclipse Neon icon size in Ubuntu 16.04 hidpi












4














I have read that Eclipse Neon has now support for hidpi but icons are extremely small when using a hidpi notebook in Ubuntu 16.04.



Is there any command line argument or environment variable that I have to set so it works?










share|improve this question



























    4














    I have read that Eclipse Neon has now support for hidpi but icons are extremely small when using a hidpi notebook in Ubuntu 16.04.



    Is there any command line argument or environment variable that I have to set so it works?










    share|improve this question

























      4












      4








      4


      3





      I have read that Eclipse Neon has now support for hidpi but icons are extremely small when using a hidpi notebook in Ubuntu 16.04.



      Is there any command line argument or environment variable that I have to set so it works?










      share|improve this question













      I have read that Eclipse Neon has now support for hidpi but icons are extremely small when using a hidpi notebook in Ubuntu 16.04.



      Is there any command line argument or environment variable that I have to set so it works?







      16.04 eclipse






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 25 '16 at 17:11









      purpletentaclepurpletentacle

      5702823




      5702823






















          3 Answers
          3






          active

          oldest

          votes


















          7














          At least in my case (ASUS UX303UB, Eclipse Neon 4.6.0RC1, Ubuntu 16.04), it was possible to get proper icons by adding:



          -Dswt.autoScale=175


          at the end of $ECLIPSE_HOME/eclipse.ini






          share|improve this answer





















          • This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
            – tlwhitec
            May 18 '17 at 12:33










          • OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
            – tlwhitec
            May 18 '17 at 12:54





















          0














          -Dswt.autoScale=exact


          worked for me. It apparently used my Gnome Tweak Tool font scaling setting of 1.35 The autoScale options are explained at Tweaking SWT's auto-scaling






          share|improve this answer





























            0














            For me the following worked:



            GDK_DPI_SCALE=0.5 GDK_SCALE=2 eclipse


            Setting GDK_SCALE to 2 alone fixed the icon size but made all text huge. I had to set GDK_DPI_SCALE to 0.5 counter the effect on the font size.






            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%2f777411%2feclipse-neon-icon-size-in-ubuntu-16-04-hidpi%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









              7














              At least in my case (ASUS UX303UB, Eclipse Neon 4.6.0RC1, Ubuntu 16.04), it was possible to get proper icons by adding:



              -Dswt.autoScale=175


              at the end of $ECLIPSE_HOME/eclipse.ini






              share|improve this answer





















              • This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
                – tlwhitec
                May 18 '17 at 12:33










              • OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
                – tlwhitec
                May 18 '17 at 12:54


















              7














              At least in my case (ASUS UX303UB, Eclipse Neon 4.6.0RC1, Ubuntu 16.04), it was possible to get proper icons by adding:



              -Dswt.autoScale=175


              at the end of $ECLIPSE_HOME/eclipse.ini






              share|improve this answer





















              • This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
                – tlwhitec
                May 18 '17 at 12:33










              • OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
                – tlwhitec
                May 18 '17 at 12:54
















              7












              7








              7






              At least in my case (ASUS UX303UB, Eclipse Neon 4.6.0RC1, Ubuntu 16.04), it was possible to get proper icons by adding:



              -Dswt.autoScale=175


              at the end of $ECLIPSE_HOME/eclipse.ini






              share|improve this answer












              At least in my case (ASUS UX303UB, Eclipse Neon 4.6.0RC1, Ubuntu 16.04), it was possible to get proper icons by adding:



              -Dswt.autoScale=175


              at the end of $ECLIPSE_HOME/eclipse.ini







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered May 27 '16 at 8:11









              purpletentaclepurpletentacle

              5702823




              5702823












              • This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
                – tlwhitec
                May 18 '17 at 12:33










              • OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
                – tlwhitec
                May 18 '17 at 12:54




















              • This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
                – tlwhitec
                May 18 '17 at 12:33










              • OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
                – tlwhitec
                May 18 '17 at 12:54


















              This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
              – tlwhitec
              May 18 '17 at 12:33




              This indeed helped (with neon.3), but when I needed the scale back at 100% changing the mentioned parameter to 100 didn't help. Nor did adding -Dswt.enable.autoScale=false. Any suggestions?
              – tlwhitec
              May 18 '17 at 12:33












              OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
              – tlwhitec
              May 18 '17 at 12:54






              OK, I figured it out. It was the automatically created ~/.local/share/applications/eclipse.desktop after I pinned the running upscaled eclipse to the Unity launcher. It contained all the eclipse.ini parameters in the Exec= action. Changing this just to eclipse or running eclipse from the command line normally worked.
              – tlwhitec
              May 18 '17 at 12:54















              0














              -Dswt.autoScale=exact


              worked for me. It apparently used my Gnome Tweak Tool font scaling setting of 1.35 The autoScale options are explained at Tweaking SWT's auto-scaling






              share|improve this answer


























                0














                -Dswt.autoScale=exact


                worked for me. It apparently used my Gnome Tweak Tool font scaling setting of 1.35 The autoScale options are explained at Tweaking SWT's auto-scaling






                share|improve this answer
























                  0












                  0








                  0






                  -Dswt.autoScale=exact


                  worked for me. It apparently used my Gnome Tweak Tool font scaling setting of 1.35 The autoScale options are explained at Tweaking SWT's auto-scaling






                  share|improve this answer












                  -Dswt.autoScale=exact


                  worked for me. It apparently used my Gnome Tweak Tool font scaling setting of 1.35 The autoScale options are explained at Tweaking SWT's auto-scaling







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 2 '17 at 18:24









                  kurt krueckebergkurt krueckeberg

                  1




                  1























                      0














                      For me the following worked:



                      GDK_DPI_SCALE=0.5 GDK_SCALE=2 eclipse


                      Setting GDK_SCALE to 2 alone fixed the icon size but made all text huge. I had to set GDK_DPI_SCALE to 0.5 counter the effect on the font size.






                      share|improve this answer


























                        0














                        For me the following worked:



                        GDK_DPI_SCALE=0.5 GDK_SCALE=2 eclipse


                        Setting GDK_SCALE to 2 alone fixed the icon size but made all text huge. I had to set GDK_DPI_SCALE to 0.5 counter the effect on the font size.






                        share|improve this answer
























                          0












                          0








                          0






                          For me the following worked:



                          GDK_DPI_SCALE=0.5 GDK_SCALE=2 eclipse


                          Setting GDK_SCALE to 2 alone fixed the icon size but made all text huge. I had to set GDK_DPI_SCALE to 0.5 counter the effect on the font size.






                          share|improve this answer












                          For me the following worked:



                          GDK_DPI_SCALE=0.5 GDK_SCALE=2 eclipse


                          Setting GDK_SCALE to 2 alone fixed the icon size but made all text huge. I had to set GDK_DPI_SCALE to 0.5 counter the effect on the font size.







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Dec 26 '18 at 15:36









                          ZoltanZoltan

                          1759




                          1759






























                              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%2f777411%2feclipse-neon-icon-size-in-ubuntu-16-04-hidpi%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