How do I get my desktop Icons back on my primary display?












6















So, I have read several questions - with and without answers - and though this is similar to others, I have found nothing particular to the issues I am experiencing. It is a three-part problem and I think they're all related erego why they are being posed as a single question.




  1. My desktop icons are all on my secondary display and I can't move them back.

  2. I can no longer maximize windows on my primary display by dragging them to the top of the screen, this results in them being dragged to a desktop with no display that shouldn't be an accessible area anyway.

  3. After hours of searching for solutions, I was finally able to write a script that will create and assign the proper resolution and position to my secondary display, and leave it alone if it isn't connected. The catch there is that I have to log in first, so prior to login I am stuck with a sideways login screen that is, oddly enough, on my secondary display.


I am using an older VAIO laptop with a VGA output (hence the need to create the proper resolution for my external monitor) and running Ubuntu MATE 16.04.



Here's a screen shot:



Monitor layout, icons, and example of window problem



And here's my script: feel free to do whatever you want with it. It may be of use to people with display configuration issues.



#!/bin/bash
xrandr --auto
cvt 1920 1080
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode VGA1 1920x1080_60.00
xrandr --output VGA1 --mode 1920x1080_60.00
xrandr --output VGA1 --rotate right
xrandr --output LVDS1 --pos 0x1281 --output VGA1 --pos 1281x0
xrandr --auto









share|improve this question





























    6















    So, I have read several questions - with and without answers - and though this is similar to others, I have found nothing particular to the issues I am experiencing. It is a three-part problem and I think they're all related erego why they are being posed as a single question.




    1. My desktop icons are all on my secondary display and I can't move them back.

    2. I can no longer maximize windows on my primary display by dragging them to the top of the screen, this results in them being dragged to a desktop with no display that shouldn't be an accessible area anyway.

    3. After hours of searching for solutions, I was finally able to write a script that will create and assign the proper resolution and position to my secondary display, and leave it alone if it isn't connected. The catch there is that I have to log in first, so prior to login I am stuck with a sideways login screen that is, oddly enough, on my secondary display.


    I am using an older VAIO laptop with a VGA output (hence the need to create the proper resolution for my external monitor) and running Ubuntu MATE 16.04.



    Here's a screen shot:



    Monitor layout, icons, and example of window problem



    And here's my script: feel free to do whatever you want with it. It may be of use to people with display configuration issues.



    #!/bin/bash
    xrandr --auto
    cvt 1920 1080
    xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
    xrandr --addmode VGA1 1920x1080_60.00
    xrandr --output VGA1 --mode 1920x1080_60.00
    xrandr --output VGA1 --rotate right
    xrandr --output LVDS1 --pos 0x1281 --output VGA1 --pos 1281x0
    xrandr --auto









    share|improve this question



























      6












      6








      6


      1






      So, I have read several questions - with and without answers - and though this is similar to others, I have found nothing particular to the issues I am experiencing. It is a three-part problem and I think they're all related erego why they are being posed as a single question.




      1. My desktop icons are all on my secondary display and I can't move them back.

      2. I can no longer maximize windows on my primary display by dragging them to the top of the screen, this results in them being dragged to a desktop with no display that shouldn't be an accessible area anyway.

      3. After hours of searching for solutions, I was finally able to write a script that will create and assign the proper resolution and position to my secondary display, and leave it alone if it isn't connected. The catch there is that I have to log in first, so prior to login I am stuck with a sideways login screen that is, oddly enough, on my secondary display.


      I am using an older VAIO laptop with a VGA output (hence the need to create the proper resolution for my external monitor) and running Ubuntu MATE 16.04.



      Here's a screen shot:



      Monitor layout, icons, and example of window problem



      And here's my script: feel free to do whatever you want with it. It may be of use to people with display configuration issues.



      #!/bin/bash
      xrandr --auto
      cvt 1920 1080
      xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
      xrandr --addmode VGA1 1920x1080_60.00
      xrandr --output VGA1 --mode 1920x1080_60.00
      xrandr --output VGA1 --rotate right
      xrandr --output LVDS1 --pos 0x1281 --output VGA1 --pos 1281x0
      xrandr --auto









      share|improve this question
















      So, I have read several questions - with and without answers - and though this is similar to others, I have found nothing particular to the issues I am experiencing. It is a three-part problem and I think they're all related erego why they are being posed as a single question.




      1. My desktop icons are all on my secondary display and I can't move them back.

      2. I can no longer maximize windows on my primary display by dragging them to the top of the screen, this results in them being dragged to a desktop with no display that shouldn't be an accessible area anyway.

      3. After hours of searching for solutions, I was finally able to write a script that will create and assign the proper resolution and position to my secondary display, and leave it alone if it isn't connected. The catch there is that I have to log in first, so prior to login I am stuck with a sideways login screen that is, oddly enough, on my secondary display.


      I am using an older VAIO laptop with a VGA output (hence the need to create the proper resolution for my external monitor) and running Ubuntu MATE 16.04.



      Here's a screen shot:



      Monitor layout, icons, and example of window problem



      And here's my script: feel free to do whatever you want with it. It may be of use to people with display configuration issues.



      #!/bin/bash
      xrandr --auto
      cvt 1920 1080
      xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
      xrandr --addmode VGA1 1920x1080_60.00
      xrandr --output VGA1 --mode 1920x1080_60.00
      xrandr --output VGA1 --rotate right
      xrandr --output LVDS1 --pos 0x1281 --output VGA1 --pos 1281x0
      xrandr --auto






      multiple-monitors icons display-resolution xrandr ubuntu-mate






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 27 '16 at 17:17









      grooveplex

      2,20611433




      2,20611433










      asked Jun 5 '16 at 22:20









      Bus42Bus42

      1001211




      1001211






















          5 Answers
          5






          active

          oldest

          votes


















          3














          I fixed this in in Display settings (System Settings --> Display). The three monitors I use are different sizes, but after dragging the monitors so that they were aligned along the bottom axis, my icons returned my primary monitor on the left



          Like this



          Display settings






          share|improve this answer


























          • Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

            – Gringo Suave
            Oct 17 '16 at 1:38





















          1














          I am running Gnome and have a dual monitor setup. If I hit Alt+Space a menu pops up on my primary display and "Move to Monitor Right" or "Move to Monitor Left" is highlighted. Click that selection and the icons move to the other screen.






          share|improve this answer


























          • the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

            – Bus42
            Jan 1 '17 at 20:51



















          0














          On Ubuntu 16.04, I solved this problem by duplicating desktop icons in the desktop folder: link1, link2,... and link1(copy), link2(copy), for instance. Then I place the duplicate icons as I wish in the two desktops with respect to the two monitors. Everything is fine even if I do monitor manipulations or reboot, etc...



          In your case, if you have three monitors, you need three links for the same thing in the desktop folder.






          share|improve this answer


























          • I don't think OP wants the icons to appear on each monitor, just on the primary one...

            – Zanna
            Aug 3 '17 at 9:24



















          0














          solved, right click on task-bar, under taskbar tab (box that opens) under 'multiple displays' panel, tick 'Show taskbar on all displays' -> in drop down box below box you just ticked is called ' Show task bar buttons on:' select 'All taskbars'. click apply,



          problem solved.






          share|improve this answer































            -2














            😭 The Issue



            Icons stay in the top blank black spot of the smaller display (usually laptop)



            screenshot



            Ugly Fix



            File Manager > Desktop > Drag icons to the smaller display & they will relocate




            • Pros: Very quick

            • Cons: Repeat every time a new icon is added






            share|improve this answer










            New contributor




            mi-ho 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: "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%2f783280%2fhow-do-i-get-my-desktop-icons-back-on-my-primary-display%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              5 Answers
              5






              active

              oldest

              votes








              5 Answers
              5






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              I fixed this in in Display settings (System Settings --> Display). The three monitors I use are different sizes, but after dragging the monitors so that they were aligned along the bottom axis, my icons returned my primary monitor on the left



              Like this



              Display settings






              share|improve this answer


























              • Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

                – Gringo Suave
                Oct 17 '16 at 1:38


















              3














              I fixed this in in Display settings (System Settings --> Display). The three monitors I use are different sizes, but after dragging the monitors so that they were aligned along the bottom axis, my icons returned my primary monitor on the left



              Like this



              Display settings






              share|improve this answer


























              • Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

                – Gringo Suave
                Oct 17 '16 at 1:38
















              3












              3








              3







              I fixed this in in Display settings (System Settings --> Display). The three monitors I use are different sizes, but after dragging the monitors so that they were aligned along the bottom axis, my icons returned my primary monitor on the left



              Like this



              Display settings






              share|improve this answer















              I fixed this in in Display settings (System Settings --> Display). The three monitors I use are different sizes, but after dragging the monitors so that they were aligned along the bottom axis, my icons returned my primary monitor on the left



              Like this



              Display settings







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Jun 27 '16 at 17:17









              grooveplex

              2,20611433




              2,20611433










              answered Jun 27 '16 at 16:46









              kevinbuchanjrkevinbuchanjr

              461




              461













              • Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

                – Gringo Suave
                Oct 17 '16 at 1:38





















              • Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

                – Gringo Suave
                Oct 17 '16 at 1:38



















              Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

              – Gringo Suave
              Oct 17 '16 at 1:38







              Hmm, I had problems with this, snapping didn't allow them to be aligned. I used arandr to fix alignment, but sadly icons still refuse to stay on my laptop screen.

              – Gringo Suave
              Oct 17 '16 at 1:38















              1














              I am running Gnome and have a dual monitor setup. If I hit Alt+Space a menu pops up on my primary display and "Move to Monitor Right" or "Move to Monitor Left" is highlighted. Click that selection and the icons move to the other screen.






              share|improve this answer


























              • the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

                – Bus42
                Jan 1 '17 at 20:51
















              1














              I am running Gnome and have a dual monitor setup. If I hit Alt+Space a menu pops up on my primary display and "Move to Monitor Right" or "Move to Monitor Left" is highlighted. Click that selection and the icons move to the other screen.






              share|improve this answer


























              • the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

                – Bus42
                Jan 1 '17 at 20:51














              1












              1








              1







              I am running Gnome and have a dual monitor setup. If I hit Alt+Space a menu pops up on my primary display and "Move to Monitor Right" or "Move to Monitor Left" is highlighted. Click that selection and the icons move to the other screen.






              share|improve this answer















              I am running Gnome and have a dual monitor setup. If I hit Alt+Space a menu pops up on my primary display and "Move to Monitor Right" or "Move to Monitor Left" is highlighted. Click that selection and the icons move to the other screen.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Dec 31 '16 at 13:45









              Zanna

              50.9k13136241




              50.9k13136241










              answered Dec 31 '16 at 12:43









              Chris BruniChris Bruni

              111




              111













              • the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

                – Bus42
                Jan 1 '17 at 20:51



















              • the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

                – Bus42
                Jan 1 '17 at 20:51

















              the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

              – Bus42
              Jan 1 '17 at 20:51





              the problem was the icons showing up on the secondary display and not being able to put them on the primary. I never figured it out, but I switched flavors to Ubuntu Gnome and that fixed everything and more.

              – Bus42
              Jan 1 '17 at 20:51











              0














              On Ubuntu 16.04, I solved this problem by duplicating desktop icons in the desktop folder: link1, link2,... and link1(copy), link2(copy), for instance. Then I place the duplicate icons as I wish in the two desktops with respect to the two monitors. Everything is fine even if I do monitor manipulations or reboot, etc...



              In your case, if you have three monitors, you need three links for the same thing in the desktop folder.






              share|improve this answer


























              • I don't think OP wants the icons to appear on each monitor, just on the primary one...

                – Zanna
                Aug 3 '17 at 9:24
















              0














              On Ubuntu 16.04, I solved this problem by duplicating desktop icons in the desktop folder: link1, link2,... and link1(copy), link2(copy), for instance. Then I place the duplicate icons as I wish in the two desktops with respect to the two monitors. Everything is fine even if I do monitor manipulations or reboot, etc...



              In your case, if you have three monitors, you need three links for the same thing in the desktop folder.






              share|improve this answer


























              • I don't think OP wants the icons to appear on each monitor, just on the primary one...

                – Zanna
                Aug 3 '17 at 9:24














              0












              0








              0







              On Ubuntu 16.04, I solved this problem by duplicating desktop icons in the desktop folder: link1, link2,... and link1(copy), link2(copy), for instance. Then I place the duplicate icons as I wish in the two desktops with respect to the two monitors. Everything is fine even if I do monitor manipulations or reboot, etc...



              In your case, if you have three monitors, you need three links for the same thing in the desktop folder.






              share|improve this answer















              On Ubuntu 16.04, I solved this problem by duplicating desktop icons in the desktop folder: link1, link2,... and link1(copy), link2(copy), for instance. Then I place the duplicate icons as I wish in the two desktops with respect to the two monitors. Everything is fine even if I do monitor manipulations or reboot, etc...



              In your case, if you have three monitors, you need three links for the same thing in the desktop folder.







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Aug 3 '17 at 9:22









              Zanna

              50.9k13136241




              50.9k13136241










              answered Aug 3 '17 at 8:42









              AlexAlex

              1




              1













              • I don't think OP wants the icons to appear on each monitor, just on the primary one...

                – Zanna
                Aug 3 '17 at 9:24



















              • I don't think OP wants the icons to appear on each monitor, just on the primary one...

                – Zanna
                Aug 3 '17 at 9:24

















              I don't think OP wants the icons to appear on each monitor, just on the primary one...

              – Zanna
              Aug 3 '17 at 9:24





              I don't think OP wants the icons to appear on each monitor, just on the primary one...

              – Zanna
              Aug 3 '17 at 9:24











              0














              solved, right click on task-bar, under taskbar tab (box that opens) under 'multiple displays' panel, tick 'Show taskbar on all displays' -> in drop down box below box you just ticked is called ' Show task bar buttons on:' select 'All taskbars'. click apply,



              problem solved.






              share|improve this answer




























                0














                solved, right click on task-bar, under taskbar tab (box that opens) under 'multiple displays' panel, tick 'Show taskbar on all displays' -> in drop down box below box you just ticked is called ' Show task bar buttons on:' select 'All taskbars'. click apply,



                problem solved.






                share|improve this answer


























                  0












                  0








                  0







                  solved, right click on task-bar, under taskbar tab (box that opens) under 'multiple displays' panel, tick 'Show taskbar on all displays' -> in drop down box below box you just ticked is called ' Show task bar buttons on:' select 'All taskbars'. click apply,



                  problem solved.






                  share|improve this answer













                  solved, right click on task-bar, under taskbar tab (box that opens) under 'multiple displays' panel, tick 'Show taskbar on all displays' -> in drop down box below box you just ticked is called ' Show task bar buttons on:' select 'All taskbars'. click apply,



                  problem solved.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 23 '18 at 6:44









                  daviddavid

                  1




                  1























                      -2














                      😭 The Issue



                      Icons stay in the top blank black spot of the smaller display (usually laptop)



                      screenshot



                      Ugly Fix



                      File Manager > Desktop > Drag icons to the smaller display & they will relocate




                      • Pros: Very quick

                      • Cons: Repeat every time a new icon is added






                      share|improve this answer










                      New contributor




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

























                        -2














                        😭 The Issue



                        Icons stay in the top blank black spot of the smaller display (usually laptop)



                        screenshot



                        Ugly Fix



                        File Manager > Desktop > Drag icons to the smaller display & they will relocate




                        • Pros: Very quick

                        • Cons: Repeat every time a new icon is added






                        share|improve this answer










                        New contributor




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























                          -2












                          -2








                          -2







                          😭 The Issue



                          Icons stay in the top blank black spot of the smaller display (usually laptop)



                          screenshot



                          Ugly Fix



                          File Manager > Desktop > Drag icons to the smaller display & they will relocate




                          • Pros: Very quick

                          • Cons: Repeat every time a new icon is added






                          share|improve this answer










                          New contributor




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










                          😭 The Issue



                          Icons stay in the top blank black spot of the smaller display (usually laptop)



                          screenshot



                          Ugly Fix



                          File Manager > Desktop > Drag icons to the smaller display & they will relocate




                          • Pros: Very quick

                          • Cons: Repeat every time a new icon is added







                          share|improve this answer










                          New contributor




                          mi-ho 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








                          edited 5 hours ago









                          anonymous2

                          3,33741847




                          3,33741847






                          New contributor




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









                          answered 8 hours ago









                          mi-homi-ho

                          12




                          12




                          New contributor




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





                          New contributor





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






                          mi-ho 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 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%2f783280%2fhow-do-i-get-my-desktop-icons-back-on-my-primary-display%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

                              How did Captain America manage to do this?

                              迪纳利

                              南乌拉尔铁路局