LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 10-13-2009, 04:23 PM   #1
Registered: Nov 2006
Posts: 58

Rep: Reputation: 15
laptop not setting correct external monitor resolution on startup

I have a laptop with an external monitor, after a recent upgrade from xubuntu 8.10 to 9.04 i found that the external monitor was no longer being set to the correct resolution, was being set to the laptop resolution. Each time i boot up i have to use "display settings" or "monitor settings" from the main menu to do it manually which i didnt have to do before. Is there a way to do this manually. Any help is much appreciated.

Old 10-15-2009, 05:48 AM   #2
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 90
Do you have a file /etc/X11/xorg.conf ? You might have to generate one -- AFTER you adjust your monitor resolution -- like this:
Xorg -configure :1
It will be created in your home directory as "", which you can copy as "xorg.conf" to /etc/X11 directory. Hope this helps.

Last edited by SharpyWarpy; 10-15-2009 at 05:52 AM. Reason: grammer
Old 10-16-2009, 12:14 AM   #3
Registered: Nov 2006
Posts: 58

Original Poster
Rep: Reputation: 15
Hi Sharpy,
Thanks for the reply but it didnt actually work (i thought it would). I Did the following:
used the command Xorg -configure :1, which created the file I renamed the existing file from xorg.conf to xorg.conf.old and renamed the file to xorg.conf and put it in the etc/X11 directory.

I thought that this would work but it had no effect. Obviously there is some other system that governs monitor resolution particularly at startup.

Any other ideas.

Old 10-21-2009, 04:27 PM   #4
Registered: Nov 2006
Posts: 58

Original Poster
Rep: Reputation: 15
I found that the xrandr command is all i need to detect the external monitor and set it up correctly etc however where can i put the xrandr commands so that they can be used to turn off the laptop screen and set the external monitor at startup?

Any help is much appreciated.

Old 10-22-2009, 12:07 AM   #5
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
If you want the commands to be run at startup, put them in /etc/rc.local script.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
laptop w/ compiz: external monitor and higher resolution psychobyte Ubuntu 0 08-23-2007 10:46 PM
cannot set full resolution external laptop monitor blurpee Linux - Hardware 0 06-01-2007 11:55 AM
Low resolution on external laptop monitor cgraf Linux - Laptop and Netbook 3 07-27-2006 09:17 PM
correct resolution for wide aspect monitor crowmobe Linux - Hardware 2 03-12-2006 09:03 PM
XF86Config - Settings For Correct Resolution On Second Monitor Svha Linux - Software 3 10-03-2003 10:57 AM

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration