News for hackers. Stuff that matters.
Re:Dark color: Things to know about color when adopting dark... by chrismorgan on Monday October 28, 2019 @11:14PM (#21384003)
It has long been possible to adjust the brightness of monitors through software. The trouble is that laptop displays and external displays do it in two different ways, and the external monitor one is pretty much unknown and unused by normal software.

Taking my laptop as an example: Windows has two APIs for adjusting screen brightness, one of which only works for the internal display and one of which only works for external displays; and sadly the brightness keys on the laptop are uninterceptable and I have not come up with any way of linking the brightnesses either. I went hunting and settled on some old freeware called ScreenBright which I can invoke from the command line, so that now I just run `b 0` for night time and `b 40` for most of the day (and up to 70% in certain seasons—but 100% is pretty much always too bright where I use my external displays). Since I arranged that workflow, I have also written a tiny Rust program that interacts with the APIs directly which could replace it.

Re:Dark color: Things to know about color when adopting dark... by baroffoos on Monday October 28, 2019 @11:46PM (#21384114)
>and sadly the brightness keys on the laptop are uninterceptable

This doesn't seem to be true for most laptops. The ones I have used show a OS graphic when you turn the brightness down similar to the volume. Have tested this using linux on a dell xps and a macbook.

Unfortunately both still do not adjust the brightness of external monitors.

Re:Dark color: Things to know about color when adopting dark... by chrismorgan on Tuesday October 29, 2019 @05:59PM (#21392554)
On my previous laptop I ran Arch Linux with i3, and handled the XF86Brightness keys myself. But at present I’m using Windows, and I haven’t found any means of intercepting the keys: Windows handles them in some way that prevents me from handling them myself.