1 2 3 4
#!/bin/bash keymap=$(zenity --list --title="Select your keymap" --column="Keymap" $(localectl list-x11-keymap-layouts)) setxkbmap $keymap