Are there keyboard backlight indicators in KDE?

When I adjust the volume using the keyboard, The screen shows an indicator bar of the volume level, see below.
On my laptop, there’s also one for screen brightness. When I turn up the keyboard backlight (it has 5 brightness levels), nothing happens on the screen.
I also have Ubuntu (Gnome) on the same laptop, which also shows a kbd brightness indicator when I adjust it.
Does something like this exist also KDE for Manjaro, and how can I install it?

keyboard backlight indicators not shown on my lattop. volume, screen both have one.

Well, mine neither. My question was: does it exist, can we add it?

I used to try KDE plasma on arch, debian,ubuntu. Not found it there.

You did not tell us, what version of Linux Kernel does this Ubuntu use? Did you compare Kernels from Ubuntu and Manjaro?

it’s just a gnome feature and there’s no way to add it in kde. checkout manjaro gnome if you really need it.

No, the original question is on how to have the display indicator for keyboard backlight indicator. Kernel may support it and user may be able to adjust the keyboard backlight brightness. But DE may not support a user-friendly indicator out-of-the-box.

AFAIK, KDE currently doesn’t natively support keyboard backlight brightness indicator. Perhaps this can be a good feature request to KDE. If you don’t mind, maybe just knowing the “relative” brightness of your keyboard backlight with your eyes is enough.

1 Like

I’ll just leave it here.
(on my Macbook Air)
so indeed it’s supported, maybe an additional support in some part of the whole backlight stack is needed to get Plasma indication


@JiaZhang so what is this shown in @LordTermor ? By the way, I test the method in wiki and find out no work. In AUR there is some pkg about keyboard backlight. Though I never use keyboard backlight

No idea. Keyboard backlight on my laptop also doesn’t have indicator. I searched for a keyboard indicator for KDE in the past but I didn’t find anything.

Just to make sure, this is KDE Plasma? Are you using some customization?

i have “Keyboard brightness” on my KDE in the Panel under the power/battery icon, but it doesn’t work;
i don’t have any backlight on my Laptop keyboard.

1 Like

Then there’s probably no way for it to work, I guess. But would you mind posting a screenshot of that?

Kernel versions on my laptop:

Ubuntu: 5.11-0-41-generic
Manjaro: 5.13.19-2-manjaro
EDIT: updated Manjaro kernel to 5.14.21-2, no effect

No, it’s out-of-box KDE Plasma.

Here’s a code for it’s management.

PowerDevil relies on UPower to control keyboard backlight, so check if your keyboard can be managed by upower and you’ll get Plasma control for it.

1 Like

Thanks. I’m not sure what to do with this code though. upower is installed on my system, what would I need to do to make it work?
Also, as an ootb feature, why is it apparently not there for most(?) users?

I have Tuxedo-keyboard installed, which is a driver for the keyboard and depends on tuxedo-control-center. Some power saving mechanism there might affect the backlight, but imho it shouldn’t affect the indicators.

I made a thread over at the KDE forum, will report back if something helpful comes up. Still would be great to have mor info here about the PowerDevil/upower thing though!

It’s just a proof that keyboard backlight is supported in PowerDevil/Plasma.

I don’t know, UPower should handle this.

Please provide the output of

ls /sys/class/leds/

 ~ ls /sys/class/leds/                                                                                 
input4::capslock  input4::numlock  input4::scrolllock  phy0-led

It seems your device doesn’t have a kernel-controlled backlight. What’s your laptop model?

It’s a Tuxedo Infinitybook Pro 14v5.

udo inxi --admin --verbosity=7 --filter --width                                              ✔  4s  
[sudo] password for ben: 
  Kernel: 5.14.21-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64
    root=UUID=02d09efd-0036-4efc-ace1-08d57809dd36 rw quiet apparmor=1
    security=apparmor udev.log_priority=3 sysrq_always_enabled=1
  Console: pty pts/2 wm: kwin_x11 DM: SDDM Distro: Manjaro Linux
    base: Arch Linux
  Type: Laptop System: TUXEDO product: TUXEDO v: N/A serial: N/A
    Chassis: Notebook type: 10 serial: N/A
  Mobo: TUXEDO model: N141CU serial: N/A UEFI: INSYDE v: 1.07.07RTR1
    date: 11/08/2019
  ID-1: BAT0 charge: 30.3 Wh (85.6%) condition: 35.4/35.3 Wh (100.3%)
    volts: 11.3 min: 11.4 model: Notebook BAT type: Li-ion serial: <filter>
    status: Discharging
  RAM: total: 31.06 GiB used: 3.05 GiB (9.8%)
  Array-1: capacity: 32 GiB slots: 2 EC: None max-module-size: 16 GiB
    note: est.
  Device-1: ChannelA-DIMM0 size: 16 GiB speed: 2667 MT/s type: DDR4
    detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Micron
    part-no: 16ATF2G64HZ-3G2E1 serial: <filter>
  Device-2: ChannelB-DIMM0 size: 16 GiB speed: 2667 MT/s type: DDR4
    detail: synchronous bus-width: 64 bits total: 64 bits manufacturer: Micron
    part-no: 16ATF2G64HZ-3G2E1 serial: <filter>
  Info: model: Intel Core i7-10510U socket: BGA1528 (U3E1) note: check
    bits: 64 type: MT MCP arch: Comet/Whiskey Lake note: check family: 6
    model-id: 0x8E (142) stepping: 0xC (12) microcode: 0xEA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 400/4900 base/boost: 1683/8300
    scaling: driver: intel_pstate governor: powersave volts: 0.6 V
    ext-clock: 100 MHz cores: 1: 799 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 36812
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt
    cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts
    epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr
    ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ibrs_enhanced ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
  Type: srbds mitigation: TSX disabled
  Type: tsx_async_abort status: Not affected
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: CLEVO/KAPOK
    driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:9b41 class-ID: 0300
  Device-2: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo
    bus-ID: 1-7:3 chip-ID: 04f2:b649 class-ID: 0e02
  Display: server: X.Org compositor: kwin_x11 driver: loaded: intel
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
    s-diag: 582mm (22.9")
  Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9")
    diag: 355mm (14")
  Message: Unable to show advanced data. Required tool glxinfo missing.
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: CLEVO/KAPOK
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:02c8 class-ID: 0403
  Sound Server-1: ALSA v: k5.14.21-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.42 running: yes
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: CLEVO/KAPOK driver: r8169 v: kernel port: 5000 bus-ID: 3b:00.1
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp59s0f1 state: down mac: <filter>
  Device-2: Intel Wireless-AC 9260 driver: iwlwifi v: kernel bus-ID: 40:00.0
    chip-ID: 8086:2526 class-ID: 0280
  IF: wlp64s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter type: USB driver: btusb
    v: 0.8 bus-ID: 1-10:4 chip-ID: 8087:0025 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 1.41 TiB used: 312.55 GiB (21.7%)
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW010T8
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: 002C temp: 24.9 C scheme: GPT
  SMART: yes health: PASSED on: 88d 18h cycles: 1,689
    read-units: 14,755,326 [7.55 TB] written-units: 12,000,624 [6.14 TB]
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT525MX300SSD1
    family: Micron Client SSDs size: 489.05 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.2 speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: R060 temp: 22 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 140d 20h cycles: 2325
    written: 16.45 TiB
  Message: No optical or floppy data found.
  ID-1: / raw-size: 206.87 GiB size: 201.1 GiB (97.21%)
    used: 34.84 GiB (17.3%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p1
    maj-min: 259:1 label: MNJ uuid: 02d09efd-0036-4efc-ace1-08d57809dd36
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 5.4 MiB (1.8%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p3
    maj-min: 259:3 label: UEFI uuid: 2F50-AF86
  ID-3: /home raw-size: 553.57 GiB size: 543.81 GiB (98.24%)
    used: 277.71 GiB (51.1%) fs: ext4 block-size: 4096 B dev: /dev/nvme0n1p4
    maj-min: 259:4 label: Home uuid: 3814dd46-f87d-457e-b4e7-34dae63757f8
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2 maj-min: 259:2 label: Swap
    uuid: 81357175-5808-423e-8f8d-82a2642b02a7
  ID-1: /dev/nvme0n1p5 maj-min: 259:5 size: 93.13 GiB fs: ext4 label: N/A
    uuid: 991aa536-b6d0-4afe-bf56-a2dc2d0d2572
  ID-2: /dev/sda1 maj-min: 8:1 size: 479.05 GiB fs: ext4 label: Timeshift
    uuid: e79abb97-aa4f-47c1-8275-a38826656377
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: MOSART Semi. 2.4G Wireless Mouse type: Mouse
    driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 12 Mb/s
    power: 100mA chip-ID: 3938:1031 class-ID: 0301
  Device-2: 1-7:3 info: Chicony Chicony USB2.0 Camera type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b649 class-ID: 0e02
  Device-3: 1-10:4 info: Intel Wireless-AC 9260 Bluetooth Adapter
    type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 8087:0025 class-ID: e001
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  System Temperatures: cpu: 46.0 C pch: 44.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 276 Uptime: 5m wakeups: 2 Init: systemd v: 250 tool: systemctl
  Compilers: gcc: 11.1.0 Packages: 1635 pacman: 1607 lib: 420 flatpak: 24
  snap: 4 Shell: Zsh (sudo) v: 5.8 default: Bash v: 5.1.12 running-in: konsole
  inxi: 3.3.11

Is this installed? It’s stated this driver should add backlight support into sysfs so UPower should handle it.

UPD. I read your messages again and see that it’s installed. Well, I think it’s up to driver to implement led_classdev interface. There’s a PR for it but it’s quite old and it seems no one interested to merge/update it.

Try to open a new issue about it there maybe so they will take a look into it again?

1 Like