3

I am trying to convert a bunch of friends of mine to make the switch from Mac OSX to Ubuntu, and from most perspectives it works. The biggest pain point seems to be the keyboard: Apple is really producing nice keyboards, but the usage on Linux (Gnome) is rather limited (which is mostly due to the fact that Apple uses their keys differently).

There are two absolutely fantastic writeups in this regards, one is from the Arch Linux Wiki and the other one from the Ubuntu Wiki, but both miss these important facts from my perspective, which is: the keyboard.

I am facing these pain points, anyone can tell me how to work around them?

  • the delete key does not exist in Linux, so we would need to map CMD+backspace to DEL
  • 'command' (apple-key) needs to be mapped to 'control' ctrl

Anyone can point me in the right direction?

This is mainly concerning Ubuntu Desktop 19.10 with Gnome. As i stated in the initial sentence, i am searching for something to apply to older and different Ubuntu desktops as well, as this is concerning multiple people.

5
  • 1
    To start with, which version of Linux have you installed (Ubuntu server, Ubuntu desktop, Kubuntu, Lubuntu, Xubuntu, Ubuntu MATE, et al.) , and which release number? Are you using virtualization, and if so, which package? Please click edit and add that vital information to your question so all the facts we need are in the question. Please do not use Add Comment.
    – K7AAY
    Feb 21, 2020 at 18:40
  • Thank you, i clarified the question and added the missing facts (Ubuntu Desktop, Gnome). To be clear: i am searching for an option which works with X as well as with Wayland (different installations!).
    – kub7
    Feb 21, 2020 at 22:33
  • 1
    "the delete key does not exist in Linux"? There is a delete key on my keyboard that absolutely works in linux... which delete key are you talking about?
    – danzel
    Feb 22, 2020 at 1:10
  • Regarding remapping scancodes to different keycodes: maybe my old answer may help.
    – danzel
    Feb 22, 2020 at 1:27
  • 1
    What worked best for me was the hid-apple-patched repo. The readme has install instructions, but it let me 1. swap alt/cmd, 2. swap fn/ctrl, 3. change function key layout. Nov 25, 2020 at 17:55

1 Answer 1

3

On my ubuntu 20.04, fn + backspace works as delete.

Switching control with the cmd which i did as well, download gnome-tweaks and open it's UI. Under keyboard, you can mark change left ctrl for win

1
  • on 22.04 LTS / GNOME Tweaks 42 this menu is under Keyboard&Mouse --> Additional Layout Options --> Ctrl position: Swap Left Win with Left Ctrl
    – Sebastian
    Dec 25, 2023 at 9:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .