[mdlug] Location of xorg.conf in Ubuntu 18.04

LAP mail1 at lapiet.info
Wed Oct 30 05:00:50 EDT 2024


> 
> On 10/27/24 10:47, R Kannan wrote:
> > Hello,
> >
> > I recently had changed one of my two monitors and I am having a
> > tough time getting new settings stick in X11/nVidia . I have to go
> > to nVidia X server settings every time to reset after logging in. I
> > have tried modifying /etc/X11/xorg.cof and files
> > under /usr/share/X11/xorg.conf.d with no success. It always seem to
> > go back to the original settings on starting X. Google seems to
> > indicate that these are the locations for xorg.conf.
> >

Check this link:

https://download.nvidia.com/XFree86/Linux-x86/1.0-7174/nvidia-settings-user-guide.txt

4.  Loading Settings Automatically

    The NVIDIA X driver does not preserve values set with nvidia-settings
    between runs of the X server (or even between logging in and logging
    out of X, with xdm, gdm, or kdm).  This is intentional, because
    different users may have different preferences, thus these settings
    are stored on a per user basis in a configuration file stored in
    the user's home directory.

    The configuration file is named "~/.nvidia-settings-rc".  You can
    specify a different configuration file name with the "--config"
    commandline option.

    After you have run nvidia-settings once and have generated a
    configuration file, you can then run:

        nvidia-settings --load-config-only

    at any time in the future to upload these settings to the X
    server again.  For example, you might place the above command in
    your ~/.xinitrc file so that your settings are applied automatically
    when you log in to X.


More information about the mdlug mailing list