You are not logged in.

#1 2010-01-20 22:21:44

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

[SOLVED] Invert colors in X?

Hi, I was wondering if there is a good way to invert colors in X. It would really faciliate reading much text in pdfs for example.

I have seen here http://bbs.archlinux.org/viewtopic.php?id=67234, that xpdf is able to do this and I will use it.
But in general it would be great if one could just invert everything by a shortcut (or by restarting X with the right option, if necessary).

Thanks in advance smile

Last edited by panuh (2010-02-08 17:14:54)

Offline

#2 2010-01-21 00:25:12

theapodan
Member
From: Virginia, USA
Registered: 2008-10-21
Posts: 116

Re: [SOLVED] Invert colors in X?

I don't know if this is possible for your setup. but compiz has a plugin "Negative" which allows you to invert either just the active window or the whole desktop.  I use it for the exact purpose you mention.

Offline

#3 2010-01-21 09:45:32

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: [SOLVED] Invert colors in X?

Yes, I know about that feature. I'm running wmii though. Forgot to mention it smile

I've also been looking for help on IRC. There I was told I would have to mess with either the driver or the X-server source.
In a year maybe... smile

Another solution proposed was to write a small composition-manager just for that purpose. I will see if there maybe is such a thing already.
Coding it myself would exeed my knowledge completely^^

I'll give an update in case I can find anything

Offline

#4 2010-02-08 15:19:07

quick
Member
Registered: 2009-02-10
Posts: 4

Re: [SOLVED] Invert colors in X?

For invert colors in X, I use command:

xcalib -invert -alter

It`s priceless.

Enjoy smile

Offline

#5 2010-02-08 17:11:13

panuh
Member
From: X :ɯoɹℲ
Registered: 2009-11-24
Posts: 144

Re: [SOLVED] Invert colors in X?

Wow! Man, this is... Yeeah!

Thanks alot. This makes me want to put on my porkpie and skank on the street. Only that I don't have one. big_smile

Marking as solved. (xcalib is in AUR btw.)

Offline

#6 2011-08-07 14:49:48

gwpl
Member
From: Warsaw, Poland
Registered: 2010-07-10
Posts: 24

Re: [SOLVED] Invert colors in X?

Thanks man !
Cause of my rotated dual head/monitor setting I can not have composition on my desktop, so kde effects for invert colours does not work, while my eyes needs white on black. I've found xpdf -rv option and okular -> preferences -> accessibility -> invert , plus some firefox plugins and bookmarklets helpful, but still uncomfortable and not reliable.

xcalib -invert -alter

is life changing, as @quick said "priceless" big_smile.

My eyes say : Thanks smile, what's a relief.

Offline

#7 2016-07-19 04:20:43

cworth
Member
Registered: 2016-07-19
Posts: 1

Re: [SOLVED] Invert colors in X?

Apparently this answer is timeless... (said the blue smiley face)

Offline

#8 2016-07-19 05:00:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 29,315
Website

Re: [SOLVED] Invert colors in X?

Please don't necrobump, especially solved threads. And don't empty post.


Closing


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB