I have a US keyboard by I'm using a British keyboard layout.
The US keyboard doesn't physically have the keys \ (backslash) and | (vertical bar).
I'd like to remap them to Alt # and Alt ~ respectively.
How can I achieve this?
I'm running Ubuntu Artful, which uses xkb
.