News for hackers. Stuff that matters.
Re:f.lux by shaicoleman on Thursday March 10, 2022 @10:55AM (#30628324)
If you're using an external monitor, it's better to do it on the monitor itself rather than in software. When you do it on the monitor it applies everywhere, even when rebooting or using another OS. When I did it in software (redshift) I noticed it was causing my laptop to overheat.

Here's how I do it on Linux with a Dell U2720Q monitor.

  sudo apt-get -yy install ddcutil # Install ddcutil on Ubuntu
  sudo modprobe i2c_dev  # Load required kernel module

  # Night - Set brightness to 20% and color temperature to 3000K
  sudo ddcutil setvcp 10 20
  sudo ddcutil setvcp 1a 43
  sudo ddcutil setvcp 18 69
  sudo ddcutil setvcp 16 100

  # Daytime - Set brightness to 50% and color temperature to 6500K
  sudo ddcutil setvcp 10 50
  sudo ddcutil setvcp 1a 100
  sudo ddcutil setvcp 18 100
  sudo ddcutil setvcp 16 100
Re:f.lux by kelvie on Thursday March 10, 2022 @04:33PM (#30632790)
Funnily enough I built a tool that does the same for my gigabyte monitor:

https://github.com/kelvie/gbmonctl

Along with some systemd scripts to toggle it for sunruse/sunset, with another simple tool:

https://github.com/kelvie/sunrise-monitor

I really wish there was a common (XDG?) interface for monitor brightness so that e.g. Plasma/KDE can hook into this with their sunrise/sunset settings.

Re:f.lux by jamal-kumar on Thursday March 10, 2022 @11:50AM (#30629051)
Ditto for my laptop, the software approach is just a bit untenable when I do work with graphics or design especially because you need consistency in these cases.

Personally, I just hit the brightness down button on my keyboard a few times around 8pm. I think windows has this as a built in feature now, too? I'm curious to know what f.lux offers over this:

https://support.microsoft.com/en-us/windows/set-your-display...

Re:f.lux by forgotpwd16 on Thursday March 10, 2022 @12:13PM (#30629384)
First thing I see is f.lux lets you configure the transition (speed/intensity) between day/night modes as well as color temperatures rather having an abstract "strength" setting.
Re:f.lux by pewu on Thursday March 10, 2022 @12:43PM (#30629875)
One feature missing from the Windows solution, which flux has and it works tremendously, is an automatic trigger to disable the color/brightness change when a certain app is opened. Works beautifully when I'm up to do some Lightroom work.