Xorg.conf replacement?

**Hi! **:slight_smile:
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! :slight_smile:

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).

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.

THANKS deano for your help!!! :slight_smile:

  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! lol!

  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?

Here it is:

# 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!!! :slight_smile: