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!

marked as duplicate by Gunnar Hjalmarsson, Eric Carvalho, edwinksl, Kevin Bowen, karel Aug 31 '16 at 7:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    French (Azerty) is probably close. Based on that you could create a custom keyboard layout. – Gunnar Hjalmarsson Aug 25 '16 at 19:56
  • Thank you for the answer, it seems the post you have linked should help me. I'll have to decypher it first as keyboard mapping is a thing I have not touched before, but i'll test that in a virtua machine first. Thanks! – guill69f Aug 28 '16 at 9:51
  • Hi, coming back here to say that the links you provided have been extremely helpful, i have everything working fine now. Thanks again! – guill69f Aug 30 '16 at 9:04
  • Glad to hear that! :) – Gunnar Hjalmarsson Aug 30 '16 at 11:24