I currently installed MATE Tweak only to be able to enable keyboard LEDs on the top panel.
Is there a way to achieve that without using MATE Tweak?
I am asking because, out of all the settings it allows to change, some settings are already present in Window Preferences, some settings cannot be changed, and I would not use the other settings.
I found the answer in a question asked for Ubuntu 20.04. The question asks why the keyboard LEDs are not shown, although Mate Tweak is installed and its Enable Keyboard LED option is selected.
The answer suggests to try to toggle them off with gsettings set org.mate.peripherals-keyboard-xkb.general duplicate-leds false and back on with gsettings set org.mate.peripherals-keyboard-xkb.general duplicate-leds true. It also suggests to try reinstalling the libmatekbd-common (which does not exist for EndeavourOS) and the libmatekbd4 (which probably is libmatekbd) packages.
For me, just using the following commands worked, after I uninstalled MATE Tweak:
gsettings set org.mate.peripherals-keyboard-xkb.general duplicate-leds true enable the keyboard LEDs
gsettings set org.mate.peripherals-keyboard-xkb.general duplicate-leds false disable them