Set functions for blank keys after switching from Japanese to English Keyboard Ubuntu 18.04

I have a Japanese keyboard laptop, I have mapped it to English format because of which I have a few extra keys. Can I do something to map them for existing functions? Like there is a key to the left of backspace which does nothing and I would like to map it for backspace.

2

1 Answer

Keymappings are kept at /usr/share/X11/xkb/symbols/. I have a laptop on which I swap around home/end and pgup/pgdown because their positions on the keyboard irk me. If you can figure out where those keys are assigned in those configs, it should just be a matter of assigning them with the right code to match the key you want them to press. Remember to log out and in after each reassignment.

If you REALLY want to get involved with it, Here's the xorg xkb page detailing how to really work with it, but for simple reassignment you shouldn't need to go that in-depth.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like