2

I'm trying to enable capslock with a console command, is there a possibility to do so? I found setleds +/-caps but that only works in a non-graphical environment sadly.

Any help is appreciated, thanks!

1 Answers1

0

I see here that xdotool can do it:

sudo apt install xdotool

Toggle the CapsLock effect (lock uppercase) with

xdotool key Caps_Lock
cipricus
  • 1,386
  • 13
  • 42