无法在虚拟终端中输入西里尔字母

无法在虚拟终端中输入西里尔字母

虽然

$ localectl
System Locale: LANG=en_US.utf8
VC Kemap: bg_pho-utf8
X11 Layout: bg,us
X11 Model: pc105
X11 Variant: ,phonetic
X11 Options: terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll

并且图形应用程序在两种布局之间正确切换,我似乎无法在虚拟终端中应用键盘重新映射。showconsolefont确认字符存在并且cat有效。只是我无法输入西里尔字母。我能够localectl set-keymap de-latin1输入变音符号...但我不需要变音符号。

Linux msi 5.10.15-arch1-1

答案1

#!/usr/bin/env false


# Enable reading and typing in Bulgarian in VTs.
# Source this file in your '~/.profile'.



# After executing this, hold down 'AltGr' (right Alt) while typing.
# For alternative layouts, look at the bottom of the man pages.
setfont Cyr_a8x14
sudo loadkeys bg_pho-utf8


# This is permanent until reboot and works for de-latin-1 but not for BG.
# localectl set-keymap bg_pho-utf8

相关内容