My backlight keyboard was working fine. I used to just use xset led on
and the keyboard would just turn on its lights; however, after upgrading to 22.04. xset led on
does not work anymore. I would be thankful if anyone could help me.

- 31
4 Answers
This Steps works for me
echo 1 | sudo tee /sys/class/leds/input12\:\:scrolllock/
brightnessctl -l
brightnessctl --device='yourdevice::kbd_backlight' info
sudo brightnessctl --device='yourdevice::kbd_backlight' set 2

- 2,945
- 5
- 17
- 26
In order to turn on external keyboard baklight on ubuntu 22.04, follow the steps:-
Method to switch from Wayland to X ** this step is compulsory ** Edit the configuration file,
sudo nano /etc/gdm3/custom.conf
to uncomment [remove # from] the line containing
WaylandEnable=false
save the file (ctrl + x and after that y ('yes') or another key for non-English and finally Enter) and reboot.
Method One
open a terminal
sudo xmodmap -e 'add mod3 = Scroll_Lock'
enter your password
press the scroll lock key to see if your back light comes on
Method Two
- open a terminal
xset led on
I had the same problem (after ubuntu update) and eventually reverted to previous ubuntu to fix it.
For future reference, this log may be helpful if anyone runs into the same issue:
From var/log/boot.log
:
[FAILED] Failed to start Load/Save Screen Backlight Brightness of backlight:acpi_video0.
See 'systemctl status systemd-backlight@backlight:acpi_video0.service' for details.
running systemctl gives:
systemctl status systemd-backlight@backlight:acpi_video0.service
● systemd-backlight@backlight:acpi_video0.service - Load/Save Screen Backlight Brightness of backlight:acpi_video0
Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-05-30 10:22:21 PDT; 1h 44min ago
Docs: man:systemd-backlight@.service(8)
Process: 464 ExecStart=/lib/systemd/systemd-backlight load backlight:acpi_video0 (code=exited, status=1/FAILURE)
Main PID: 464 (code=exited, status=1/FAILURE)

- 51,541

- 9
-
This does not provide an answer. It would be better posted as a comment. If you've found a solution (which would be great), you should add this to your answer. – RolandiXor Oct 02 '23 at 02:30
xset
is, as it sounds, an Xorg program. You can switch to Xorg, and then it will work properly. – Esther May 30 '22 at 21:42