nvidia driver - X11 config file.

Hello.
I have to generate a X11 config file because the dpi choosen/calculated by the nvidia driver was inadequate.
I generate /etc/X11/xorg.conf from nvidia-settings tool. After modifying it by adding dpi value, may I keep the file in its location (/etc/X11/xorg.conf) or may I break it in multi parts in /etc/X11/xorg.conf.d/50-device.conf, /etc/X11/xorg.conf.d/50-monitor.conf, /etc/X11/xorg.conf.d/50-screen.conf.
Where to put the rest of stuff :

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 data in "/etc/sysconfig/mouse"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "Emulate3Buttons" "yes"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection


Any help is welcome.

ServerLayout you might need because of your use of Device, Monitor and Screen sections. The other three you shouldn’t need at all. They’re not about graphics configuration. I have no idea why NVidia’s config tools create those sections. I would try leaving all those four out.

Alternatively, you should be able to get by with no xorg.con* at all except for any created by default prior to NVidia installation, and use xrandr via startup script instead. Arandr can be used to generate an appropriate xrandr script if simply ‘xrandr -dpi nnn’ is inadequate for your needs.

Whether any xorg.con* settings should be in /etc/X11/xorg.conf or in /etc/X11/xorg.conf.d/ is a matter of personal preference. If using both locations and there is a conflict, IME settings in xorg.conf take precedence.

Hi
There should be no need for any xorg.conf these days, as indicated, use xradnr, or there should be a desktop setting to set this… for console (aka vt) I just set the font via /etc/vconsole.conf (I use FONT=ter-132n) nice and big on three 1080P monitors :wink:

Many thanks to malcolmlewis and mrmazda