MacBook running with Ubuntu 18.04.3 LTS

MacBook running with Ubuntu 18.04.3 LTS

Last weekend I spend some time to install Ubuntu 18.04.3 LTS on my Mid 2019 MacBook Pro. Unfortunately I already tested it with a USB live version and found out that everything seemed to work except wirless lan. So I just added a few more investigations to find out if it would be possible to get it working. What did I do: . I checked in about this mac which wlan Module is used and searched via google if there is a driver. . I found out that there is a driver and just tried it via USB live version of Ubuntu what directly worked.

Here are my main sources I used to set everything up:

Keyboard Layout



    I did the following changes in /usr/share/X11/xkb/symbols/pc to switch the command and control key:

    key <LCTL> {    [ Super_L       ]   };
    key <LWIN> {    [ Control_L     ]   };
    key <RCTL> {    [ Super_R       ]   };
    key <RWIN> {    [ Control_R     ]   };

    Afterwards run sudo rm -rf /var/lib/xkb/*



Update: 20.03.2020

I had some issues the last month with freezes. But today I found something which could be the issue: I already ingreased my swap now and played around with swapiness. Right now I switched back to vm.swapiness=60. Let's see if it's getting better.

Update: 22.03.2020

That wasn't enough. But it seems I found it now: The problem was the video driver. I now switched to the nvidia driver:

sudo apt-get purge nvidia*
sudo apt install nvidia-331

I now have sometimes some little flickering but not that much. Maybe I'll find out why this happens. Right now I don't have any freezes anymore.

Update: 03.05.2020

I switched now to Ubuntu 20.04 LTS everything works fine.

Update: 03.05.2020 (2)

For VSCode I found a Keymap to get Mac Shortcuts on Linux: