2

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!

fbiville
  • 165

1 Answers1

3

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?

Gunnar Hjalmarsson
  • 33,540
  • 3
  • 64
  • 94