sudo dpkg-reconfigure keyboard-configuration
或者
或者
sudo vim /etc/default/keyboard
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="logitech_base"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
:wq
sudo reboot
本文介绍如何通过编辑/etc/default/keyboard文件来更改系统的键盘布局设置。具体步骤包括使用sudo权限打开文件,修改XKBMODEL、XKBLAYOUT、XKBVARIANT和XKBOPTIONS变量以匹配所需的键盘配置。
3524

被折叠的 条评论
为什么被折叠?



