LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-22-2004, 03:51 PM   #1
Zinctek
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
Changing Res to 1024 by 768


Hello all i am new to linux and i really need some help.

As i use my main pc for alot of work and i wanted to learn linux i couldnt use that so i am using my laptop to learn how to use it.

i have just installed linux and its running as 800 by 600 red hat 9.0 i need it to be 1024 by 768 as my laptop only looks good in that res at the moment its all shity looking so to speak.

i have tired going to systems setting / display and changing the res there and then clicking ok it asks to restart x server i do that by doing crt alt and backspace that doesnt work i also restarted linux and that also doesnt work as well.

i wanted to know weather there is another way of doing this i have also tired Ctl alt + / - that doesnt work

Any other way because i think i have asked all my mates and tired everything they know and no luck

i have a s3 gfx card. and a 15.1" screen

Hope you can help
 
Old 02-22-2004, 04:11 PM   #2
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
Edit your /etc/X11/XF86Config file. Should have a section like this:

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubsection

The first resolution in the lists is the one X will use.

Don't know if you've already tried that or not.
 
Old 02-22-2004, 04:14 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
open up (with a text editor) XFree's configuration file, which usually is /etc/X11/XF86Config and from within the file, look for "Screen sections" or "Section screen" (can't remember the exact term...but you'll see just look)

there you have listed the resolutions for different colour depths, like the following example:

Subsection "Display"
Depth 8
Modes "800x600" "640x480"
ViewPort 0 0
Virtual 1600 1280
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
Virtual 1280 1024

(it almost surely differs from those, but looks a bit like the ones above..)

now the line Modes is what is interesting. if you know what depth you use (16, for example) just change it's Mode -line, or all if you wish to do so: if there is no "1024x768" (yes, you see that all the resolutions are given in a WIDTHxHEIGHT -style) on the line, add it (remember to put space between two resolutions, and remember the quotes) there. if there is one, but it's not the first, move it to the first in the line (because that's the one that's loaded when X starts, and others have to be changed manually).

so, if you have a line like this:

"800x600" "640x480"

add a new entry, so that it looks like this:

"1024x768" "800x600" "640x480"

or, if you have a line like this (I don't think..but if you do)

"800x600" "640x480" "1024x768"

just move the last entry to the first place:

"1024x768" "800x600" "640x480"

then just save the file and restart your X that should do. the line (or lines, depending how many colour depths there are set) tells X that the first entry is the resolution that is used if possible, and it's given as "screen width X screen height".

if X for some reason can't use that resolution (it's written wrong or X can't handle it, monitor doesn't support it or something...) then the next one is tried until a working one is found.

hopefully this helped...it's the "raw" way but also the one which works.
 
Old 02-22-2004, 05:09 PM   #4
Zinctek
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for your help guys i sorted it out my monitor was set as unknown monitor i put it as a 15" laptop monitor restarted x server then rebooted and then i changed it to 1024 x 768 and restarted x server again and it seemed to work thanks

Cool forum to learn linux fast replys prob see me post here again soon thanks.
 
Old 02-22-2004, 06:18 PM   #5
mary
Member
 
Registered: Sep 2003
Distribution: Gentoo
Posts: 135

Rep: Reputation: 15
Glad it's working now. =)
 
  


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
using linux without X11 with 1024*768 resolution gaddargarson Fedora 3 04-05-2005 11:47 AM
Display of 1024 *768 fanatic_ravi Fedora 3 01-29-2005 11:39 PM
1024 X 768 not displaying, slackware. :King_58: Linux - Newbie 8 12-04-2004 05:02 AM
1024 x 768 Display Issues ug_the_caveman Fedora 3 02-07-2004 04:47 PM
ingame mouse problem under 1024*768 Comarez Linux - Games 2 10-28-2003 10:10 PM

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

All times are GMT -5. The time now is 09:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration