How can I reset my keyboard layout after modifying it with xkbcomp
?
Is there a way to do this without restarting X?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityTry:
setxkbmap us
(Replacing us
with the keyboard layout you want). If using a variant (e.g. intl
), try
setxkbmap -layout us -variant intl
setxkbmap us -variant intl
. (Only one dash!)
file:///usr/share/X11/xkb/rules/xorg.lst
link to your answer to improve readability?
Jul 29, 2010 at 15:08
Check current layout and options:
setxkbmap -print -verbose 10
Reset layout to US and reset options:
setxkbmap -layout us -option
(Without the empty -option
parameter, no options would be reset.)
Use the first command to check the result.