Does anyone know a tool to set the keyboard layout from a shell script when using KDE Plasma or GNOME on Wayland? So the keyboard layout can be switched from a shell script without restarting the display manager.
On X11 this way being done using setxkbmap.
Examples:
setxkbmap gb
setxkbmap -layout 'gb,latam(deadtilde)'
setxkbmap de nodeadkeys
setxkbmap de deadtilde
setxkbmap us
Does anyone know a tool to set the keyboard layout from a shell script when using KDE Plasma or GNOME on Wayland? So the keyboard layout can be switched from a shell script without restarting the display manager.
On X11 this way being done using setxkbmap.
Examples: