Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running Ubuntu 15.10 on a 2012 iMac with an external Dell monitor attached and attempting to control the monitor setup with the Nvidia driver version 352.63 settings. I don't think this is relevant, but just in case, the internal monitor has 1920x1080 resolution; the external has 1680 x 1050 resolution. The X Server Nvidia settings app gives me the opportunity to select which monitor is the primary display for the x-screen, and for this I select the internal monitor. But this doesn't seem to matter; when I start up the computer it always defaults to the external monitor for initial login and the window location for any app I start up (until I move it over to the other monitor). I looked at both the xorg.conf settings and the output of xrandr -q (both attached), and the external monitor is referred to as "DP-1" and the internal as "DP-2". The xrandr output also refers to DP2 as the primary, but it isn't, at least not until I reopen the X Server Nvidia settings app after startup. The xorg.conf file, section Monitor, seems to refer to the internal monitor as "Monitor0" if I am interpreting the output correctly, and "Device0" as the nvidia graphics card in my Mac. I am not an advanced user and I don't know how to manipulate the monitor settings other than through the GUI X Server Nvidia settings, and this doesn't seem to do any good as far as making the internal monitor the primary monitor. I would really appreciate any advice as to how I can reverse this.
Incidentally, if I log out and log back in, both monitors go blank and the only way to recover is to reboot. Reboot always turns on both monitors, but with the wrong one (the external) as the primary.
Thanks Emerson. I want to make sure I am interpreting your xrandr command so that I can do the equivalent on my system. I think that what it means is to put whatever monitor is identified as DVI-I-3 to the left of DVI-I-2. Does the --auto part specify which monitor is the primary one? Or is it the first one listed in the command?
--auto For connected but disabled outputs, this will enable them using their first preferred mode
(or, something close to 96dpi if they have no preferred mode). For disconnected but enabled
outputs, this will disable them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.