How to change the default “fullscreen” monitor?












3















I have to monitors, one attached to my Nvidia graphics card using HDMI, the other one using VGA (using a DVI-VGA adapter). Most fullscreen games (that even recognizes that there are two monitors) uses the secondary monitor. The primary monitor is correctly set when I check from nvidia-settings, xrandr or KDE system settings.



My current workaround is to simply disable monitor 2 when playing a game but that's not satisfiying. How can I effectively set the primary screen?










share|improve this question

























  • Does setting the primary with xrandr help?

    – derobert
    Apr 4 '13 at 21:20











  • xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

    – Erik
    Apr 4 '13 at 22:15











  • Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

    – peterph
    Apr 5 '13 at 7:45






  • 1





    Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

    – Bananguin
    Apr 5 '13 at 9:32
















3















I have to monitors, one attached to my Nvidia graphics card using HDMI, the other one using VGA (using a DVI-VGA adapter). Most fullscreen games (that even recognizes that there are two monitors) uses the secondary monitor. The primary monitor is correctly set when I check from nvidia-settings, xrandr or KDE system settings.



My current workaround is to simply disable monitor 2 when playing a game but that's not satisfiying. How can I effectively set the primary screen?










share|improve this question

























  • Does setting the primary with xrandr help?

    – derobert
    Apr 4 '13 at 21:20











  • xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

    – Erik
    Apr 4 '13 at 22:15











  • Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

    – peterph
    Apr 5 '13 at 7:45






  • 1





    Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

    – Bananguin
    Apr 5 '13 at 9:32














3












3








3








I have to monitors, one attached to my Nvidia graphics card using HDMI, the other one using VGA (using a DVI-VGA adapter). Most fullscreen games (that even recognizes that there are two monitors) uses the secondary monitor. The primary monitor is correctly set when I check from nvidia-settings, xrandr or KDE system settings.



My current workaround is to simply disable monitor 2 when playing a game but that's not satisfiying. How can I effectively set the primary screen?










share|improve this question
















I have to monitors, one attached to my Nvidia graphics card using HDMI, the other one using VGA (using a DVI-VGA adapter). Most fullscreen games (that even recognizes that there are two monitors) uses the secondary monitor. The primary monitor is correctly set when I check from nvidia-settings, xrandr or KDE system settings.



My current workaround is to simply disable monitor 2 when playing a game but that's not satisfiying. How can I effectively set the primary screen?







nvidia multi-monitor games






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 4 '13 at 22:16







Erik

















asked Apr 4 '13 at 19:41









ErikErik

1,1332926




1,1332926













  • Does setting the primary with xrandr help?

    – derobert
    Apr 4 '13 at 21:20











  • xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

    – Erik
    Apr 4 '13 at 22:15











  • Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

    – peterph
    Apr 5 '13 at 7:45






  • 1





    Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

    – Bananguin
    Apr 5 '13 at 9:32



















  • Does setting the primary with xrandr help?

    – derobert
    Apr 4 '13 at 21:20











  • xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

    – Erik
    Apr 4 '13 at 22:15











  • Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

    – peterph
    Apr 5 '13 at 7:45






  • 1





    Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

    – Bananguin
    Apr 5 '13 at 9:32

















Does setting the primary with xrandr help?

– derobert
Apr 4 '13 at 21:20





Does setting the primary with xrandr help?

– derobert
Apr 4 '13 at 21:20













xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

– Erik
Apr 4 '13 at 22:15





xrandr already reports that it is. I guess it gets the info from the same source as the other tools.

– Erik
Apr 4 '13 at 22:15













Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

– peterph
Apr 5 '13 at 7:45





Could this depend on the position of the mouse pointer at the time the application goes fullscreen?

– peterph
Apr 5 '13 at 7:45




1




1





Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

– Bananguin
Apr 5 '13 at 9:32





Depends on the game and its implementation, I guess. There are other things, like the gnome-panel ... mate-panel these days ... which defines that monitor as primary which is reported first by the graphics board. Stupid and wrong implementation, but true. Maybe your games support some command line arguments for placement and/or monitor selection?

– Bananguin
Apr 5 '13 at 9:32










1 Answer
1






active

oldest

votes


















0














While I haven't been able to actually keep both screens enabled, I can at least map games to the correct screen. What I did was change the 'metamode' line in xorg.conf:



Option         "metamodes" "CRT: 1280x1024 +1920+180, DFP: nvidia-auto-select +0+0; DFP: 1920x1200, CRT: NULL"


I'm not entirely sure what the first part does, it was autogenerated by nvidia-settings. The second part however instructs the driver to realize a request for 1920x1200 resolution -- the native resolution of my primary screen, DFP -- by disabling the secondary one (CRT).



Those games that were well-behaved to begin with never actually changed the resolution to begin with but instead created a full-screen sized borderless window and placed it on the primary screen.



EDIT: This doesn't work as well as I thought, the mode isn't switched back properly later.






share|improve this answer

























    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',
    autoActivateHeartbeat: false,
    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%2f71234%2fhow-to-change-the-default-fullscreen-monitor%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














    While I haven't been able to actually keep both screens enabled, I can at least map games to the correct screen. What I did was change the 'metamode' line in xorg.conf:



    Option         "metamodes" "CRT: 1280x1024 +1920+180, DFP: nvidia-auto-select +0+0; DFP: 1920x1200, CRT: NULL"


    I'm not entirely sure what the first part does, it was autogenerated by nvidia-settings. The second part however instructs the driver to realize a request for 1920x1200 resolution -- the native resolution of my primary screen, DFP -- by disabling the secondary one (CRT).



    Those games that were well-behaved to begin with never actually changed the resolution to begin with but instead created a full-screen sized borderless window and placed it on the primary screen.



    EDIT: This doesn't work as well as I thought, the mode isn't switched back properly later.






    share|improve this answer






























      0














      While I haven't been able to actually keep both screens enabled, I can at least map games to the correct screen. What I did was change the 'metamode' line in xorg.conf:



      Option         "metamodes" "CRT: 1280x1024 +1920+180, DFP: nvidia-auto-select +0+0; DFP: 1920x1200, CRT: NULL"


      I'm not entirely sure what the first part does, it was autogenerated by nvidia-settings. The second part however instructs the driver to realize a request for 1920x1200 resolution -- the native resolution of my primary screen, DFP -- by disabling the secondary one (CRT).



      Those games that were well-behaved to begin with never actually changed the resolution to begin with but instead created a full-screen sized borderless window and placed it on the primary screen.



      EDIT: This doesn't work as well as I thought, the mode isn't switched back properly later.






      share|improve this answer




























        0












        0








        0







        While I haven't been able to actually keep both screens enabled, I can at least map games to the correct screen. What I did was change the 'metamode' line in xorg.conf:



        Option         "metamodes" "CRT: 1280x1024 +1920+180, DFP: nvidia-auto-select +0+0; DFP: 1920x1200, CRT: NULL"


        I'm not entirely sure what the first part does, it was autogenerated by nvidia-settings. The second part however instructs the driver to realize a request for 1920x1200 resolution -- the native resolution of my primary screen, DFP -- by disabling the secondary one (CRT).



        Those games that were well-behaved to begin with never actually changed the resolution to begin with but instead created a full-screen sized borderless window and placed it on the primary screen.



        EDIT: This doesn't work as well as I thought, the mode isn't switched back properly later.






        share|improve this answer















        While I haven't been able to actually keep both screens enabled, I can at least map games to the correct screen. What I did was change the 'metamode' line in xorg.conf:



        Option         "metamodes" "CRT: 1280x1024 +1920+180, DFP: nvidia-auto-select +0+0; DFP: 1920x1200, CRT: NULL"


        I'm not entirely sure what the first part does, it was autogenerated by nvidia-settings. The second part however instructs the driver to realize a request for 1920x1200 resolution -- the native resolution of my primary screen, DFP -- by disabling the secondary one (CRT).



        Those games that were well-behaved to begin with never actually changed the resolution to begin with but instead created a full-screen sized borderless window and placed it on the primary screen.



        EDIT: This doesn't work as well as I thought, the mode isn't switched back properly later.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 11 '15 at 14:40

























        answered Apr 5 '13 at 13:35









        ErikErik

        1,1332926




        1,1332926






























            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f71234%2fhow-to-change-the-default-fullscreen-monitor%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

            Morgemoulin

            Scott Moir

            Souastre