You are not logged in.

#1 2016-06-08 12:25:30

gree
Member
Registered: 2016-06-08
Posts: 74

Invert Screens with xcalib

If anyone wants to invert screen color just like on mac.
Install xcalib and use it via Shortcut "W-i" (Openbox > edit rc.xml)

    <keybind key="W-i">
      <action name="Execute">
        <startupnotify>
          <enabled>false</enabled>
          <name>Invert</name>
        </startupnotify>
        <command>xcalib -invert -alter</command>
      </action>
    </keybind>

Offline

#2 2016-06-08 14:01:56

vasa1
Member
Registered: 2015-09-29
Posts: 204

Re: Invert Screens with xcalib

Thanks for mentioning `xcalib`. It's got a lot of nice options! I find `-invert` a bit strong. I like the dimming option, `-co`, though. Nice video from way back here: https://www.youtube.com/watch?v=A9xsvntT6i4


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#3 2016-06-08 16:55:42

gree
Member
Registered: 2016-06-08
Posts: 74

Re: Invert Screens with xcalib

thanks vasa1; also nice feature I hadn't thought of.
-invert is hard, but great for bright websites like wiki, or bunsenlabs site

Offline

#4 2016-06-08 19:45:27

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Invert Screens with xcalib

it took me 5 years of using linux to hear about xcalib.
to me, it's one of these apps that immediately make me think: "wow! you can't do that with windows!"
...and of course, i immediately managed to set my contrast to 0, couldn't see anything anymore (not even when switching ttys!) and had to reboot... you can't do that with windows!

Offline

#5 2016-06-08 23:32:33

gree
Member
Registered: 2016-06-08
Posts: 74

Re: Invert Screens with xcalib

@ohnonot : nice to hear smile

... I ran into another issue; using BL on a workstation with Dual-Screen setup. When it's using 1x HDMI + 1x DVI cable for connection; i've not figured out how to invert screen colors on both screens.
Just the DVI connected screen does invert colors.
Not sure if 2x DVI will solve this problem. keep you updated...

Last edited by gree (2016-06-08 23:35:47)

Offline

#6 2016-06-09 04:59:37

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: Invert Screens with xcalib

I don't use it to invert (when I was a Mac user never used invert either, unless showing off and trying to impress buddies) but I find it useful to dim contrast on the fly. I use these bash aliases:

alias dim='xcalib -co 75 -a'
alias dimr='xcalib -c'

And this function if I want a different value than 75% which is ok most of the times, but sometimes a different value does it better.

function dimc() { xcalib -co $@ -a ;}

Offline

Board footer

Powered by FluxBB