I know these layouts have two-letter codes like us
for the US layout. I need a list of all the layouts available and also to pair the two-letter codes to the proper names of the layout to get the not so trivial ones.
Asked
Active
Viewed 813 times
2

don_crissti
- 82,805

superuser
- 155
- 4
1 Answers
0
Open a text editor. Copy the code from the stackoverflow question mentioned in the comment to the file. Save the file with the name "getkbdlayouts.py".
Then open a console window. In that window, type
chmod +x getkbdlayouts.py
./getkbdlayouts.py
You may get an error like ImportError: No module named lxml.etree
. If so, you need to install the package python-lxml (usually by running apt-get python-lxml
).
How do I enumerate all available keyboard layouts in X.org?
– tink Mar 18 '13 at 22:20localectl list-x11-keymap-layouts
... seelocalectl --help
for other options – quixotic Apr 02 '17 at 13:12