cosmic-epoch icon indicating copy to clipboard operation
cosmic-epoch copied to clipboard

Night Light

Open Android789515 opened this issue 1 year ago • 25 comments

I'm trying to find a night light that works when using the Cosmic DE. Redshift does not support Wayland and Gammastep is not working.

Should mention I'm using an Nvidia card.

Android789515 avatar Aug 06 '24 01:08 Android789515

Simply not supported at the moment. Will be part of our larger color-management story.

Drakulix avatar Aug 06 '24 08:08 Drakulix

Just adding that I am also waiting for this. It's currently the only roadblock left to making Cosmic my full-time driver.

Alex-Bujorianu avatar Sep 13 '24 16:09 Alex-Bujorianu

It will be implemented once we get color management implemented

mmstick avatar Sep 13 '24 16:09 mmstick

I really hope this gets implemented soon as this is the last thing before I fully switch to cosmic

SteamRex25 avatar Nov 18 '24 20:11 SteamRex25

Color management is #411 (just linking these issues)

jokeyrhyme avatar Nov 18 '24 22:11 jokeyrhyme

I've already switched to Cosmic as daily driver, but need this feature to be done soon. I know yall are working on it, thanks!!

TakkoTheBoss avatar Jan 11 '25 17:01 TakkoTheBoss

Now that cosmic has added support for colour blind users, I assume this will be very similar to implement?

Alex-Bujorianu avatar May 02 '25 11:05 Alex-Bujorianu

I'd assume so. though I only coded small programs myself

SteamRex25 avatar May 02 '25 19:05 SteamRex25

I've been waiting for this for so long, then I just now realized my monitors have a night light feature 😂

Well, it takes 5 button presses on each of my 3 monitors to toggle it on every evening and off every morning, but it's better than nothing.

KaKi87 avatar Jun 14 '25 23:06 KaKi87

I think this is the one feature preventing me from switching to cosmic right now. I always run a mild red filter.

buggyfound avatar Jun 15 '25 21:06 buggyfound

Hoping we can see this soon. I saw on the roadmap that this feature isn't going to be considered until the release of Epoch 1? Is that still the case?

WizardlyMeow avatar Jul 21 '25 07:07 WizardlyMeow

Any update on this? My corneas have been burning like a vampire in sunlight, and my optometrist is trying to prescribe that I use Windows!!!

PLEASE don't make it so I have to use Windows!!!!!! It's depressing!

TakkoTheBoss avatar Aug 13 '25 00:08 TakkoTheBoss

@TakkoTheBoss consider orange glasses until this is implemented.

noverby avatar Aug 13 '25 01:08 noverby

Tried that, doesn't work. But if you have external monitors with a night light feature, that turns out to work well, even though it's a little annoying to toggle.

KaKi87 avatar Aug 13 '25 01:08 KaKi87

The workaround consists in running gammastep manually before launching cosmic with start-cosmic. It's not ideal because you lose the automatic session startup with greetd, but that actually make cosmic usable at evening and night time.

rmarquis avatar Aug 13 '25 06:08 rmarquis

ah thats why my eyes are BURNING since installing this shell

oxysoft avatar Oct 08 '25 07:10 oxysoft

The workaround consists in running gammastep manually before launching cosmic with start-cosmic. It's not ideal because you lose the automatic session startup with greetd, but that actually make cosmic usable at evening and night time.

@rmarquis could you please provide more details on how you run it? asking because you can't actually run gammastep before start-cosmic per-se (there's no wayland running at that stage), then when the full DE is bootstrapped it seems to be late to run it, i.e. where do you hook gammastep invocation? thanks!

jjo avatar Oct 09 '25 13:10 jjo

Since we will be waiting for more robust color-management for some time I will provide my workaround. I've made small utility here: https://github.com/nedimzecic/gammad which can help users with Intel GPU, probably AMD too. This obviously won't work with Nvidia. The idea is that through DRM you can modify gamma ramp and this should be done before greeter starts. Therefore it has to be injected in /usr/bin/cosmic-greeter-start. There are several downsides of this approach: whenever cosmic-greeter package is updated it will overwrite cosmic-greeter-start script, if you wish to change temperature reboot is required and nvidia is not supported.

Image

Image

nedimzecic avatar Oct 15 '25 09:10 nedimzecic

@rmarquis could you please provide more details on how you run it? asking because you can't actually run gammastep before start-cosmic per-se (there's no wayland running at that stage), then when the full DE is bootstrapped it seems to be late to run it, i.e. where do you hook gammastep invocation? thanks!

Sorry, I missed your message. I do not understand how it works, but indeed gammastep works before running start-cosmic. I'm using greetd-agreety (default console based) instead of comsic-greeter, if that helps. This might also be related to some specific hardware setup (nVidia/integrated Intel in my case).

rmarquis avatar Oct 15 '25 09:10 rmarquis

probably AMD too

Just writing to confirm that it, in fact, works with AMD, tested on IGPU with ryzen 7 5700U

SpasMilenkov avatar Oct 21 '25 16:10 SpasMilenkov

hope we get an nvidia compatible solution soon

SteamRex25 avatar Oct 23 '25 17:10 SteamRex25

There are several downsides of this approach: whenever cosmic-greeter package is updated it will overwrite cosmic-greeter-start script, if you wish to change temperature reboot is required and nvidia is not supported.

Just wanted to confirm that you can also logout and login back again, instead of rebooting.

srid avatar Oct 25 '25 14:10 srid

I've used F.lux for decades (on Windows) and they have a linux version. Any chance it works for Cosmic? https://justgetflux.com/linux.html

ericrshields avatar Oct 31 '25 18:10 ericrshields

@ericrshields F.lux will not work, since it only supports X11

noverby avatar Nov 01 '25 05:11 noverby

Night Light is probably the most urgent accessibility feature lacking in Cosmic

GuyDebord avatar Nov 02 '25 18:11 GuyDebord

It's been over a year with no progress. I'm switching to KDE

Alex-Bujorianu avatar Nov 22 '25 21:11 Alex-Bujorianu

I hope the feature come soon

StenguyzCSGO avatar Nov 23 '25 06:11 StenguyzCSGO

following

john-holt4 avatar Nov 24 '25 10:11 john-holt4

GTA6 will release before we get a Nightlight. 😢

TakkoTheBoss avatar Nov 24 '25 11:11 TakkoTheBoss

We've made it clear that we will work on this feature after Epoch 1. Please stop spamming this thread, as doing so will not change the planned time frames. I will have to lock this thread if it continues to be so noisy.

leviport avatar Nov 24 '25 16:11 leviport