Follow

I try to setup `night light mode` in order to filter blue color on my but, xrandr --gamma does nothing on X but seems to alter color on ttyC*. At least, xgamma(1) does work if I launch a Xephyr window. I don't know where to dig now, if it's driver dependant and if it supposed to work with my Intel HD Graphics 520.

· · Web · 2 · 0 · 0

@oa I use sct for setting the temperature.

Since it's a very simple tool, it cannot alter the temperature depending on the time of day.

openports.pl/path/x11/sct

@_xhr_ That do the trick ! Thanks !

The code is actually very simple and seems to do what I thought I could do with a simple `xrandr --output $disp --gamma 1.0:1.0:0.7` for example.

I didn't think I would have to use an external tool.

@oa there's a thing called redshift that sounds like what you need

>Redshift adjusts the color temperature of your screen according to your surroundings

http://jonls.dk/redshift/

@vaartis @oa There is another thing called sct that is much more minimal :D umaxx.net/dl/sct-0.5.tar.gz

you can "pkg_add sct"

@qbit @vaartis Thanks to @_xhr_ who made the same suggestion, I've found this post from Ted Unangst which explain why this tool exists:
flak.tedunangst.com/post/sct-s

@oa @vaartis @_xhr_ rad :D - I wrote the initial version of the sctd script that's included :D

Sign in to participate in the conversation
La Quadrature du Net - Mastodon - Media Fédéré

Mamot.fr est une serveur Mastodon francophone, géré par La Quadrature du Net.