this post was submitted on 17 Dec 2025
43 points (97.8% liked)

Linux

60366 readers
884 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

Hi!

If you’re using redshift on Linux, I made a small tool that might be useful. It automatically sets the screen temperature based on the current time, you just draw a curve for how you want it to behave during the day. Then you can just add it to crontab to run every minute or hour.

top 14 comments
sorted by: hot top controversial new old
[–] ryannathans@aussie.zone 11 points 5 days ago (1 children)

Can you make it adjust my CPU temperature too

[–] jak0b@lemmy.ml 8 points 5 days ago (1 children)

Just a little bit maybe XD

[–] eldavi@lemmy.ml 1 points 5 days ago

and the outside temperature as well. lol

[–] db2@lemmy.world 9 points 6 days ago* (last edited 6 days ago) (2 children)

I was like "redshift already turns on and off automatically" then it clicked what this does. Pretty nice.

Do you have plans to make it able to adjust automatically based on sunset? Or interface with something like home assistant to read light sensor data?

[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 3 points 3 days ago* (last edited 3 days ago)

Gammastep, which is an wlroots alternative to redshift, supports the sunset stuff. It lacks this nice gui though.

[–] jak0b@lemmy.ml 5 points 6 days ago* (last edited 6 days ago)

Haha thanks! I don’t think so, no, at least not with this tool directly. But what you can do is build on top of it, since the points are stored in a config.json. Code that reads a light sensor value could then edit the graph by updating that config.

[–] oeuf@slrpnk.net 3 points 6 days ago (1 children)

Can you adjust separate curves for red, green and blue?

[–] jak0b@lemmy.ml 5 points 6 days ago (1 children)

Nope, currently just temperature. But it can definitely be added, since redshift supports it.

[–] oeuf@slrpnk.net 1 points 5 days ago

That would be a powerful feature and a very user-friendly way of creating what are essentially custom monitor profiles. It has my vote!

[–] eutampieri@feddit.it 2 points 5 days ago (1 children)

Nice! You should put a LICENSE file in your repo with the MIT license inside (Cargo.toml has the license key, but you really should have a file in your repo too)

[–] jak0b@lemmy.ml 2 points 5 days ago

Thanks for the reminder! Just added it.

[–] AmbiguousProps@lemmy.today 3 points 6 days ago (1 children)

Is this similar to the built in KDE night light?

[–] jak0b@lemmy.ml 9 points 6 days ago (1 children)

Yes very similar, but I dont think you can have more than 2 points there? Here you can set as many points as you want and it calculates a Catmull-Rom curve.

[–] antrosapien@lemmy.ml 2 points 6 days ago

That's cool