나는 폴란드어 레이아웃을 사용하지만 터미널에서 AltGr(내 경우에는 ) +를 사용하면 right Alt+-와 동일하게 인쇄됩니다.b”
AltGrgrfæ
나는 사용한다:
- 페도라 워크스테이션 37
- 도래 송곳
- 펄스 폭 변조
- 레노버 A485
매핑하지 않고 새로운 æ
레이아웃을 만들어 보았습니다 ”
.
$ sudo cp /usr/share/X11/xkb/symbols/pl /usr/share/X11/xkb/symbols/custom_pl
$ sudo nvim /usr/share/X11/xkb/symbols/custom_pl
-- Before --
key <AC04> { [ f, F, ae, AE ] };
...
key <AB05> { [ b, B, rightdoublequotemark, leftdoublequotemark ] };
-- Before --
-- After --
key <AC04> { [ f, F, , ] };
...
key <AB05> { [ b, B, , ] };
-- After --
추가하다 custom_pl
:/usr/share/X11/xkb/rules/xorg.lst
...
no Norwegian
pl Polish
custom_pl Polish (Good to bash shortcuts)
pt Portuguese
ro Romanian
...
그리고 /usr/share/X11/xkb/rules/xorg.xml
:
<layout>
<configItem>
<name>custom_pl</name>
<!-- Keyboard indicator for Polish with normal linux shourtcut layouts -->
<shortDescription>custom_pl</shortDescription>
<description>Polish</description>
<countryList>
<iso3166Id>PL</iso3166Id>
</countryList>
<languageList>
<iso639Id>pol</iso639Id>
</languageList>
</configItem>
<variantList>
<variant>
<configItem>
<name>legacy</name>
<description>Polish (legacy)</description>
</configItem>
</variant>
</variantList>
</layout>
새 레이아웃 추가xorg.conf.d
$ sudo nvim /etc/X11/xorg.conf.d/00-keyboard.conf
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "custom_pl, ua"
Option "XkbModel" "pc105+inet"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
컴퓨터를 다시 시작합니다. 오류가 있습니다.
$ localectl set-keymap custom_pl
Failed to set keymap: Keymap custom_pl is not installed.
$ setxkbmap custom_pl
Error loading new keyboard description
나는 시도했다: https://michal.kosmulski.org/computing/articles/custom-keyboard-layouts-xkb.html https://discussion.fedoraproject.org/t/how-to-define-custom-keyboard-mappings-under-fedora-silverblue/77368
아무것도 아닙니다. 아직 custom_pl 레이아웃이 없습니다. 도와주세요?