Results 1 to 6 of 6

Thread: Xorg.conf replacement?

  1. #1
    Join Date
    Dec 2013
    Location
    Patras, Greece.
    Posts
    66

    Default Xorg.conf replacement?

    Hi!
    Which file(s) I have to edit, instead of xorg.conf?

    I used to manually enter xorg.conf, in order to display a different resolution, instead of default 1024X768.
    My monitor needs a 16:9 one.
    (I have nvidia drivers installed).

    I used to edit Monitor (for entering a modeline) and Screen (for entering a metamode) sections.
    Now what?
    TIA!

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: Xorg.conf replacement?

    Quote Originally Posted by Thalassius View Post
    Hi!
    Which file(s) I have to edit, instead of xorg.conf?

    I used to manually enter xorg.conf, in order to display a different resolution, instead of default 1024X768.
    My monitor needs a 16:9 one.
    (I have nvidia drivers installed).

    I used to edit Monitor (for entering a modeline) and Screen (for entering a metamode) sections.
    Now what?
    TIA!
    You can still create a working /etc/X11/xorg.conf if you wnat to. Otherwise, the newer configuration files reside in/etc/X11/xorg.conf.d/ directory, and each file essentially corresponds to separate section of the former xorg.conf file. Add your modeline to 50-monitor.conf, (and if necessary, you can add the corresponding 'Modes' entry within 50-screen.conf).

  3. #3
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: Xorg.conf replacement?

    Some additional advice before starting:

    1. Examine /var/log/Xorg.0.log first to make sure that your nvidia driver is loaded correctly and that there are no other issues preventing the desired display resolution.

    2. Be careful with your syntax concerning any manual configuration edits you make, as bad entries can result in a broken X-server, and you'll need to undo the changes from runlevel 3 with a CLI editor.

  4. #4
    Join Date
    Dec 2013
    Location
    Patras, Greece.
    Posts
    66

    Default Απ: Xorg.conf replacement?

    THANKS deano for your help!!!

    1) Log indicates an edid problem.

    2) I copied the respective sections to xorg.conf.d directory files, but I only managed to crash the X Server!

    3) As a last resort, I copied my old xorg.conf file and I managed to get the 1360X768 resolution up and running.

    I'll try again tomorrow to get a smaller resolution. It's 16:9, but Somehow menus, fonts and everything seems to be very small.

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,179
    Blog Entries
    1

    Default Re: Απ: Xorg.conf replacement?

    Quote Originally Posted by Thalassius View Post
    THANKS deano for your help!!!

    1) Log indicates an edid problem.

    2) I copied the respective sections to xorg.conf.d directory files, but I only managed to crash the X Server!

    3) As a last resort, I copied my old xorg.conf file and I managed to get the 1360X768 resolution up and running.

    I'll try again tomorrow to get a smaller resolution. It's 16:9, but Somehow menus, fonts and everything seems to be very small.
    Well done. Post your working xorg.conf here - it may be helpful to others who come searching. Fonts and icons can be adjusted separately. Which desktop environment are you using?

  6. #6
    Join Date
    Dec 2013
    Location
    Patras, Greece.
    Posts
    66

    Smile Απ: Re: Απ: Xorg.conf replacement?

    Here it is:

    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 304.51  (buildd@komainu)  Fri Oct 12 12:53:49 UTC 2012
    
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
        Option         "Xinerama" "0"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "InputDevice"
    
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "InputDevice"
    
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "Monitor"
    
        # HorizSync source: builtin, VertRefresh source: builtin
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "CRT-0"
        Option "UseEDIDFreqs" "false"
        HorizSync       31 - 101
        VertRefresh     59.8
        ModeLine       "1360x768_59.80" 84.43 1360 1424 1568 1776 768 769 772 795 -hsync +vsync
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 6150SE nForce 430"
    EndSection
    
    Section "Screen"
    
    # 
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "Stereo" "0"
        Option         "nvidiaXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "1360x768_59.80 +0+0; nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    HAPPY NEW YEAR to all OpenSUSE, KDE, Linux, GNU and FOSS users!!!

Tags for this Thread

Posting Permissions

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