UbuntuThis forum is for the discussion of Ubuntu 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 have a laptop with a 1920x1200 display, and a 24 inch desktop monitor that does 1920x1200 plugged into the VGA output of the laptop. There are some display configuration choices. But the only one that actually brings the big monitor alive (e.g. outputs video from the VGA port) is the "twin view" where the displays can be side by side.
I don't really want a side by side mode. That's because the laptop monitor is just impractical at the desk, and made worse because the only space to position it when at the desk sets it further back making its small monitor even harder to see. Many applications, such as the folder browser when I plug in external drives, pop up in the laptop display and I have to drag them over.
When I try to configure other modes (trying to see if they might give me what I want since the terminology doesn't really say), only the laptop display gets any video. The big monitor (e.g. the VGA port) doesn't get any in these modes.
What I want is for a display mode which is just 1920x1200 and displays on the big monitor.
If I can get two independent displays, each of which can select a virtual desktop separately, at the same time, that would be a plus. Even better if they can login, logout, and switch user separately. But I don't know if the video card can let me run two instances of X or not (Ubuntu seems to be doing background instances of X to manage switching users).
But even if it just gives me one 1920x1200 display and shows exactly the same thing on both displays all the time, that's more usable than what I have now.
Later when I move to a real desktop workstation with two real monitors then the 3840x1200 side by side mode would be fine.
Another issue is that when I try to save the configuration I do have, I get an error message popup that it is unable to parse the xorg.conf file. The file exists, appears to be a very simple stock configuration, and I would think it should be able to parse and modify that. So I have to manually set up this two display configuration every time I login.
The laptop is a Dell M4400. I don't know much else about it, yet.
If you have an nvidia graphics chip, you may need to run sudo nvidia-xconfig first. I had the same parsing issue and it turned out that for whatever reason my xorg.conf was not properly configured until I ran the xconfig thingy.
If you have an nvidia graphics chip, you may need to run sudo nvidia-xconfig first. I had the same parsing issue and it turned out that for whatever reason my xorg.conf was not properly configured until I ran the xconfig thingy.
I made a backup of /etc/X11 first then ran
Code:
nvidia-xconfig -o /root/nvidia-x.conf
which write BOTH /etc/X11/xorg.conf and /root/nvidia-x.conf but not exactly the same. The difference is:
Notice the Screen statement is slightly different. Strange it wrote /etc/X11/xorg.conf despite -o telling it to write elsewhere (at least I made a backup before). But even more strange these files are different.
I ran nvidia-xconfig and let it rebuild the xorg.conf file (previously mentioned). Then I rebooted and logged into the userid I first set up (admin rights) and ran the Nvidia configuration there. I set up the twin-view across the two monitors.
When trying to save the configuration, it failed (claimed it could not create /etc/X11/xorg.conf.backup) due to permissions on the /etc/X11 directory. Apparently it doesn't run as root and doesn't go through whatever tool that prompts for password to do rootish things. So I "chmod 777 /etc/X11" temporarily and redid the configuration saving and that worked. They should update this to try to access root permission through whatever the other programs like package manager do it.
OK, so it seems to work. Reboot and login again and I get the twin display automatically by default. The next test failed: rebooting with the desk monitor turned off, having ONLY the laptop display. What I wanted is for it to detect there is no 2nd monitor, and fall back to 1920x1200 on the one display. The 3840x1200 mode across two monitors should only happen when two monitors are actually on (though I can see where in some cases people might want it to do it the other way, to avoid a restart of X just because one monitor was powered off). But in this case, if the laptop is being used portable, I really need it to be in a one monitor mode, particularly because the login prompt and the menu to restart/shutdown was on the other display screen (that had no working monitor). So my next chore is to figure out how to make it behave like that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.