How can I swap my two screens, left to right?











up vote
16
down vote

favorite
7












I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back?



Edit - Specifically, I'm using Gnome, though we might also want to keep this question generic.



Edit 2 - It appears that my driver isn't compatible with xrandr. I'm attaching log of /var/log/Xorg.0.log here










share|improve this question
























  • Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
    – Gilles
    Apr 5 '11 at 18:06















up vote
16
down vote

favorite
7












I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back?



Edit - Specifically, I'm using Gnome, though we might also want to keep this question generic.



Edit 2 - It appears that my driver isn't compatible with xrandr. I'm attaching log of /var/log/Xorg.0.log here










share|improve this question
























  • Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
    – Gilles
    Apr 5 '11 at 18:06













up vote
16
down vote

favorite
7









up vote
16
down vote

favorite
7






7





I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back?



Edit - Specifically, I'm using Gnome, though we might also want to keep this question generic.



Edit 2 - It appears that my driver isn't compatible with xrandr. I'm attaching log of /var/log/Xorg.0.log here










share|improve this question















I pressed something and accidentally swapped my two screens. My left one is actually considered as the right one, and vice versa. How can I swap them back?



Edit - Specifically, I'm using Gnome, though we might also want to keep this question generic.



Edit 2 - It appears that my driver isn't compatible with xrandr. I'm attaching log of /var/log/Xorg.0.log here







xorg gnome xrandr monitors multi-monitor






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 16 '17 at 10:56









Jeff Schaller

37.2k1052121




37.2k1052121










asked Apr 4 '11 at 15:29









ripper234

8,889346684




8,889346684












  • Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
    – Gilles
    Apr 5 '11 at 18:06


















  • Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
    – Gilles
    Apr 5 '11 at 18:06
















Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
– Gilles
Apr 5 '11 at 18:06




Your upload only has the first 49 lines (and the relevant parts are later). Don't copy-paste from an editor, just upload the whole file.
– Gilles
Apr 5 '11 at 18:06










3 Answers
3






active

oldest

votes

















up vote
25
down vote













Your desktop environment probably has a way, but you don't say which one you're using (if any).



If your display driver is compatible with the XRandR extension, which is the standard X.org method for managing display resolutions and arrangements, you can use the command-line utility xrandr. I think the proprietary NVidia driver bypasses XRandR, so if you're using it, you'll have to use a dedicated NVidia tool.



Run xrandr (with no argument) to see your monitor (screen) arrangement. You'll see lines like these:



DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
DVI-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm


This example means that I have two monitors called DVI-0 and DVI-1, and DVI-1 is at the top left (position +0+0) while DVI-0 is to its right (position +1600+0). To swap them, I would run



xrandr --output DVI-0 --left-of DVI-1





share|improve this answer





















  • I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
    – ripper234
    Apr 5 '11 at 6:34










  • @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
    – Gilles
    Apr 5 '11 at 7:18










  • here's the log, thanks. pastebin.com/wpNutkwp
    – ripper234
    Apr 5 '11 at 7:54










  • That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
    – 8bitjunkie
    May 10 at 11:31




















up vote
1
down vote













I used the native Gnome Monitor Manager (from the System->Preferences menu) and it worked like a charm.






share|improve this answer




























    up vote
    0
    down vote













    I don't remember where I found this answer, but it works for me xrandr -o normal






    share|improve this answer








    New contributor




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


















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "106"
      };
      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: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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%2funix.stackexchange.com%2fquestions%2f10589%2fhow-can-i-swap-my-two-screens-left-to-right%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








      up vote
      25
      down vote













      Your desktop environment probably has a way, but you don't say which one you're using (if any).



      If your display driver is compatible with the XRandR extension, which is the standard X.org method for managing display resolutions and arrangements, you can use the command-line utility xrandr. I think the proprietary NVidia driver bypasses XRandR, so if you're using it, you'll have to use a dedicated NVidia tool.



      Run xrandr (with no argument) to see your monitor (screen) arrangement. You'll see lines like these:



      DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
      DVI-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm


      This example means that I have two monitors called DVI-0 and DVI-1, and DVI-1 is at the top left (position +0+0) while DVI-0 is to its right (position +1600+0). To swap them, I would run



      xrandr --output DVI-0 --left-of DVI-1





      share|improve this answer





















      • I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
        – ripper234
        Apr 5 '11 at 6:34










      • @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
        – Gilles
        Apr 5 '11 at 7:18










      • here's the log, thanks. pastebin.com/wpNutkwp
        – ripper234
        Apr 5 '11 at 7:54










      • That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
        – 8bitjunkie
        May 10 at 11:31

















      up vote
      25
      down vote













      Your desktop environment probably has a way, but you don't say which one you're using (if any).



      If your display driver is compatible with the XRandR extension, which is the standard X.org method for managing display resolutions and arrangements, you can use the command-line utility xrandr. I think the proprietary NVidia driver bypasses XRandR, so if you're using it, you'll have to use a dedicated NVidia tool.



      Run xrandr (with no argument) to see your monitor (screen) arrangement. You'll see lines like these:



      DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
      DVI-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm


      This example means that I have two monitors called DVI-0 and DVI-1, and DVI-1 is at the top left (position +0+0) while DVI-0 is to its right (position +1600+0). To swap them, I would run



      xrandr --output DVI-0 --left-of DVI-1





      share|improve this answer





















      • I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
        – ripper234
        Apr 5 '11 at 6:34










      • @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
        – Gilles
        Apr 5 '11 at 7:18










      • here's the log, thanks. pastebin.com/wpNutkwp
        – ripper234
        Apr 5 '11 at 7:54










      • That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
        – 8bitjunkie
        May 10 at 11:31















      up vote
      25
      down vote










      up vote
      25
      down vote









      Your desktop environment probably has a way, but you don't say which one you're using (if any).



      If your display driver is compatible with the XRandR extension, which is the standard X.org method for managing display resolutions and arrangements, you can use the command-line utility xrandr. I think the proprietary NVidia driver bypasses XRandR, so if you're using it, you'll have to use a dedicated NVidia tool.



      Run xrandr (with no argument) to see your monitor (screen) arrangement. You'll see lines like these:



      DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
      DVI-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm


      This example means that I have two monitors called DVI-0 and DVI-1, and DVI-1 is at the top left (position +0+0) while DVI-0 is to its right (position +1600+0). To swap them, I would run



      xrandr --output DVI-0 --left-of DVI-1





      share|improve this answer












      Your desktop environment probably has a way, but you don't say which one you're using (if any).



      If your display driver is compatible with the XRandR extension, which is the standard X.org method for managing display resolutions and arrangements, you can use the command-line utility xrandr. I think the proprietary NVidia driver bypasses XRandR, so if you're using it, you'll have to use a dedicated NVidia tool.



      Run xrandr (with no argument) to see your monitor (screen) arrangement. You'll see lines like these:



      DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
      DVI-1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm


      This example means that I have two monitors called DVI-0 and DVI-1, and DVI-1 is at the top left (position +0+0) while DVI-0 is to its right (position +1600+0). To swap them, I would run



      xrandr --output DVI-0 --left-of DVI-1






      share|improve this answer












      share|improve this answer



      share|improve this answer










      answered Apr 4 '11 at 18:11









      Gilles

      524k12610471577




      524k12610471577












      • I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
        – ripper234
        Apr 5 '11 at 6:34










      • @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
        – Gilles
        Apr 5 '11 at 7:18










      • here's the log, thanks. pastebin.com/wpNutkwp
        – ripper234
        Apr 5 '11 at 7:54










      • That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
        – 8bitjunkie
        May 10 at 11:31




















      • I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
        – ripper234
        Apr 5 '11 at 6:34










      • @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
        – Gilles
        Apr 5 '11 at 7:18










      • here's the log, thanks. pastebin.com/wpNutkwp
        – ripper234
        Apr 5 '11 at 7:54










      • That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
        – 8bitjunkie
        May 10 at 11:31


















      I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
      – ripper234
      Apr 5 '11 at 6:34




      I'm using Gnome. Having some problems with randr - pastebin.com/rZEjdN4B
      – ripper234
      Apr 5 '11 at 6:34












      @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
      – Gilles
      Apr 5 '11 at 7:18




      @ripper234: Your display driver isn't compatible with XRandR. What display driver are you using (not just nvidia/ati/intel, but which driver: nv/nouveau/nvidia/radeon/radeonhd/fglrx/…)? If you're not sure, attach the contents of /var/log/Xorg.0.log to your question.
      – Gilles
      Apr 5 '11 at 7:18












      here's the log, thanks. pastebin.com/wpNutkwp
      – ripper234
      Apr 5 '11 at 7:54




      here's the log, thanks. pastebin.com/wpNutkwp
      – ripper234
      Apr 5 '11 at 7:54












      That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
      – 8bitjunkie
      May 10 at 11:31






      That swaps them around but now I can't scroll the mouse in the correct direction between them. When my mouse is on my right screen, when I scroll left, the mouse stops at the barrier of the right screen - it does not continue onto the left screen.
      – 8bitjunkie
      May 10 at 11:31














      up vote
      1
      down vote













      I used the native Gnome Monitor Manager (from the System->Preferences menu) and it worked like a charm.






      share|improve this answer

























        up vote
        1
        down vote













        I used the native Gnome Monitor Manager (from the System->Preferences menu) and it worked like a charm.






        share|improve this answer























          up vote
          1
          down vote










          up vote
          1
          down vote









          I used the native Gnome Monitor Manager (from the System->Preferences menu) and it worked like a charm.






          share|improve this answer












          I used the native Gnome Monitor Manager (from the System->Preferences menu) and it worked like a charm.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 5 '11 at 20:14









          ripper234

          8,889346684




          8,889346684






















              up vote
              0
              down vote













              I don't remember where I found this answer, but it works for me xrandr -o normal






              share|improve this answer








              New contributor




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






















                up vote
                0
                down vote













                I don't remember where I found this answer, but it works for me xrandr -o normal






                share|improve this answer








                New contributor




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




















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I don't remember where I found this answer, but it works for me xrandr -o normal






                  share|improve this answer








                  New contributor




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









                  I don't remember where I found this answer, but it works for me xrandr -o normal







                  share|improve this answer








                  New contributor




                  Vitaliy Sobol 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 answer



                  share|improve this answer






                  New contributor




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









                  answered Dec 3 at 12:43









                  Vitaliy Sobol

                  1




                  1




                  New contributor




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





                  New contributor





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






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






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • 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%2funix.stackexchange.com%2fquestions%2f10589%2fhow-can-i-swap-my-two-screens-left-to-right%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

                      サソリ

                      広島県道265号伴広島線

                      Accessing regular linux commands in Huawei's Dopra Linux