1. Fresh install ubuntu server 22.04.1 on Lenovo server.
2. Install console-data package
3. Get locale status:
# localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: us
X11 Model: pc105
4. Fail to ist and set keymap with command "localectl", but the kmap file can be found in the /usr/share./keymaps/
#localectl list-keymaps
Failed to read list of keymaps: No such file or directory
# localectl set-keymap us
Failed to set keymap: Keymap us is not installed.
# find /usr/ -name us.kmap.gz
/usr/share/keymaps/i386/qwerty/us.kmap.gz
5. It need type "CapsLock" twice when want to switch uppercase/lowercase by using keyboard of laptop, not once, the other keyboard has no issue about it.
# dumpkeys | grep -E "keymaps|58"
keymaps 0-127
keycode 58 = CtrlL_Lock
6. It can switch uppercase/lowercase normally after run command "loadkeys us".
Please help check why need type twice "CapsLock" for switching uppercase/lowercase and how to fix it.
1. Fresh install ubuntu server 22.04.1 on Lenovo server. /keymaps/ keymaps/ i386/qwerty/ us.kmap. gz
2. Install console-data package
3. Get locale status:
# localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: us
X11 Model: pc105
4. Fail to ist and set keymap with command "localectl", but the kmap file can be found in the /usr/share.
#localectl list-keymaps
Failed to read list of keymaps: No such file or directory
# localectl set-keymap us
Failed to set keymap: Keymap us is not installed.
# find /usr/ -name us.kmap.gz
/usr/share/
5. It need type "CapsLock" twice when want to switch uppercase/lowercase by using keyboard of laptop, not once, the other keyboard has no issue about it.
# dumpkeys | grep -E "keymaps|58"
keymaps 0-127
keycode 58 = CtrlL_Lock
6. It can switch uppercase/lowercase normally after run command "loadkeys us".
Please help check why need type twice "CapsLock" for switching uppercase/lowercase and how to fix it.