Ubuntu 20.04 and then Ubuntu Mate 20.04.2 for over a year on an Ideapad Flex 5 14" like a charm. No issues with keyboard backlight until I had the idea to use a keyboard option to use the keyboard backlight to indicate the activation of the Compose key (configured as Shift+Right Alt). My work location is poorly lit, and this choice was not optimal, so I deactivated this option. However since the keyboard's backlight turns off after 10 seconds of inactivity.
This subject was discussed for Ubuntu 15 and 19, but the solution mentioned does not work on Ubuntu 20.04, because I cannot find the keyboard_backlight
file.
In the directory /sys/class/leds
, the three files are for LEDs on a traditional desktop keyboard:
input4::capslock, input4::numlock and input4::scrolllock
This directory is where one would expect the files to be for keyboard_backlight
for a laptop, intuitively.
I did find some files that are related to my question in this directory:
/sys/class/backlight/amdgpu_bl0/device/backlight/amdgpu_bl0/power/autosuspend_delay_ms
but the reference to the GPU obviously is related to a screen type.
Also I tried to cat the autosuspend_delay_ms
, cp
the file to a text file, open it with sudo pluma
to examine its content, but I always get an I/O error.
Any suggestions, please?