This question already has an answer here:
I have a macbook pro on which I am considering to install a dualboot (I have virtual machines at the moment). The MBP was purchased in UK and came with a keyboard layout for this area, but as I am french (and already juggling between 3 different types of keyboard configurations) I modified it accordingly. French MBP keyboards having not the same number of keys as UK keyboards, I purchased and mounted some french keyboard keys on internet, and then installed a configuration file so that pressing the keys matches the letters on each of them.
Bottom line: my keyboard looks now as follow keyboard pic
Problem: this is not matching any default UK nor French keyboard in Ubuntu, is there a way to remap everything correctly so that it matches my picture? Eventually, I can remap every single key if needed.
I have found instructions on how to remap command keys etc, but not a specific keyboard display. Help much appreciated, thank you!