LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to fix my screen resolution (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-fix-my-screen-resolution-284664/)

takky 01-31-2005 07:08 PM

How to fix my screen resolution
 
Hi,

I just installed my Fedora Core 3 on my laptop. My screen is native resolution of 1280x768.

Can somebody teach me how to get this resolution. :confused:

Thanks

cadkins 01-31-2005 07:24 PM

look at your xorg.conf file. It should be in the /etc/xorg folder. Look at the monitor section something like:

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
# HorizSync 29.0 - 49.0
# VertRefresh 0.0 - 60.0
Option "dpms"
ModeLine "1280x800"
EndSection

need to add your resolution there, reboot and then it should show up in your control panel under "Periphials". That is if you use KDE.

What window manager are you using?

takky 01-31-2005 08:23 PM

I'm using KDE.

I went to /etc/ but i dont have xorg folder

win32sux 01-31-2005 08:24 PM

Quote:

Originally posted by takky
I went to /etc/ but i dont have xorg folder
it should be an X11 folder... on my box the file is /etc/X11/xorg.conf, for example...

takky 01-31-2005 08:35 PM

hmm I changed it to

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Unknown monitor"
# HorizSync 29.0 - 49.0
# VertRefresh 0.0 - 60.0
Option "dpms"
ModeLine "1280x768"
EndSection

and now it wont boot up. Its stuck at the checking stage for kernel or something.

label 01-31-2005 08:37 PM

Try starting at a lower resolution. Just to see if it still is working. Or your moniter might not support the horizontal sync and vertical refresh your set at. Becareful with that.

takky 01-31-2005 08:38 PM

I cant boot up into linux.

Is there anyway to edit that file? =/

win32sux 01-31-2005 08:42 PM

you could bust-out the rescue cd and edit the file from there...

takky 01-31-2005 09:44 PM

Thanks! Finally got it working hehe

cadkins 02-01-2005 01:03 PM

takky,

please share with us what you did to fix it.

takky 02-01-2005 04:47 PM

I googled for a ModeLine with screen similar to mine (14" widescreen at 1280x768)

I found HP laptop with similar specs and used their modeline:

ModeLine "1280x768" 83.77 1280 1336 1616 1728 768 770 782 808

...and it worked ^^

jschiwal 02-01-2005 07:55 PM

There is a program called 'gtf' which can calculate the modeline for you.

gtf -x 1024 768 60

will display a modeline for "1024x768"@60hz vertical refresh.
It is part of the XFree86/Xorg installation, so you should alread have it.


All times are GMT -5. The time now is 05:39 PM.