Configuring a Mac Magic keyboard
6,480
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?
Related videos on Youtube
Author by
fbiville
Updated on September 18, 2022Comments
-
fbiville over 1 year
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!
-
Admin over 6 yearsYou need to select the corresponding keyboard layout.
-
Gunnar Hjalmarsson over 6 yearsYour chance to get help increases if you tell us which keyboard layout you use and which keys you have a problem with.
-
fbiville over 6 yearsIsn't it in the initial description? Built-in keyboard: Thinkpad T440 AZERTY Keyboard. USB Keyboard: Magic Macintosh AZERTY keyboard without numpad.
-
fbiville over 6 years@MichaelBay : refined my initial question
-
Gunnar Hjalmarsson over 6 yearsFew helpers here know all the details about all keyboards out there. ;) Anyway, I posted an answer which hopefully helps partially.
-
Gunnar Hjalmarsson over 6 years@Rolf: Good, that's what I hoped. I added a link to my answer to cover the Cmd/Ctrl part of the question.