Make nvidia-settings sticky
From The Linux Mint Wiki
This is not about X server Display Configuration but the other settings you find in nvidia-settings
Do not save to xorg.conf from nvidia-settings as all the special settings you may have (Beryl, touchpad etc.) will be removed.
Use the applet for screen resolution in the menu instead
This is a problem that has been around some time
You change nvidia-settings and after the next boot they are back to default.
Nvidia-settings actually keep your customization but must run for them to take effect.
This guide tells you how to achieve this automatically. In no part of this guide should you be root - no sudo!
In your ~ folder is a file called .xinitrc
~ is an "alias" for /home/your_name
A dot (.) first in a file name indicates it's a hidden file so you must turn on "Show hidden files" to see it. If it does not exist - create it (text file).
Then add the following
Code:
#!/usr/bin/env bash /usr/bin/nvidia-settings --load-config-only & exec gnome-session
For KDE use
Code:
exec startkde
The exec command must be the last command. Make the file executable
Code:
chmod chmod +x ~/.xinitrc
or use the GUI - right click>Properties>Permissions>Make this file executable
For the xserver to use xinitrc you must create a symlink Code:
ln -s ~/.xinitrc ~/.xsession
This starts nvidia-settings when you start gnome.
This is all that's needed. You will have your personal settings for color and more remaining session after session.
