|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
||||
Most LCD monitors have one recommended resolution, so you should figure out what that is for your monitor and use it. You also need to make sure your video card is capable of supporting that resolution.
In your xorg.conf, in the Monitors section, comment out any HorizSync and VertRefresh lines. In the Screens section, add the recommended resolution. For example, if your recommended resolution is 1440x900, you Screen section might look like this: Code:
Section "Screen" Identifier "Screen 0" Device "videocard0" Monitor "lcd0" DefaultDepth 24 Subsection "Display" Depth 24 Modes "1440x900" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection |
|
|||
If you are using a new enough version of Xorg, you don't need to change a thing. Just restart the X server and it will detect the optimal mode and rate for your monitor and use it.
Adam |
|
|||
adamk is technically correct, but I would run X -configure and copy the xorg.conf.new to /etc/X11/xorg.conf, manually merging anything you had changed in the existing file.
I like having a file, sometimes Xorg makes the wrong assumptions.. |
|
|||
Isn't Xorg making the same assumptions when you run it with -configure? :-)
Adam |
|
||||
Another thing you may want to do is to compile print/freetype2 with WITH_LCD_FILTERING, this uses a cleartype-like technique to improve font quality on LCD screens.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
It's the ability to overwrite said assumptions that make the file worth having available.
|
|
||||
X -configure will (almost) never give you a perfect xorg.conf, but it will (almost) always give you a working xorg.conf file, it's much easier to start from that then to start from scratch.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
Well, I didn't say not to use an xorg.conf file, just that changing monitors shouldn't require any changes to the file :-)
|
|
|||
And I never said you were wrong.
Friends? :P |
|
|||
And I never said you said I was wrong :-)
Yes, I think a truce of friendship is in order. What it really boils down to is that we are both right :-) Adam |
|
|||
Quote:
I've never tried simply letting xorg figure out what I have, as I suspect the results would not be particularly useful. |
|
|||
Ahhh, but if you had an Xorg setup that already worked, and simply wanted to switch monitors, chances are it wouldn't require any changes to the xorg.conf file :-)
I'm not suggesting that the OP let Xorg figure out everything, simply that there is nothing that probably needs to get changed in /etc/X11/xorg.conf :-) Adam |
|
|||
If you change the resolution, refresh rate or anything else about the monitor then yes indeed you would have to change xorg.conf. FWIW, I've used and edited this base xorg.conf for six years, even when it was xf86.conf (or whatever it was called back in the day).
|
|
|||
Quote:
Adam |
|
|||
You are not specifying anything in that section that would need to be changed when switching monitors.
|
|
|||
I did.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change for rc.lkm | IdOp | NetBSD General | 2 | 24th August 2009 02:33 PM |
Username Change | ninjatux | Off-Topic | 3 | 24th March 2009 06:45 PM |
change ttl value | ecnalbya | OpenBSD Security | 18 | 23rd August 2008 12:46 PM |
rpc.nfsd threads, how do i change them? | NathanL | FreeBSD General | 2 | 11th July 2008 11:28 AM |
Change the Size of a Slice | kienjakenobi | FreeBSD General | 9 | 27th June 2008 03:01 PM |