Thank you so much for helping me.
Iâm not an expert on the command tasks, with the information you gave me I noted the following:
If I follow the location:
/sys/class/leds/tpacpi::kbd_backlight/brightness
first, my kbd_backlight file is not there, there are only these folders:
/sys/class/leds/ath9k-phy0
/sys/class/leds/input3::capslock
/sys/class/leds/input3::numlock, and
/sys/class/leds/input3::scrolllock
So I cannot apply:
cat /sys/class/leds/tpacpi::kbd_backlight/max_brightness
Iâm not sure if the ath9k-phy0 device corresponds to my keyboard, I think not because when I apply:
brightnessctl --device=âath9k-phy0â info
I receive this description:
Device âath9k-phy0â of class âledsâ:
Current brightness: 250 (98%)
Max brightness: 255
(by the way I had changed the value of this device with)
brightnessctl --device=âath9k-phy0â set (and I tried various values, but nothing changes)
Now about D-Bus
upower 0.99 installed
dbus-python installed (I think, says python bindings for DBUS
What I understood was to:
1 create a document named kb-light.py on the /usr/local/bin/ location, then I made it executable but when I run it through ./kb-light.py Im lost because it returns:
Script takes one or two argument. 0 arguments provided.
what more I need to do because I dont understand what
setKeyboardLight () {
dbus-send --system --type=method_call --dest=âorg.freedesktop.UPowerâ â/org/freedesktop/UPower/KbdBacklightâ âorg.freedesktop.UPower.KbdBacklight.SetBrightnessâ int32:$1
}
means, I need some assistance about this last part please.