When I try to load the layout via setxkbmap from the untrusted
client, it says that the XKB extension is not available.
You could try the pre-XKB way and use an additional group instead of an
additional level. xmodmap is easier to use for this than setxkbmap:
keysym q = q Q slash
So when you mention Practically, I believe the greatest problem in
this modern world with all its multimedia keyboards is to find
keycodes that are guaranteed not to be taken by real keys., are you
talking about a limitation in this approach for my problem, or is it
possible to override