How to programmatically invert screen colors in Linux

前端 未结 1 1120
生来不讨喜
生来不讨喜 2021-02-08 19:26

In Ubuntu, for example, you can use Super-M to invert the screen colors (requires desktop effects, see [1]). Other OSes have similar abilities, although I\'m not really concerne

相关标签:
1条回答
  • 2021-02-08 19:42

    You could use xcalib to do what you want.

    For example, a simple bash script to invert the screen colors would look like this:

    #!/bin/bash
    xcalib -invert -alter
    
    0 讨论(0)
提交回复
热议问题