SCIENTIFIC-LINUX-USERS Archives

September 2008

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Summerfield <[log in to unmask]>
Reply To:
John Summerfield <[log in to unmask]>
Date:
Wed, 24 Sep 2008 16:59:13 +0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (101 lines)
Eve V. E. Kovacs wrote:
> How does one configure the display for an SL5.2 system?
> I have tried running system-config-display to change the resolution,
> but nothing happens. xorg.conf is unchanged.
> Thanks,
> Eve


Well....

Configuring displays has been a black for a long time, though it's 
improved heaps since RHL 3.0.3.

Usually, if I have a config that sort-of works, I attack it with vim[1]. 
I'm running sl5 on an HP DC7700 and I'm pretty sure I just copied the 
configuration from another DC7700, one running the (then) latest Fedora.

These days X itself can create a config file. man X for more.

I was going to put this up on a website, but it's not so big:
[root@bobtail ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by system-config-display

Section "ServerLayout"
         Identifier     "single head configuration"
         Screen      0  "Screen0" 0 0
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
         Identifier  "Keyboard0"
         Driver      "kbd"
         Option      "XkbModel" "pc105"
         Option      "XkbLayout" "us"
EndSection

Section "Device"
         Identifier  "Videocard0"
#       Driver      "vesa"
         Driver      "i810"
         Option "VBERestore" "on"

#       Driver      "intel"
EndSection

section "Monitor"
         Identifier "Monitor0"
         HorizSync 30-81
         VertRefresh 56-76
endsection


Section "Screen"
         Identifier "Screen0"
         Device     "Videocard0"
         Monitor    "Monitor0"
         DefaultDepth     24
         Option         "Rotate"  "left"
         SubSection "Display"
                 Viewport   0 0
                 Depth     24
                 Modes   "1280x1024"
         EndSubSection
EndSection


The key points seem to be the Monitor section where sync and refresh 
speeds are specified, and the Display subsection's Modes line.

On a good day, you don't need to specify the sync and refresh speeds 
(after all these years X has almost caught up with OS/2 3.0's ability to 
use DDC).

ddcprobe used to be useful, I think the version in Knoppix still is. On 
my systems, running SL5 & Fedora Latest, it doesn't do anything.

It's useful to read the X log.


Whenever I think of vim, of course I think of vigor too. It exists, you 
can see it at http://vigor.sourceforge.net/, screenshots at 
http://vigor.sourceforge.net/screenshots/ - and you really should, 
especially towards the end of the day!




-- 

Cheers
John

-- spambait
[log in to unmask]  [log in to unmask]
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)

ATOM RSS1 RSS2