StartUp Applications not scaled on hidpi display

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








up vote
0
down vote

favorite












I run Ubuntu 18.04 with Gnome on a 4k hidpi monitor with 200% scale factor. If I manually run applications (e.g. Wavebox, Telegram Desktop, KeePassXC, ...) they start scaled properly and everything is fine.
However, if I add them to the startup applications, when I start the system, they start without scaling and are impossible to use. When I close the apps and restart them, they are scaled.



How do I run an app at startup with the proper scaling?







share|improve this question


























    up vote
    0
    down vote

    favorite












    I run Ubuntu 18.04 with Gnome on a 4k hidpi monitor with 200% scale factor. If I manually run applications (e.g. Wavebox, Telegram Desktop, KeePassXC, ...) they start scaled properly and everything is fine.
    However, if I add them to the startup applications, when I start the system, they start without scaling and are impossible to use. When I close the apps and restart them, they are scaled.



    How do I run an app at startup with the proper scaling?







    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I run Ubuntu 18.04 with Gnome on a 4k hidpi monitor with 200% scale factor. If I manually run applications (e.g. Wavebox, Telegram Desktop, KeePassXC, ...) they start scaled properly and everything is fine.
      However, if I add them to the startup applications, when I start the system, they start without scaling and are impossible to use. When I close the apps and restart them, they are scaled.



      How do I run an app at startup with the proper scaling?







      share|improve this question














      I run Ubuntu 18.04 with Gnome on a 4k hidpi monitor with 200% scale factor. If I manually run applications (e.g. Wavebox, Telegram Desktop, KeePassXC, ...) they start scaled properly and everything is fine.
      However, if I add them to the startup applications, when I start the system, they start without scaling and are impossible to use. When I close the apps and restart them, they are scaled.



      How do I run an app at startup with the proper scaling?









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 15 at 15:58









      K7AAY

      3,73221443




      3,73221443










      asked May 15 at 14:15









      Alessandro Muntoni

      32




      32




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          I had the same problem and what solve the problem for me was to startup the application with a few seconds delay.



          create a bash script and add the following



          #!/bin/sh
          sleep 5
          /usr/bin/conky


          save the file and run chmod +x conky.sh



          next open up gnome startup application or edit: ~/.config/autostart/conky.desktop and update the Exec/Command to:
          /home/youruser/conky.sh



          (Just replace conky with the application you are using)
          now try logout and back in again and hopefully it should work
          if it doesent work you can try increase the sleep/delay to 10 seconds.






          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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036554%2fstartup-applications-not-scaled-on-hidpi-display%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote



            accepted










            I had the same problem and what solve the problem for me was to startup the application with a few seconds delay.



            create a bash script and add the following



            #!/bin/sh
            sleep 5
            /usr/bin/conky


            save the file and run chmod +x conky.sh



            next open up gnome startup application or edit: ~/.config/autostart/conky.desktop and update the Exec/Command to:
            /home/youruser/conky.sh



            (Just replace conky with the application you are using)
            now try logout and back in again and hopefully it should work
            if it doesent work you can try increase the sleep/delay to 10 seconds.






            share|improve this answer
























              up vote
              0
              down vote



              accepted










              I had the same problem and what solve the problem for me was to startup the application with a few seconds delay.



              create a bash script and add the following



              #!/bin/sh
              sleep 5
              /usr/bin/conky


              save the file and run chmod +x conky.sh



              next open up gnome startup application or edit: ~/.config/autostart/conky.desktop and update the Exec/Command to:
              /home/youruser/conky.sh



              (Just replace conky with the application you are using)
              now try logout and back in again and hopefully it should work
              if it doesent work you can try increase the sleep/delay to 10 seconds.






              share|improve this answer






















                up vote
                0
                down vote



                accepted







                up vote
                0
                down vote



                accepted






                I had the same problem and what solve the problem for me was to startup the application with a few seconds delay.



                create a bash script and add the following



                #!/bin/sh
                sleep 5
                /usr/bin/conky


                save the file and run chmod +x conky.sh



                next open up gnome startup application or edit: ~/.config/autostart/conky.desktop and update the Exec/Command to:
                /home/youruser/conky.sh



                (Just replace conky with the application you are using)
                now try logout and back in again and hopefully it should work
                if it doesent work you can try increase the sleep/delay to 10 seconds.






                share|improve this answer












                I had the same problem and what solve the problem for me was to startup the application with a few seconds delay.



                create a bash script and add the following



                #!/bin/sh
                sleep 5
                /usr/bin/conky


                save the file and run chmod +x conky.sh



                next open up gnome startup application or edit: ~/.config/autostart/conky.desktop and update the Exec/Command to:
                /home/youruser/conky.sh



                (Just replace conky with the application you are using)
                now try logout and back in again and hopefully it should work
                if it doesent work you can try increase the sleep/delay to 10 seconds.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 26 at 12:14









                Markus Helin

                16




                16






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036554%2fstartup-applications-not-scaled-on-hidpi-display%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491