[Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
LivingPharaoh
Level 1
Level 1
Posts: 28
Joined: Mon Feb 11, 2019 7:46 am

[Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Post by LivingPharaoh » Mon Mar 18, 2019 10:56 pm

Hi folks,
After f.lux randomly decided not to work, I installed Redshift to block the blue light spectrum which is slowly destroying my face. This might be the culprit.
Is there any reason for the following command to take effect and then automatically reverse 2 seconds later?

Code: Select all

xrandr --output VGA-0 --brightness 0.6
Thanks!
Last edited by LivingPharaoh on Tue Mar 19, 2019 4:15 am, edited 1 time in total.

LivingPharaoh
Level 1
Level 1
Posts: 28
Joined: Mon Feb 11, 2019 7:46 am

Re: Help with screen brightness (or, how my monitor is slowly killing me)

Post by LivingPharaoh » Tue Mar 19, 2019 2:29 am

Okay, so it is redshift that resets the monitor brightness.
I've looked into setting the brightness level through redshift itself, but it involves commands in terminal above my experience level. Anyone care to point me toward an "explain to me like I'm 5" tutorial on configuring this program? If I find something by myself I'll add it to this thread for other unfortunate souls who broke the buttons on their monitor.

LivingPharaoh
Level 1
Level 1
Posts: 28
Joined: Mon Feb 11, 2019 7:46 am

Re: Help with screen brightness (or, how my monitor is slowly killing me)

Post by LivingPharaoh » Tue Mar 19, 2019 4:14 am

I created a config file for redshift:

1. Create/Edit .conf in terminal

Code: Select all

sudo gedit ~/.config/redshift/redshift.conf
2. Define
Paste into file, replacing any text unless wanted

Code: Select all

[redshift]
temp-day=6500K
temp-night=5000
transition=1
;gamma=0.8:0.7:0.8
gamma=1.000:1.000:1.000
location-provider=geoclue
adjustment-method=vidmode
;brightness=1.0:0.5
3. Edit if needed
During nighttime edit as desired, save/close, in terminal type

Code: Select all

killall redshift
to restart and test new setting.

User avatar
slipstick
Level 5
Level 5
Posts: 885
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

Re: [Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Post by slipstick » Tue Mar 19, 2019 4:35 am

I use redshift in a manual mode - brightness doesn't change automatically, but I have keyboard shortcuts to set one of three different levels of redshift/brightness. I assign a terminal command to each KB shortcut - you can do this in System Settings>Keyboard>Shortcuts>Custom Shortcuts.

For use on a bright sunny day:
Ctrl-Alt-M Redshift-Morning

Code: Select all

redshift -O 6500
For a cloudy day, or late in the afternoon:
Ctrl-Alt-E Redshift-Evening

Code: Select all

redshift -O 4800
For night-time:
Ctrl-Alt-N Redshift-Night

Code: Select all

redshift -O 3800
This works well for me, and I prefer the manual control to having the brightness/redness change automatically.
In theory, theory and practice are the same. In practice, they ain't.

trope
Level 4
Level 4
Posts: 213
Joined: Tue Feb 19, 2013 1:10 pm

Re: [Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Post by trope » Thu Apr 11, 2019 1:18 pm

What is the default value so I can change it back in case I do not like it?

User avatar
slipstick
Level 5
Level 5
Posts: 885
Joined: Sun Oct 21, 2012 9:56 pm
Location: Somewhere on the /LL0 scale

Re: [Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Post by slipstick » Thu Apr 11, 2019 4:00 pm

trope wrote:
Thu Apr 11, 2019 1:18 pm
What is the default value so I can change it back in case I do not like it?
6500

EDIT: Use man redshift to see all the redshift options.
In theory, theory and practice are the same. In practice, they ain't.

User avatar
deanr72
Level 3
Level 3
Posts: 114
Joined: Sat Mar 24, 2018 2:00 pm
Location: Poland

Re: [Solved] Help with screen brightness (or, how my monitor is slowly killing me)

Post by deanr72 » Thu May 09, 2019 2:48 pm

Very useful thanks.

Post Reply

Return to “Hardware Support”