How do I type an L with stroke or ł, which appears notably in Polish, when using the us-intl-altgr
keyboard mapping for X? More generally, is there a way to find out systematically how I can produce a certain symbol with a given keymap?
I have searched online and found several illustrations of this layout, but none seems to include this symbol.
A generic method to type a character, which is not present with the keyboard layout you are using, is to type it using its code points.
So for the example you mentioned:
Ctrl+Shift+U followed by 0142 followed by Enter => ł
Answering my own question after some research.
A list of defined keys is in
/usr/share/X11/xkb/symbols/us
. The character ł appears there aslstroke
, and it is unfortunately not defined in thealtgr-intl
section, unfortunately (but only incolemak
).A different way to obtain it would be with the dead key
dead_stroke
followed byl
. Unfortunately, the keydead_stroke
isn't defined inaltgr-intl
either (but only inmac
). So the answer is that there is no way to enter that symbol with the "vanilla"altgr-intl
apart from the cumbersome method described in @GunnarHjalmarsson's answer, which allows to enter a generic Unicode codepoint: Ctrl+Shift+U, 0142, Enter.There is a different solution, though: defining a Compose key. Using
gnome-tweaks
, one can set up a modifier key (for instance, right-alt, or caps lock) to act as a compose key. Then, pressing compose, /, l produces ł.