LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hi,
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.

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

Rep: Reputation: 91
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 "xorg.conf.new", 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
katesfb
Member
 
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 xorg.conf.new. I renamed the existing file from xorg.conf to xorg.conf.old and renamed the file xorg.conf.new 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.

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

Original Poster
Rep: Reputation: 15
Hi,
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.

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 AM.

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