You are not logged in.

#1 2018-05-22 00:40:59

Belph
Member
Registered: 2018-04-08
Posts: 26

[solved] How to set xrandr brightness permanently?

Aloha,

I always set my main monitor brightness with *xrandr --output DP-1 --brightness 0.2* but I would like it to be that on startup but I can't find the config in which to change it. I assumed it would be some X11 config but I don't know which one and where to put it.


<3 Belph

Last edited by Belph (2018-05-26 14:58:03)

Offline

#2 2018-05-22 02:46:48

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: [solved] How to set xrandr brightness permanently?

If you use startx / xinit then you can just put the xrandr line in ~/.xinitrc before you launch your DE/WM.

Offline

#3 2018-05-22 09:00:32

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] How to set xrandr brightness permanently?

Worked perfectly. Thank you very much. [solved]

Offline

#4 2018-05-22 17:33:50

piratebill
Member
From: Sol System
Registered: 2011-10-20
Posts: 145

Re: [solved] How to set xrandr brightness permanently?

You can also use xbacklight.

xbacklight -set 20

Last edited by piratebill (2018-05-22 17:35:01)

Offline

#5 2018-05-22 23:06:07

Belph
Member
Registered: 2018-04-08
Posts: 26

Re: [solved] How to set xrandr brightness permanently?

I tried this before but I couldn't see any changes. How would the command look like if the monitor I am trying to make less bright is called DP-1? xbacklight -d DP-1 -set 20?

Offline

Board footer

Powered by FluxBB