Public bug reported:
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.
** Affects: nvidia-settings (Ubuntu)
Importance: Undecided
Status: New
** Tags: driver nvidia x11
** Attachment added: "Nvidia-settings colour settings"
https://bugs.launchpad.net/bugs/1929731/+attachment/5500535/+files/Screenshot%20from%202021-05-26%2018-29-35.png
** Description changed:
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
+ 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'
+ Exec=sh -c 'sleep 1 && /usr/bin/nvidia-settings --load-config-only'
- Now my settings are applied upon logging in (albeit after 5 seconds).
+ 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.
** Summary changed:
- 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
--
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-settings in Ubuntu.
https://bugs.launchpad.net/bugs/1929731
Title:
nvidia-settings --load-config-only does not load user settings upon
login
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/1929731/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help : https://help.launchpad.net/ListHelp