Keyboard Layout – How to Reset Keyboard Layout


How can I reset my keyboard layout after modifying it with xkbcomp?

Is there a way to do this without restarting X?

Best Answer


setxkbmap us

(Replacing us with the keyboard layout you want). If using a variant (e.g. intl), try

setxkbmap -layout us -variant intl

Here's a list of keyboard layouts.

Related Question