I own a Lenovo Thinkpad T440p running on Ubuntu 16.04 LTS with an AZERTY keyboard and I would like to improve the usage of my external Mac Magic keyboard (AZERTY as well, no numpad).

While the existing Mac text entry setting works for most of the keys, there are still a few issues I do not know how to fix:

  • Cmd+C or Cmd+V should work as the built-in keyboard's Ctrl+C (copy) or Ctrl+V (paste)
  • keypress on Magic keyboard key < actually types @
  • keypress on Magic keyboard key > actually types #
  • keypress on Magic keyboard key @ actually types <
  • keypress on Magic keyboard key # actually types >

Thanks in advance!

  • You need to select the corresponding keyboard layout. – user692175 Jan 24 '18 at 18:43
  • Your chance to get help increases if you tell us which keyboard layout you use and which keys you have a problem with. – Gunnar Hjalmarsson Jan 24 '18 at 19:26
  • Isn't it in the initial description? Built-in keyboard: Thinkpad T440 AZERTY Keyboard. USB Keyboard: Magic Macintosh AZERTY keyboard without numpad. – fbiville Jan 24 '18 at 21:08
  • @MichaelBay : refined my initial question – fbiville Jan 24 '18 at 21:23
  • Few helpers here know all the details about all keyboards out there. ;) Anyway, I posted an answer which hopefully helps partially. – Gunnar Hjalmarsson Jan 24 '18 at 21:38

A partial answer is to make use of the apple:badmap XKB option.

Terminal command to satisfy the Mac keyboard:

gsettings set org.gnome.desktop.input-sources xkb-options "['apple:badmap']"

Terminal command to disable the option:

gsettings reset org.gnome.desktop.input-sources xkb-options

As regards making Command/Ctrl I think this question applies:

How do I switch the Command key and Control key on a MacBook Pro?

  • @Rolf: Good, that's what I hoped. I added a link to my answer to cover the Cmd/Ctrl part of the question. – Gunnar Hjalmarsson Jan 28 '18 at 19:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.