If you want to connect your AirPods to Ubuntu 19.10 (Any distro that uses bluez like Fedora, Manjaro, KDE Neon, etc.), it won’t work out of the box. But the solution to this is quick and easy.

We need to edit the Bluetooth configuration file: sudo nano /etc/bluetooth/main.conf

Look for “#ControllerMode = dual”. It’s at the bottom part of this file. We need to uncomment this line.

Then restart Bluetooth and pair normally: sudo systemctl restart bluetooth

--

--

If you have problems with your VS Code that uses over 100% of CPU on Windows or 30–40% on Linux, I may have a solution for you. The problem causing this is often TSServer. And with small edit in settings, you can get to 1–5% CPU on Large projects as I have. Just go to settings.json and add these lines:

"files.useExperimentalFileWatcher": false,
"typescript.validate.enable": false,
"javascript.validate.enable": false,
"files.watcherExclude": {
"**": true
}

This solution is a little aggressive, but it is going to help a lot, and it’s better than VS Code taking all your CPU power.

--

--

Martin Kaše

Martin Kaše

Software Engineer at Price f(x) 👨🏻‍💻 — Remote Worker. JavaScript, React, Linux, PCMR, 3D Print, Low-cost Travel