nvidia-settings --load-config-only does not load user settings upon login
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-settings (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Release of Ubuntu | lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
=======
2. Version of Package | apt-cache policy nvidia-settings
nvidia-settings:
Installed: 460.39-
Candidate: 460.39-
Version table:
*** 460.39-
500 http://
100 /var/lib/
440.
500 http://
=======
3/4. Expected and Desired results
I expect my colour settings to be preserved and loaded between reboots/logins. While they are saved, they are not automatically loaded. Have to run nvidia-settings manually after login to load them.
=======
My own comments:
I run Ubuntu 20.04, with the latest updates as of today. Clean install.
I have changed some settings in nvidia-settings (the gui panel - see image) and changed the color settings, so that the brightness and contrast is lower on all channels. These settings are saved to a nvidia-settings-rc file in my home directory.
I noticed that there already is a startup script running this (/etc/xdg/
To fix it I changed a line from:
Exec=sh -c '/usr/bin/
To:
Exec=sh -c 'sleep 1 && /usr/bin/
Now my settings are applied upon logging in (albeit after 1 second).
I have tried other solutions suggested in forums such as running "nvidia-settings --load-config-only" in xinitrc and Xsession, as well as gdm3/PostLogin. They did not work, and I think that there simply needs to be some sleep/timeout time before loading the settings. Why? I don't know.