You are not logged in.

#1 2017-05-07 05:07:07

Timn
Member
Registered: 2009-11-17
Posts: 3

[SOLVED]Auto Brightness

Hi Everyone!

I have been searching for about 3 hours now and still can't find an answer. If this is answered somewhere else I can't find it!

I reinstalled Arch today with Gnome as the DE. Everything is working perfectly except for one thing. How do I get my laptop to auto adjust the screen brightness when switching to battery? Surely Gnome is able to do this native without the use of extra scripts!

Any help/info on this would be appreciated!

Last edited by Timn (2017-05-09 13:49:29)

Offline

#2 2017-05-07 11:59:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: [SOLVED]Auto Brightness


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-05-07 14:33:41

Timn
Member
Registered: 2009-11-17
Posts: 3

Re: [SOLVED]Auto Brightness

Thanks for pointing me in the right direction! Not sure how I never found that...

One thing I had to modify was to add the following to /etc/udev/rules.d/powersave.rules:

SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="/usr/sbin/pm-powersave true"
SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/usr/sbin/pm-powersave false"

Fix found here: https://bugs.launchpad.net/ubuntu/+sour … ug/1461386

Without the powersave.rules in place the system never ran the script.

Thanks again!

Side Note: Still can't believe this is not a built in function to Gnome!

Last edited by Timn (2017-05-07 14:35:14)

Offline

#4 2017-05-08 14:30:19

goumba
Member
From: New Jersey, USA
Registered: 2017-03-31
Posts: 21
Website

Re: [SOLVED]Auto Brightness

Timn wrote:

Side Note: Still can't believe this is not a built in function to Gnome!

Don't believe it, but believe in the GNOME team acting as the GNOME teams does.

It *was* there in the power settings in earlier versions.


FSF Associate Member #12876
"Yeah, well, you know, that's just, like, your opinion, man." - The Dude

Offline

Board footer

Powered by FluxBB