Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Night mode (blue/red light filter) #191

Open
ghost opened this issue Aug 1, 2017 · 5 comments
Open

Night mode (blue/red light filter) #191

ghost opened this issue Aug 1, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Aug 1, 2017

The screen is quite intense at night time. Things like the scopes, Twitter app, Dekko and more have mostly white on their UI. Waiting for all apps to implement a night mode (Podbird has one and reddit.com provides one too) would take a long time - could it be provided as a switch in the notification area?

With Compiz Config Settings Manager I can use SUPER+M to invert the colours of the entire Ubuntu desktop. It would be great to have this feature on the phone to prevent hurting our eyes at night.

@PhoenixLandPirate
Copy link

The night mode options on android just take away the blue from the screen to make it easier on the eyes, this is what should be implemented under the name nightmode.

If you want an option to invert colours that would be a feature under a different name, in android you have both options to have nightmode and invert colours via the pull down menu.

@NeoTheThird NeoTheThird changed the title Enhancement: Night mode Enhancement: Night mode (blue/red light filter) Sep 1, 2018
@NeoTheThird
Copy link
Member

Night mode is WIP by @nfsprodriver and @mariogrip here.

@NeoTheThird NeoTheThird added this to the 16.04 OTA-5 milestone Sep 1, 2018
@NeoTheThird NeoTheThird changed the title Enhancement: Night mode (blue/red light filter) Night mode (blue/red light filter) Sep 1, 2018
@UniversalSuperBox
Copy link
Member

Working on this a bit more, I've found that the approach we were taking (which, admittedly, was a bit of an "easy-button" way in QML) does not provide good performance. We will need to consider a more efficient way to filter blue light, probably at the compositor or display server level.

@UniversalSuperBox UniversalSuperBox removed this from the 16.04 OTA-5 milestone Oct 1, 2018
@UniversalSuperBox UniversalSuperBox removed their assignment Oct 2, 2018
@kkeijzer
Copy link

kkeijzer commented Sep 6, 2020

Is anyone still interested in implementing this?

The Newsie app is able to add a blue light filter that works pretty well. This seems to be a JavaScript app though, and not QML. I think the red overlay implementation is even done in CSS.

However, if something similar could be added to, for instance, Morph Browser only, that would already be very helpful.

@m0n5t3r
Copy link

m0n5t3r commented Nov 10, 2020

in the linux world I'm aware of the mostly not working (as in it either forgets to trigger or it just gets stuck one way or another) night mode from Gnome Shell, and the reliable redshift implementation which uses RANDR; a cursory search for redshift wayland support yielded https://sr.ht/~kennylevinsen/wlsunset/ - maybe it can be ported to mir if the latter supports the relevant gamma controls?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants