Thursday, October 29, 2009

Unexpected xcalib applications #1: preserving night vision

It's been a while since I have done work on xcalib or posted here on this blog but I have a little bit problems with jetlag currently, which provides me with a little bit of extra time. So, I've done a little google research on where xcalib is used in scenarios that haven't been envisioned when I wrote xcalib.

Application #1: Making the screen red to preserve night vision
(from here: http://ubuntuforums.org/showpost.php?p=6803029&postcount=4 - by sanskaras)

The trick is basically to switch off green and blue entirely. The proposed solution is modifying these two channels with the -green and -blue command line paramters. I've realized that these quite powerful commands are not documented in the README currently, hence here's the description:
-green GREENGAMMA GREENBRIGHTNESS GREENCONTRAST
-blue BLUEGAMMA BLUEBRIGHTNESS BLUECONTRAST
-red REDGAMMA REDBRIGHTNESS REDCONTRAST
With these switches and the -alter command it is possible to modify the existing color behavior.

Hence, the following is, according to the link, a possible setting for disabling green and blue.
Code:
xcalib -green .1 0 1 -alter
xcalib -blue .1 0 1 -alter
These are the currently lowest allowed parameters in xcalib, hence it's well possible that I remove these limits in future versions or add a parameter to disable a channel entirely.

When all is over or the screen became unreadable, you can always revert back to normal:
Code:
xcalib -clear

5 comments:

Anonymous said...

There are different types of night vision equipment - night vision goggles, ITT night vision, thermal night vision, night vision binoculars and monoculars, and night vision digital cameras. With suitable night vision equipment, one can see a person standing over 200 feet away in complete darkness.

fraz said...
This comment has been removed by the author.
fraz said...

try this for some semi amber VT fun:

xcalib -c; xcalib -green 1 0 50 -blue 4 0 1 -red 1 0 100 -a; xcalib -i -a

Unknown said...

CLASSIC NOTCH
How well are you prepared for a cyber incident or breach? Is your data safe?, the more you know, the better you can react.
Strengthen your cybersecurity stance by contacting Classic cyber notch at gmail dot com for a Perfect, Unique, Classic and Professional Job in securing your Network against Breaches of All Sort.
We do virtually All kind of Cyber Jobs, be it Cyber Security or Hijack without trace and with utmost professionalism
We offer Services such as:
☑ Tracking GPS location,
☑ Bank Account Hacks,
☑ Bank transfer, Western Union, Money Gram, Credit Card transfer,
☑ Increase credit score,
☑ Increase University Grade,
☑ Social media platform hack
☑ Email hack: Gmail, AOL, Yahoomail, Proton-mail etc,
☑ Phone hack,
☑ Spyware installation,
☑ ATM hack, Issuing of Blank ATM,
☑ Retrieval of lost documents, etc..
☑ Clearing of Criminal records thoroughly,
☑ Recovery of lost funds on Binary Options
☑ BTC Mining
☑ and many more......
☑ We're Classic Hacks ☑
Feel free to 💻 📱 us @:

Classic cyber hacks at gmail dot com
Classic cyber notch at gmail dot com

any time, any day to get the Best hands involved in putting a smile on your face.

Signed,
Collins .A.

Shron Prysock said...

BEST WAY TO HAVE GOOD AMOUNT TO START A GOOD BUSINESS or TO START LIVING A GOOD LIFE….. Hack and take money directly from any ATM Machine Vault with the use of ATM Programmed Card which runs in automatic mode. email (williamshackers@hotmail.com) or WhatsApp +27730051607. for how to get it and its cost . ………. EXPLANATION OF HOW THESE CARD WORKS………. You just slot in these card into any ATM Machine and it will automatically bring up a MENU of 1st VAULT $200, $300, $400, $1,000, 2nd VAULT $2000, $3000, $4000, $5,000, RE-PROGRAMMED, EXIT, CANCEL. Just click on either of the VAULTS, and it will take you to another SUB-MENU of ALL, OTHERS, EXIT, CANCEL. Just click on others and type in the amount you wish to withdraw from the ATM and you have it cashed instantly… Done. ***NOTE: DON’T EVER MAKE THE MISTAKE OF CLICKING THE “ALL” OPTION. BECAUSE IT WILL TAKE OUT ALL THE AMOUNT OF THE SELECTED VAULT. email (williamshackers@hotmail.com) or WhatsApp +27730051607.