LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-18-2008, 12:16 PM   #1
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
setup a specific video resolution by default


hi, when I start the X-server the screen resolution is the highest that the video card accept, but this resolution is a little uncomfortable for me. So, every time I have to setup the better resolution, so my question is:

how can i set up my resolution (1024x768) by default?
I know that i have to modified the xorg.conf but I don't know in what line
 
Old 06-18-2008, 12:22 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 544

Rep: Reputation: 40
edit the /etc/X11/xorg.conf

under the Screen Sections add something that says Modes (shown below)

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
 
Old 06-18-2008, 01:01 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
the first mode listed will be the default resolution. so if you have multiple modes in the section referenced in the previous post, move 1024x768 to the beginning of that list..
Code:
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "1280x1024" "800x600"
	EndSubSection
 
  


Reply


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
Have a Dell Inspiron 1100 with slow video or 640x480 video resolution? Solution here! beatupbilly Fedora 3 05-11-2007 10:44 AM
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
X: using larger resolution for games than default desktop resolution Jamo Linux - Games 2 04-10-2005 03:16 AM
over sized desktop with specific resolution N_A_J_M Linux - General 5 01-09-2004 10:35 PM
starting X from the command line in a specific resolution jdaniel Linux - General 5 09-10-2003 09:25 PM


All times are GMT -5. The time now is 06:51 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration