You are not logged in.
I have three keyboard layouts/languages enabled. How can I run a script every time the keyboard layout changes? Specifically a bash script. I'm on KDE.
Last edited by MultiPlatinum (2023-10-29 01:35:09)
Offline
xev -1 -event keyboard | grep ISO_Next_Groupgives it all. Use the -1 option to keep it all in one line. The state value seems to give the activated layout?
xev -1 -event keyboard | grep --line-buffered ISO_Next_Group | xargs -I{} notify-send ahaLast edited by MultiPlatinum (2023-10-29 01:34:48)
Offline