There is this, but now I’m on Ubuntu 22.10 and these solutions don’t seem to work for trying to get a dyalog latest keyboard. I’m getting
> setxkbmap -layout us,de,apl -variant ,dyalog -option grp:switch
WARNING: Running setxkbmap against an XWayland server
Error loading new keyboard description
And I did get the Error loading new keyboard description
when I switched from Wayland to Xorg as well. My current keyboard is set up for en and de with super-space to toggle between them.
3
Answers
From Ubuntu 22.04, the solution is:
sudo apt install gnome-tweaks
You are presented with a list of drop-down lists in a new dialogue
Click on ‘Compatibility options’ and select: ‘Enable APL overlay characters’.
The appropriate font is already installed. Everything then just ‘works’ – e.g. press ALT-r to get rho. (There’s more detail on the APL Wiki.)
Over the years all my (at that time) favored Keyboard layout programs have failed after an Ubuntu upgrade, The first to die was xmodmap, then xkbmap, and also a few pipes between stdin and apl.
Currently I am simply augmenting file /usr/share/X11/xkb/symbols/us with the missing APL Unicodes like below and after reboot everything works fine. This method bypasses almost all fancy keyboard layout mappings that are en vogue these days, but cause nothing but trouble when it comes to APL.
If you are on APL and Ubuntu, I believe the way forward "hands down" is Emacs. And never go back.
https://github.com/lokedhs/gnu-apl-mode