Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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 that during bootup will detect an external monitor and work with no problem, but when hooked up to a system of switches defaults to an incorrect monitor setting. Is there an easy way to put in default monitor settings and shut off monitor detection? I have attempted to edit the /etc/X11/XF86Config-4 file and had no luck.
An easy way to fix this would be to start X from command line, with two different layouts. If you want to use graphical login, I suppose you need some program that will detect the monitor and start X with appropriate configuration, or alternatively make my check (below) before starting any display manager.
Anyways, my solution, which I had to apply to my laptop:
1) Make runlevel 3 the default in /etc/inittab, and if necessary, remove startup links to xdm, gdm or kdm from /etc/rc3.d (in debian). They are names like S99xdm or similar.
2) Add new monitor section to the /etc/X11/XF86Config-4 for the external monitor
3) Add new layout section to the same file, which uses external monitor
4) Start X with following commands, depending which monitor you want to use:
That helps alot, but I want it to always default to the same monitor, no matter what it is hooked up to. What file do I edit and how do I edit it to always come up with the same monitor? And can I keep it from trying to recognize any monitor? I want it to boot up and load the same monitor settings everytime, in other words. Where do I do that?
I only want to have the same settings for the same monitor for the EXTERNAL monitor. Without changing the default monitor settings.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.