There is previous similar question but solution there didn't work for me in Ubuntu 16.04. I mean:
gkbd-keyboard-display -l us,intl
The commands below work but I want to be able to specify which layout variant not just basic layout or current one.
gkbd-keyboard-display -l us
gkbd-keyboard-display -g 1
gkbd-keyboard-display -l 'us(inlt)'
would or could work. Or usexkbprint -lg 1 -color "$DISPLAY" - | ps2pdf - > keybord_layout-grp-1.pdf
get a PDF of the current layout. To change the layout temorary, usesetxkbmap
, see manual page for options.PDF
command didn't work for me. What's an alternate for gathering data on the keyboard and key mappings?ps2pdf
, it is part ofghostscript
package? I just tested Anders' command and it is working still, in Ubuntu 22.04