You are not logged in.

#1 2018-01-23 15:38:04

samhh
Member
Registered: 2017-12-25
Posts: 18

[SOLVED] Laptop screen brightness is reset on suspend

I am using acpilight to control my Macbook's screen brightness. It works perfectly aside from the issue in the subject. Whenever I suspend and then reawake my laptop the screen brightness is reset to 40/100 (as determined with "xbacklight -get"), regardless of the value of this prior to suspension (I've tested both above and below).

Any ideas? Thanks!

Last edited by samhh (2018-12-24 16:16:52)

Offline

#2 2018-01-23 16:00:40

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Laptop screen brightness is reset on suspend

Why aren't you using xbacklight itself for setting the brightness? Also, have you checked the suspend/resume logs for any hints?

Finally, as a workaround you can run a resume hook to set the brightness again.

Offline

#3 2018-02-03 00:04:38

samhh
Member
Registered: 2017-12-25
Posts: 18

Re: [SOLVED] Laptop screen brightness is reset on suspend

Hey, sorry for late reply!

I was pointed towards acpilight by the Wiki for the sake of setting my Macbook's keyboard backlight: https://wiki.archlinux.org/index.php/Ma … _Backlight. It'd also make an eventual transition to Sway/Wayland easier.

For what it's worth, I just tried uninstalling acpilight and installing xorg-xbacklight - the keyboard backlight control stopped working as expected, and the issue in the OP remained.

Which logs am I best off checking for hints?

Cheers!

Last edited by samhh (2018-02-03 00:05:58)

Offline

#4 2018-02-03 07:24:27

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Laptop screen brightness is reset on suspend

Try checking your suspend/resume logs (depending on what you are using for that). As a workaround, you can use a resume hook to set the correct brightness.

Offline

#5 2018-12-24 16:16:01

samhh
Member
Registered: 2017-12-25
Posts: 18

Re: [SOLVED] Laptop screen brightness is reset on suspend

Just wanted to say that although it took me nearly a year to come back to this, your suggestion to use a resume hook to set the brightness correctly did work. Thanks!

Here's what I came up with here.

Offline

#6 2025-07-03 08:23:29

SimonJ
Member
From: Alicante, Spain
Registered: 2021-05-11
Posts: 311
Website

Re: [SOLVED] Laptop screen brightness is reset on suspend

This has just solved the problem on Budgie desktop, thank you.

Oops I see this is an old thread, sorry

Last edited by SimonJ (2025-07-03 08:23:53)


Rlu: 222126

Offline

Board footer

Powered by FluxBB