Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everyone, As the title says, I am trying to set up a permanent resolution in the xorg.conf file. At the moment whenever I reboot the machine the resolution defaults ...
  1. #1
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277

    [SOLVED] Setting up a permanent resolution in xorg.conf+FC11

    Hi everyone,

    As the title says, I am trying to set up a permanent resolution in the xorg.conf file.
    At the moment whenever I reboot the machine the resolution defaults to auto.
    Does anyone know how I can change that to be constantly at 1600x1200?
    Any suggestions please?

    Here is my xorg.conf file.

    Code:
    # nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Wed May 27 01:58:49 PDT 2009                                                            
    
    
    Section "ServerLayout"
        Identifier     "Layout"
        Screen      0  "Screen0"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0"    "CorePointer" 
        InputDevice    "stylus"    "SendCoreEvents"    # Added
        InputDevice    "eraser"    "SendCoreEvents"    # Added
        InputDevice    "cursor"    "SendCoreEvents"    # Added
        InputDevice    "pad"       "SendCoreEvents"           
    
    EndSection    
    
    Section "Files"
        ModulePath      "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath      "/usr/lib64/xorg/modules"                  
    EndSection                                                     
    
    Section "ServerFlags"
        Option         "AIGLX" "on"
        Option         "Xinerama" "0"
    EndSection                       
    
    Section "InputDevice"
        Identifier     "Keyboard0"
        Driver         "kbd"
        Option         "XkbModel" "pc105"
        Option         "XkbLayout" "gb"
    EndSection
    
    Section "InputDevice"
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/input/mice"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Unknown"
        HorizSync       30.0 - 110.0
        VertRefresh     50.0 - 150.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
    
        #Option         "DPI" "96 x 96"
        Identifier     "Videocard0"
        Driver         "nvidia"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Videocard0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "AddARGBGLXVisuals" "True"
        Option         "TwinView" "True"
        Option         "MetaModes" "nvidia-auto-select, nvidia-auto-select"
        Option         "TwinViewOrientation" "leftOf"
        SubSection     "Display"
            Viewport    0 0
            Depth       24
        EndSubSection
    EndSection
    
    Section "Extensions"
        Option         "Composite" "Enable"
    EndSection
    Thank you
    One Love!!!

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,281
    Under Section "Screen" you need something like this:


    Code:
    SubSection     "Display"
            Viewport    0 0
            Depth       24
            Modes      "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
    This will set the different resolutions that your monitor can handle.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277
    Thanks a lot LazyDog

    It worked.
    One Love!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...