Michael Bevilacqua on Mon, 3 Feb 2003 09:28:07 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] X screen resolution


On Mon, Feb 03, 2003 at 08:58:56AM -0800, Wayne Dawson wrote:
>   That said, here's my question:  can you easily change the screen
>   resolution in X after system install?  (I guess the minimum is to
>   change a config file and restart the X server...?)


In /etc/X11/XF86Config-4, you can change the resolutions to 800x600,
1024x768, 1600x1200 or 1800x1440 depending on what your card/monitor can
handle. (be CAREFULL)

Modify the commented area's as I've provided in the example below:

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "xie"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "sun"
        Option          "XkbModel"      "type5"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "ctrl:nocaps"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "mouse"
    Option      "CorePointer"
    Option      "Device"        "/dev/sunmouse"
    Option      "Protocol"      "BusMouse"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "ati"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-70
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    16				# Modify this [1]
        SubSection "Display"
                Depth           16			# Modify this(must be equal to [1])
                Modes           "1024x768"		# Modify this
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "ServerFlags"
    Option      "BlankTime"     "0"
    Option      "StandbyTime"   "0"
    Option      "SuspendTime"   "0"
    Option      "OffTime"       "0"
    Option      "NoPM"          "true"
EndSection

Section "DRI"
        Mode    0666
EndSection


-- 
Regards,

Michael Bevilacqua

   ~
  . .
  /V\   Michael@Bevilacqua.us
 // \\
/(   )\
 ^`~'^

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug