regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Night Light not working on fresh Regolith install

Open p3k opened this issue 3 years ago • 11 comments

Describe the bug I upgraded Ubuntu 18.04 to 20.04, added the PPA and installed Regolith. Nothing happens when I change the slider in the Night Light settings.

To Reproduce Go to the Night Light settings, enable it if necessary, and change the color temperature.

Screenshot from 2021-09-08 13-55-49

Expected behavior The color temperature of the monitors should change accordingly.

Screenshots

Monitors are detected correctly.

Screenshot from 2021-09-08 13-58-21

Configuration file(s)

Did not configure anything related to Regolith, yet.

Installation Details

  • Regolith Install Type: PPA
  • Regolith Version: 1.6
  • PPA url: ppa:regolith-linux/release
  • Host OS (for PPA): Ubuntu 20.04

Additional context

When I drag the slider these lines appear in /var/log/syslog:

Sep  8 13:51:18 lichte gsd-color[14429]: could not find device: property match 'XRANDR_name'='
DVI-D-1' does not exist
Sep  8 13:51:18 lichte gsd-color[14429]: could not find device: property match 'XRANDR_name'='
HDMI-1' does not exist

However, xrandr does output exactly these IDs:

→ xrandr --listactivemonitors 
Monitors: 2
 0: +*HDMI-1 1920/518x1200/324+0+0  HDMI-1
 1: +DVI-D-1 1920/518x1200/324+1920+0  DVI-D-1

p3k avatar Sep 08 '21 12:09 p3k

Killing gsd-color has no effect, it just is restarted, anyway.

p3k avatar Sep 08 '21 12:09 p3k

I have verified this but found that if I log out and back in again that the color settings suddenly work. Did you log out after making this change and see any difference @p3k ?

kgilmer avatar Sep 10 '21 03:09 kgilmer

need to check this when i am back at the machine (office)…

p3k avatar Sep 12 '21 10:09 p3k

nope, not even after a powered-off weekend and fresh start this morning the night light works.

p3k avatar Sep 13 '21 08:09 p3k

Hello persons, I experience this issue or something related. I'm back on Regolith after a while. I installed a fresh Ubuntu 21.10 and then used the PPA to install Regolith.

I had the night light enabled on GNOME before I installed Regolith. When I log in under the Regolith session, there's no night light, even though it's enabled in Settings (I go there with Super+C). When I disable it, it seems like the screen is night-lighted instantly and then "fades" back to normal light. When I re-enable the night light after that, it kicks in and seem to work fine (I don't know if it goes back to normal light at sunrise, I'm sleeping at that time :smiling_face_with_tear: ).

amireldor avatar Dec 20 '21 19:12 amireldor

I had this problem with similar gsd-color errors in syslog, but after killing the gsd-color process with kill -4 <pid> I was able to turn on the night light.

Edit: This continues to be a recurring issue but pkill gsd-color consistently fixes it. During times when the night light should be applied, gsd-color spams complaints about missing xrandr devices to the system journal every minute until it's killed.

cwh1te avatar Jan 27 '22 04:01 cwh1te

I can confirm that pkill gsd-color allows night light mode to kick in.

mpareja avatar Jul 17 '22 07:07 mpareja

Hello,

unfortunately killing gsd-color does nothing for me. However, I noticed that for org.gnome.SettingsDaemon.Color.target crashes with the following error message:

org.gnome.SettingsDaemon.Color.target: Job org.gnome.SettingsDaemon.Color.target/start failed with result 'dependency'.

Is this the case for you too or is the service running?

giomf avatar Feb 06 '23 23:02 giomf

unfortunately killing gsd-color does nothing for me.

Yes, this trick is no longer working for me on newer versions of Ubuntu.

mpareja avatar Feb 07 '23 04:02 mpareja

I experience the same issue just like amireldor describes.

When I log in, the night light doesn't work. Then I go to the settings, turn it off ~ it flicks on and fades off, and then I turn it on and it works fine.

I'm still on Ubuntu 20.04 but with regolith 3:

➜ ~ apt show regolith-desktop
Package: regolith-desktop
Version: 4.4.2-1regolith-focal
Priority: optional
Section: x11
Maintainer: Ken Gilmer <[email protected]>
Installed-Size: 16,4 kB
Provides: regolith-desktop-meta
Depends: regolith-desktop-session
Suggests: update-manager, software-properties-gtk
Conflicts: regolith-desktop-meta, unclutter-startup
Replaces: regolith-desktop-meta
Homepage: https://github.com/regolith-linux/regolith-desktop
Download-Size: 5.556 B
APT-Manual-Installed: yes
APT-Sources: https://regolith-desktop.org/release-3_0-ubuntu-focal-amd64 focal/main amd64 Packages
Description: Meta package for Regolith desktop environment
 This package specifies the root package from which the Regolith
 desktop environment can be installed.

mimre25 avatar Feb 12 '24 19:02 mimre25