this post was submitted on 17 Dec 2025
45 points (97.9% liked)

Linux

62889 readers
248 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 2 months ago (1 children)

Can you make it adjust my CPU temperature too

[–] jak0b@lemmy.ml 8 points 2 months ago (1 children)

Just a little bit maybe XD

[–] eldavi@lemmy.ml 1 points 2 months ago

and the outside temperature as well. lol

[–] db2@lemmy.world 9 points 2 months ago* (last edited 2 months 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?

[–] jak0b@lemmy.ml 5 points 2 months ago* (last edited 2 months 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.

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

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

[–] AmbiguousProps@lemmy.today 3 points 2 months ago (1 children)

Is this similar to the built in KDE night light?

[–] jak0b@lemmy.ml 9 points 2 months 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 2 months ago

That's cool

[–] oeuf@slrpnk.net 3 points 2 months ago (1 children)

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

[–] jak0b@lemmy.ml 5 points 2 months ago (1 children)

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

[–] oeuf@slrpnk.net 1 points 2 months 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 2 months 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 0 points 2 months ago

Thanks for the reminder! Just added it.