You are not logged in.
Pages: 1
Hello everyone, I have an issue:
My laptop (Lenovo Thinkbook 15-iil) has a very bright power button light, and this very harm my eyes, I want a way to disable that!
thanks for your help
Offline
Find it's brightness under /sys/class/leds, mine is at /sys/class/leds/tpacpi::power/brightness, then set this to zero to confirm it works:
# echo 0 > /sys/class/leds/tpacpi::power/brightness
If that works, you just need to make that automatic at boot up. There are a few approaches for this, though I think a systemd-tmpfiles approach might be the currently most recommended.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Find it's brightness under /sys/class/leds, mine is at /sys/class/leds/tpacpi::power/brightness
I don't have tpacpi::power, it's for me:
ls /sys/class/leds/
input3::capslock input3::numlock input3::scrolllock phy0-led
can be "phy0-led" for me??
Offline
No, phy0-led is a network card indicator. It seems your thinkbook isn't covered by the thinkpad module or any other default kernel modules. There may be a third party module for it, or you might be able to find some other sys interface that covers it. Check the following for candidates:
find -L /sys/class/ -maxdepth 4 -iname brightness
Of course there's also the simple low-tech solution of a bit of electrical tape.
Last edited by Trilby (2023-03-10 16:44:07)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
here may be a third party module for it, or you might be able to find some other sys interface that covers it. Check the following for candidates:
find -L /sys/class/ -maxdepth 4 -iname brightness | curl -F 'file=@-' 0x0.st
http://0x0.st/HiYm.txt
Of course there's also the simple low-tech solution of a bit of electrical tape.
I think I should go back to the same.
Offline
Pages: 1