Ubuntu screen starts with tilted screen how do i add xrandr startup command












0














When i start Ubuntu it starts with tilted screen here is
details regarding my display:



Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
1920x1080 60.06*+ 60.01 59.97 59.96 59.93 40.04
1680x1050 59.95 59.88

DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-1 disconnected (normal left inverted right x axis y axis)


How do I add command on startup to execute as:



xrandr --output eDP-1-1 --rotate normal


?










share|improve this question









New contributor




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

























    0














    When i start Ubuntu it starts with tilted screen here is
    details regarding my display:



    Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
    HDMI-0 disconnected (normal left inverted right x axis y axis)
    DP-0 disconnected (normal left inverted right x axis y axis)
    DP-1 disconnected (normal left inverted right x axis y axis)
    eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
    1920x1080 60.06*+ 60.01 59.97 59.96 59.93 40.04
    1680x1050 59.95 59.88

    DP-1-1 disconnected (normal left inverted right x axis y axis)
    HDMI-1-1 disconnected (normal left inverted right x axis y axis)


    How do I add command on startup to execute as:



    xrandr --output eDP-1-1 --rotate normal


    ?










    share|improve this question









    New contributor




    Vishal Dindalkop 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







      When i start Ubuntu it starts with tilted screen here is
      details regarding my display:



      Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
      HDMI-0 disconnected (normal left inverted right x axis y axis)
      DP-0 disconnected (normal left inverted right x axis y axis)
      DP-1 disconnected (normal left inverted right x axis y axis)
      eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
      1920x1080 60.06*+ 60.01 59.97 59.96 59.93 40.04
      1680x1050 59.95 59.88

      DP-1-1 disconnected (normal left inverted right x axis y axis)
      HDMI-1-1 disconnected (normal left inverted right x axis y axis)


      How do I add command on startup to execute as:



      xrandr --output eDP-1-1 --rotate normal


      ?










      share|improve this question









      New contributor




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











      When i start Ubuntu it starts with tilted screen here is
      details regarding my display:



      Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
      HDMI-0 disconnected (normal left inverted right x axis y axis)
      DP-0 disconnected (normal left inverted right x axis y axis)
      DP-1 disconnected (normal left inverted right x axis y axis)
      eDP-1-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
      1920x1080 60.06*+ 60.01 59.97 59.96 59.93 40.04
      1680x1050 59.95 59.88

      DP-1-1 disconnected (normal left inverted right x axis y axis)
      HDMI-1-1 disconnected (normal left inverted right x axis y axis)


      How do I add command on startup to execute as:



      xrandr --output eDP-1-1 --rotate normal


      ?







      display startup xrandr display-rotation






      share|improve this question









      New contributor




      Vishal Dindalkop 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 question









      New contributor




      Vishal Dindalkop 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 question




      share|improve this question








      edited Dec 27 at 20:54









      mature

      1,659522




      1,659522






      New contributor




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









      asked Dec 27 at 19:19









      Vishal Dindalkop

      1




      1




      New contributor




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





      New contributor





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






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






















          1 Answer
          1






          active

          oldest

          votes


















          0














          For the initial text console?



          Check: http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server



          ... and/or check the content of /etc/default/grub
          and make sure it contains something similar to




          GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=efifb fbcon=rotate:3"


          then do




          $ sudo update-grub


          This should make all after the grub menus/screens be rotated accordingly.





          For X?

          Arrange your screens with the "System Settings" > "Displays"

          Then make sure that /var/lib/lightdm/.config/monitors.xml is lightdm-owned copy of $HOME/.config/monitors.xml. Take into use: reboot to see the effect.




          And no, no need to run xrandr.






          share|improve this answer























          • Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
            – Hannu
            Dec 27 at 20:32











          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
          });


          }
          });






          Vishal Dindalkop is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104980%2fubuntu-screen-starts-with-tilted-screen-how-do-i-add-xrandr-startup-command%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          For the initial text console?



          Check: http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server



          ... and/or check the content of /etc/default/grub
          and make sure it contains something similar to




          GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=efifb fbcon=rotate:3"


          then do




          $ sudo update-grub


          This should make all after the grub menus/screens be rotated accordingly.





          For X?

          Arrange your screens with the "System Settings" > "Displays"

          Then make sure that /var/lib/lightdm/.config/monitors.xml is lightdm-owned copy of $HOME/.config/monitors.xml. Take into use: reboot to see the effect.




          And no, no need to run xrandr.






          share|improve this answer























          • Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
            – Hannu
            Dec 27 at 20:32
















          0














          For the initial text console?



          Check: http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server



          ... and/or check the content of /etc/default/grub
          and make sure it contains something similar to




          GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=efifb fbcon=rotate:3"


          then do




          $ sudo update-grub


          This should make all after the grub menus/screens be rotated accordingly.





          For X?

          Arrange your screens with the "System Settings" > "Displays"

          Then make sure that /var/lib/lightdm/.config/monitors.xml is lightdm-owned copy of $HOME/.config/monitors.xml. Take into use: reboot to see the effect.




          And no, no need to run xrandr.






          share|improve this answer























          • Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
            – Hannu
            Dec 27 at 20:32














          0












          0








          0






          For the initial text console?



          Check: http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server



          ... and/or check the content of /etc/default/grub
          and make sure it contains something similar to




          GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=efifb fbcon=rotate:3"


          then do




          $ sudo update-grub


          This should make all after the grub menus/screens be rotated accordingly.





          For X?

          Arrange your screens with the "System Settings" > "Displays"

          Then make sure that /var/lib/lightdm/.config/monitors.xml is lightdm-owned copy of $HOME/.config/monitors.xml. Take into use: reboot to see the effect.




          And no, no need to run xrandr.






          share|improve this answer














          For the initial text console?



          Check: http://askubuntu.com/questions/237963/how-do-i-rotate-my-display-when-not-using-an-x-server



          ... and/or check the content of /etc/default/grub
          and make sure it contains something similar to




          GRUB_CMDLINE_LINUX_DEFAULT="noplymouth video=efifb fbcon=rotate:3"


          then do




          $ sudo update-grub


          This should make all after the grub menus/screens be rotated accordingly.





          For X?

          Arrange your screens with the "System Settings" > "Displays"

          Then make sure that /var/lib/lightdm/.config/monitors.xml is lightdm-owned copy of $HOME/.config/monitors.xml. Take into use: reboot to see the effect.




          And no, no need to run xrandr.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Dec 27 at 20:35

























          answered Dec 27 at 20:29









          Hannu

          2,1781125




          2,1781125












          • Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
            – Hannu
            Dec 27 at 20:32


















          • Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
            – Hannu
            Dec 27 at 20:32
















          Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
          – Hannu
          Dec 27 at 20:32




          Please NOTE: Not yet verified to still work - was some time since I fiddled with it.
          – Hannu
          Dec 27 at 20:32










          Vishal Dindalkop is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Vishal Dindalkop is a new contributor. Be nice, and check out our Code of Conduct.













          Vishal Dindalkop is a new contributor. Be nice, and check out our Code of Conduct.












          Vishal Dindalkop is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1104980%2fubuntu-screen-starts-with-tilted-screen-how-do-i-add-xrandr-startup-command%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?

          File:DeusFollowingSea.jpg