Which keymap to use

Hey, my virtual console fails upon booting, I’m not really sure what it does, but wanted to resolve it anyway. I looked online for an answer and usually it was said to change what keymap is being used.

My laptop is set to KEYMAP=au, but the forum I checked mentioned changing it to KEYMAP=us if you have a problem

These are the only options my laptop gives and I’m not sure which one I’m meant to pick ;

3l
ANSI-dvorak
adnw
amiga-de
amiga-us
apple-a1048-sv
apple-a1243-sv
apple-a1243-sv-fn-reverse
apple-internal-0x0253-sv
apple-internal-0x0253-sv-fn-reverse
applkey
atari-de
atari-se
atari-uk-falcon
atari-us
azerty
backspace
bashkir
be-latin1
bg-cp1251
bg-cp855
bg-bds-cp1251
bg-bds-utf8
bg-pho-cp1251
bg-pho-utf8
bone
br-abnt
br-abnt2
br-latin1-abnt2

I got these options by typing localectl list-keymaps into command line

Any thoughts would be much appreciated
Thanks!!

Hi @bazooga , and welcome to the community , please provide the output of garuda-inxi otherwise the thread is going to be labeled as failed precondition . (lack of info)

2 Likes

Apart from garuda-inxi post log from localctl and

  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text

Press space after

until it stop, then q
Do not post the list.

Again :slight_smile:

Without garuda-inxi this request will be moved to 412 Precondition Failed

3 Likes

here is garuda-inxi;

System:
  Kernel: 6.8.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=d1b37eb2-b652-49fd-8ecc-f3caa5721d64 rw rootflags=subvol=@
    quiet loglevel=3 ibt=off
  Desktop: GNOME v: 46.0 tk: GTK v: 3.24.41 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 46.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Laptop System: Acer product: Aspire A515-54 v: V1.16
    serial: <superuser required>
  Mobo: CML model: Doc_WC v: V1.16 serial: <superuser required>
    part-nu: 0000000000000000 uuid: <superuser required> UEFI: Insyde v: 1.16
    date: 12/11/2019
Battery:
  ID-1: BAT1 charge: 4.8 Wh (14.2%) condition: 33.9/48.9 Wh (69.3%)
    volts: 14.4 min: 15.2 model: LGC AC14B8K type: Li-ion serial: <filter>
    status: discharging
CPU:
  Info: model: Intel Core i7-10510U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check gen: core 10 level: v3 note: check
    built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xFA
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 451 high: 809 min/max: 400/4900 scaling:
    driver: intel_pstate governor: powersave cores: 1: 809 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 bogomips: 36799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Acer Incorporated ALI
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: Quanta HD User Facing driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:2 chip-ID: 0408:a061
    class-ID: 0e02
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: AU Optronics 0x61ed built: 2018 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: Vulkan v: 1.3.279 layers: 3 device: 0 type: integrated-gpu name: Intel
    UHD Graphics (CML GT2) driver: mesa intel v: 24.0.3-arch1.2
    device-ID: 8086:9b41 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 17.0.6 256 bits) driver: mesa llvmpipe
    v: 24.0.3-arch1.2 (LLVM 17.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    bus-ID: 00:1f.3 chip-ID: 8086:02c8 class-ID: 0403
  API: ALSA v: k6.8.1-zen1-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Acer Incorporated ALI RTL8111/8168/8411 driver: r8169 v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 01:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:4 chip-ID: 8087:0026
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 5.2
    lmp-v: 11 status: discoverable: no pairing: no class-ID: 6c010c
Drives:
  Local Storage: total: 238.47 GiB used: 14.77 GiB (6.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN520
    SDAPNUW-256G-1014 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 15.8 Gb/s lanes: 2 tech: SSD serial: <filter>
    fw-rev: 20110000 temp: 25.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 14.77 GiB (6.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 584 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 14.77 GiB (6.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 14.77 GiB (6.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-5: /var/tmp raw-size: 238.17 GiB size: 238.17 GiB (100.00%)
    used: 14.77 GiB (6.2%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.48 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 36.0 C pch: 37.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB available: 7.48 GiB used: 2.9 GiB (38.7%)
  Processes: 334 Power: uptime: 3h 48m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 1 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 2.98 GiB services: gsd-power,
    power-profiles-daemon, upowerd Init: systemd v: 255 default: graphical
    tool: systemctl
  Packages: pm: pacman pkgs: 1507 libs: 494 tools: gnome-software,pamac,paru
    Compilers: gcc: 13.2.1 Shell: garuda-inxi default: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.33
Garuda (2.6.23-1):
  System install date:     2024-03-25
  Last full system update: 2024-03-25
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            systemd-vconsole-setup.service 

and localectl;

System Locale: LANG=en_AU.UTF-8
    VC Keymap: (unset)         
   X11 Layout: au

Thanks :slight_smile:

1 Like

Nope

Edit

sudo micro /etc/vconsole.conf
KEYMAP=au
3 Likes

when I type in

sudo micro /etc/vconsole.conf

It already says this tho

FONT=ter-220n
KEYMAP=au

Is there something else I need to change?

sudo locale-gen

it said this

Generating locales...
  en_AU.UTF-8... done
  en_US.UTF-8... done
Generation complete.

but

localectl

and

sudo micro /etc/vconsole.conf

are still the same

This?

yes

System Locale: LANG=en_AU.UTF-8
    VC Keymap: (unset)         
   X11 Layout: au

Try a reboot.
IDK in moment what’s going on :slight_smile:

okie, I can’t do that rn, but will let you know when I do
Thanks :slight_smile:

Start reading, please, hope it helped. :slight_smile:

Thanks!

It works after reboot?

You can pick any one you like. The reason the vconsole setup service is failing and the keymap is unset is because you are using a value which is not on that list.

See here, you posted the list of A’s:

No “au” I’m afraid. :face_with_diagonal_mouth:

I think a lot of AU folks do this because the AU and US keymaps are the same.

1 Like

It didn’t, even after changing the keymap to us, but it doesn’t seem to be affecting the laptop badly in any way so she’ll be right

Thanks

I believe it is necessary to regenerate the initramfs after changing this file.

sudo dracut-rebuild
4 Likes

omg, thank you!! There are officially no failed things on startup :slight_smile:

And unofficial?
Just a joke for the lulz :slight_smile:

Mark the post from @BluishHumility as solution btw.

2 Likes