Keyboard remapping: is there a package for this?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
LateJunction
Level 3
Level 3
Posts: 132
Joined: Thu Jul 07, 2011 2:28 pm
Location: (Old) Hampshire, in UK

Keyboard remapping: is there a package for this?

Post by LateJunction »

My 'Compoint' mini-keyboard has some mismatches between the key top labels and what Mint actually 'produces'. I have just used the Microsoft Keyboard Layout Creator application under Win 10 on another computer to correct a serious mismatch on its keyboard. The MSKLC program surprised me by working so easily and so well.

Is there some equivalent way to remap the keyboard I am using here, under Mint, on the his dual boot computer?
magnus7
Level 4
Level 4
Posts: 216
Joined: Sat Jan 30, 2016 8:46 pm

Re: Keyboard remapping: is there a package for this?

Post by magnus7 »

You can remap some keys by editing /usr/share/X11/xkb/symbols files.
What's your LM version, keyboard layout and what do you want to change?
LateJunction
Level 3
Level 3
Posts: 132
Joined: Thu Jul 07, 2011 2:28 pm
Location: (Old) Hampshire, in UK

Re: Keyboard remapping: is there a package for this?

Post by LateJunction »

Thanks for this. In trying to answer the question 'what is your keyboard layout?' I was guided to system settings and learned that I could change the layout there as well as select a different keyboard layout from the panel. Switching to a different layout has solved all my problems (except one) in one action.

The only remaining issue I have is that my keyboard does not have 'back-slash' key on it - which is vital for typing names for windows shares. Can I fix that by editing the symbols files as you suggested ?
User avatar
Kadaitcha Man
Level 9
Level 9
Posts: 2588
Joined: Mon Aug 27, 2012 10:17 pm

Re: Keyboard remapping: is there a package for this?

Post by Kadaitcha Man »

LateJunction wrote:
Sun Jul 05, 2020 10:59 am
Can I fix that by editing the symbols files as you suggested ?
It's possible, yes, but the files are quite complex. This may help: https://help.ubuntu.com/community/Custo ... efinitions

https://medium.com/@damko/a-simple-humb ... 1ad5e13450

That's also worth a read.
It's pronounced kad-eye-cha, not kada-itcha.
magnus7
Level 4
Level 4
Posts: 216
Joined: Sat Jan 30, 2016 8:46 pm

Re: Keyboard remapping: is there a package for this?

Post by magnus7 »

LateJunction wrote:
Sun Jul 05, 2020 10:59 am
The only remaining issue I have is that my keyboard does not have 'back-slash' key on it - which is vital for typing names for windows shares. Can I fix that by editing the symbols files as you suggested ?
Yes. Answer my questions if you need help.
LateJunction
Level 3
Level 3
Posts: 132
Joined: Thu Jul 07, 2011 2:28 pm
Location: (Old) Hampshire, in UK

Re: Keyboard remapping: is there a package for this?

Post by LateJunction »

Answers:
LM 19.3, Cinnamon
English (UK, intl., with dead keys)
Add back-slash key, not currently printed on any key.
magnus7
Level 4
Level 4
Posts: 216
Joined: Sat Jan 30, 2016 8:46 pm

Re: Keyboard remapping: is there a package for this?

Post by magnus7 »

English (UK, intl., with dead keys) has back-slash symbol: AltGr + - = \
Do you want it in different position?
LateJunction
Level 3
Level 3
Posts: 132
Joined: Thu Jul 07, 2011 2:28 pm
Location: (Old) Hampshire, in UK

Re: Keyboard remapping: is there a package for this?

Post by LateJunction »

One has to differentiate between the mapping and the physical keyboard. the mapping for that particular layout assigns the back-slash to a key that is adjacent to and to the left of the Z key. My keyboard has no such key, which is a justification, of sorts, for my assertion that the back-slash symbol is not printed on any key.
Post Reply

Return to “Hardware Support”