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: Select all
#!/usr/bin/env bash
/usr/bin/nvidia-settings --load-config-only &
exec gnome-session
Code: Select all
exec startkde
Make the file executable
Code: Select all
chmod chmod +x ~/.xinitrc
For the xserver to use xinitrc you must create a symlink
Code: Select all
ln -s ~/.xinitrc ~/.xsession
This is all that's needed.
You will have your personal settings for color and more remaining session after session.
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
I have read that for some the solution above does not work, and missed the easy solution.
A workaround is to remove --load-config-only
Then nvidia-settings open when gnome starts.
To close nvidia-settings automatically create a hidden file with some name you like in ~. I used ~/.xxx
Add the following to the file:
Code: Select all
#!/usr/bin/env bash
killall /usr/bin/nvidia-settings
Add a new "Start program" and use the ~/.xxx as target.
nvidia-settings will now close shortly after you see the desktop.
This edit makes Scorp123's remarks below somewhat unnecessary, but they aim at the original posting and are justified.