LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-31-2017, 06:20 PM   #1
Tl7
Member
 
Registered: Jul 2017
Posts: 35

Rep: Reputation: Disabled
Lightbulb Night screen filter without affecting screenshots


Hello, and great thanks to you for considering to answer my LinuxQuestion:

I need a night screen filter for Linux, which does not cause the colour tone of screenshots and screencasts to be affected. Do you know such a useful tool?
 
Old 01-01-2018, 03:32 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
what have you tried and did it work as desired or not?
you also might need to try different screenshot apps.
and web searches.
 
Old 01-01-2018, 04:28 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
The night light might not affect screen shots. You should just try it.
 
Old 01-01-2018, 07:13 AM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
With xrandr you can affect the brightness and gamma settings of X. Which should be independent of what a screen capture should see. There's a redshift thing that plays with those settings iirc. And various libxca type routes to do similar things.

$ xrandr --output eDP --brightness 0.5 --gamma 0.5:0.5:0.5

Where 1.0 is the assumed default values. And the --output is a valid screen for your system. Running xrandr without parms should list available and in use screens.

$ xrandr
 
Old 01-01-2018, 12:06 PM   #5
Mike_Walsh
Member
 
Registered: Jul 2017
Location: King's Lynn, UK
Distribution: Nowt but Puppies....
Posts: 660

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
Redshift-GUI works very well indeed.

Years ago, before moving to Linux, I used to use f.Lux in Windoze. Under Linux, f.Lux is command-line only.....and a wee bit complicated to get right.

RedshiftGUI does much the same thing for Linux.....and, in fact, I personally prefer the interface to that of f.Lux. You can get this from SourceForge:-

https://sourceforge.net/projects/redshiftgui/

(I have to use something like this. Where I used to work, years ago, we were processing a very abrasive mineral, like sharp sand. It was a lot finer, though.....and air-flow helmets wouldn't entirely keep it out. It would get round the back of your eyeballs and cause scratching to the delicate tissue, leaving you with extremely sore eyes. Even now, years after leaving the place, my eyes are permanently sensitized to bright light.....so something like this for night-time use is, for me, a must-have item.)

--------------------------------------------------

There's a very small, lightweight command-line alternative, called SCT (Set Color Temperature). It's available from Github. You need to compile it yourself, but it really is a piece of cake to do so. If a blockhead like me can do it, then you know it's got to be easy..!

Download the tarball, and extract. Make sure your development tools are installed, or loaded; I'm afraid I've been using Puppy for so long I can't remember how this is done in the mainstream distros; in Pup we 'load' the 'devx' SFS package. Then 'unload' again when finished.

Open a terminal in the directory where you extracted it to, then enter into the terminal the command string found on line 23 of the 'Read Me' file:-

Code:
cc -std=c99 -O2 -I /usr/X11R6/include -o sct sct.c -L /usr/X11R6/lib -lm -lX11 -lXrandr
.....and within 10 seconds you'll get a compiled binary. Move this into /usr/bin, then you can run it using the following terminal command. Very simply

Code:
sct 3600
...for example. 3600 is a 'night-time' value (a warm, red-tinted hue).

Code:
sct 6500
...would give you a normal, daylight tint.

Code:
sct 8000
...would give you a very blue-white light. And so on.

I've used both of these for a while in Pup, and, so far, any screenshots I've taken at night with either of them don't seem to transfer the reddish hue to whatever I take a piccie of.

There's a short video I put together here, showing the process.....although no sound, I'm afraid. It was a demo I knocked up for another member of the Murga-Linux 'Puppy' Forums.

https://youtu.be/X_a6MKDr8XQ

(It's almost certain to be different in whatever you happen to be running, although the principle remains the same.)

You might find the forum thread helpful, too:-

http://www.murga-linux.com/puppy/viewtopic.php?t=111450


Mike.

Last edited by Mike_Walsh; 01-01-2018 at 12:50 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dansguardian - Won't filter new addresses added to filter list TechnoBod Linux - Software 1 01-08-2008 01:40 AM
screen with yellow filter ->hw failure? linmix Linux - Hardware 2 10-28-2006 11:45 AM
Screenshots / Screen Recordings Do Not Work with FreeNX Remote Sessions rick_1010 Linux - Desktop 0 10-14-2006 09:54 PM
Spam filter to external mail filter deadlock Linux - Software 1 06-16-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration