安装过程中跳过键盘布局并且更改不会在 Linux Mint 中保留

安装过程中跳过键盘布局并且更改不会在 Linux Mint 中保留

我安装了全新的 Linux Mint 21.2 64 位。在安装过程中,跳过了选择键盘布局的菜单,所以我无法选择。

现在安装后,当我尝试登录时,键盘布局默认设置为美国。我可以更改它,但重新启动后它会重置。

当我尝试通过终端(使用许多不同的命令)更改键盘布局时,无法找到我想要将键盘布局设置为(德语,de)的主要语言。

我的系统:

因西:

CPU: 6-core AMD Ryzen 5 3600 (-MT MCP-) speed/min/max: 2178/2200/3600 MHz
Kernel: 5.15.0-79-generic x86_64 Up: 38m Mem: 2422.4/31973.2 MiB (7.6%)
Storage: 6.37 TiB (12.0% used) Procs: 367 Shell: Bash inxi: 3.3.13+

LSCPU:

Architektur:                       x86_64
  CPU Operationsmodus:             32-bit, 64-bit
  Adressgrößen:                    43 bits physical, 48 bits virtual
  Byte-Reihenfolge:                Little Endian
CPU(s):                            12
  Liste der Online-CPU(s):         0-11
Anbieterkennung:                   AuthenticAMD
  Modellname:                      AMD Ryzen 5 3600 6-Core Processor
    Prozessorfamilie:              23
    Modell:                        113
    Thread(s) pro Kern:            2
    Kern(e) pro Socket:            6
    Sockel:                        1
    Stepping:                      0
    Frequenzanhebung:              aktiviert
    Maximale Taktfrequenz der CPU: 3600,0000
    Minimale Taktfrequenz der CPU: 2200,0000
    BogoMIPS:                      7186.66

新获取:

OS: Linux Mint 21.2 x86_64
Shell: bash 5.1.16 
Resolution: 1920x1080, 1920x1080 
DE: Cinnamon 
WM: Mutter (Muffin) 
CPU: AMD Ryzen 5 3600 (12) @ 3.600GHz 
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590 
Memory: 2019MiB / 31973MiB 

dmidecode -t BIOS:

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
    Vendor: American Megatrends Inc.
    Version: 1202
    Release Date: 10/21/2020
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 16 MB
    Characteristics:
        PCI is supported
        APM is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        BIOS ROM is socketed
        EDD is supported
        5.25"/1.2 MB floppy services are supported (int 13h)
        3.5"/720 kB floppy services are supported (int 13h)
        3.5"/2.88 MB floppy services are supported (int 13h)
        Print screen service is supported (int 5h)
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        ACPI is supported
        USB legacy is supported
        BIOS boot specification is supported
        Targeted content distribution is supported
        UEFI is supported
    BIOS Revision: 5.17

Handle 0x0044, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 9
        en|US|iso8859-1
        fr|FR|iso8859-1
        zh|TW|unicode
        zh|CN|unicode
        ja|JP|unicode
        de|DE|iso8859-1
        es|ES|iso8859-1
        ru|RU|iso8859-5
        ko|KR|unicode
    Currently Installed Language: de|DE|iso8859-1

dmidecode -t 系统:

# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.3.0 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: ASUS
    Product Name: System Product Name
    Version: System Version
    Serial Number: System Serial Number
    UUID: 3465b530-6419-cc77-4ad6-f02f741cc591
    Wake-up Type: Power Switch
    SKU Number: SKU
    Family: To be filled by O.E.M.

答案1

是什么导致了这个问题?

这个问题是由我的键盘引起的。我有海盗船 K57 无线 RGB。当我使用通过 USB 适配器连接的键盘启动安装程序时,选择键盘布局的菜单被跳过,并且无法返回。当我按下后退按钮时,我将看到用于选择显示语言的菜单。

是什么解决了这个问题?

当我通过 USB 电缆连接键盘启动安装程序时,我可以毫无问题地选择键盘布局。

对于已安装的 Mint 来说,是什么解决了这个问题?

我编辑了该/etc/default/keyboard文件。

旧配置:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

新配置:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="de"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

重新启动后,它被设置为德语。

我不确定为什么 USB 适配器会导致该问题,但我找到了适合我的解决方案。我希望这可以帮助其他人!

相关内容