1. 30

  2. 5

    Upon reading this:

    XRRSetCrtcGamma which has no documentation because why would it

    I thought, hey, I’ve written code using that function before, it must be documented somewhere and tedu just missed it. So I set out to find it, and damned if I could find a shred. So now I’m left looking at code I wrote about a year ago (this, for what it’s worth), and I have absolutely no clue how I figured out how to write it. I thought there’d been some documentation (and I don’t think it was the protocol doc linked in this post), but if so all traces of it seem to have vanished from the google-visible web. (And here a little voice in my head chimes in that would have been a good thing to put in a comment…sigh.)

    1. 1

      enthrall looks like a useful app - looking forward to having a play with it - thanks for point it out.

    2. 4

      This is a nice little idea; I’m cleaning it up for my own use under Linux, and I’d like to release it, but I cannot seem to find a license declaration for Ted’s code.

      Anyone happen to know what license it was released under?

      1. 4

        you can consider it public domain. i’ll update the file in a bit. the header selection (blindly copied from xrandr) is much bigger than necessary and apparently even causes problems on some systems.

        1. 1

          Indeed. I have it cleaned up a bit, and have a few things planned to toss in as well. Thanks for clarifying the licensing!

        2. 3

          @tedu would probably know, since he wrote it.

        3. 1

          You might also have a look at Redscreen night vision filter for Linux. Its a tiny shell script that I wrote around the xcalib utility. It provides red and dim display filters from the command line, no compilation step required.