DLH Asked: 2010-07-30 06:45:12 +0800 CST2010-07-30 06:45:12 +0800 CST 2010-07-30 06:45:12 +0800 CST How do I reset my keyboard layout? 772 How can I reset my keyboard layout after modifying it with xkbcomp? Is there a way to do this without restarting X? keyboard keyboard-layout xorg 3 Answers Voted Best Answer dieki 2010-07-30T06:49:38+08:002010-07-30T06:49:38+08:00 Try: 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. Stefan van den Akker 2018-04-19T09:33:35+08:002018-04-19T09:33:35+08:00 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. Dan 2011-11-09T05:21:56+08:002011-11-09T05:21:56+08:00 Use setxkbmap -layout us. It looks to completely reset the changes
Try:
(Replacing
us
with the keyboard layout you want). If using a variant (e.g.intl
), tryHere's a list of keyboard layouts.
Check current layout and options:
Reset layout to US and reset options:
(Without the empty
-option
parameter, no options would be reset.)Use the first command to check the result.
Use
setxkbmap -layout us
. It looks to completely reset the changes