Activity log for bug #1929731

Date Who What changed Old value New value Message
2021-05-26 16:31:47 Ma H bug added bug
2021-05-26 16:31:47 Ma H attachment added Nvidia-settings colour settings https://bugs.launchpad.net/bugs/1929731/+attachment/5500535/+files/Screenshot%20from%202021-05-26%2018-29-35.png
2021-05-26 16:35:34 Ma H 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-0ubuntu0.20.04.1 Candidate: 460.39-0ubuntu0.20.04.1 Version table: *** 460.39-0ubuntu0.20.04.1 500 500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages 100 /var/lib/dpkg/status 440.64-0ubuntu1 500 500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages ================================================================ 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/autostart/nvidia-settings-autostart.desktop), buuuuuut it does NOT apply these settings upon login after gdm(3). To fix it I changed a line from: Exec=sh -c '/usr/bin/nvidia-settings --load-config-only' To: Exec=sh -c 'sleep 5 && /usr/bin/nvidia-settings --load-config-only' Now my settings are applied upon logging in (albeit after 5 seconds). 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. 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-0ubuntu0.20.04.1   Candidate: 460.39-0ubuntu0.20.04.1   Version table:  *** 460.39-0ubuntu0.20.04.1 500         500 http://se.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages         100 /var/lib/dpkg/status      440.64-0ubuntu1 500         500 http://se.archive.ubuntu.com/ubuntu focal/main amd64 Packages ================================================================ 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/autostart/nvidia-settings-autostart.desktop), buuuuuut it does NOT apply these settings upon login after gdm(3). To fix it I changed a line from: Exec=sh -c '/usr/bin/nvidia-settings --load-config-only' To: Exec=sh -c 'sleep 1 && /usr/bin/nvidia-settings --load-config-only' 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.
2021-05-26 16:36:11 Ma H summary nvidia-settings --load-config-only does not load user settings upon login correctly nvidia-settings --load-config-only does not load user settings upon login