Lenovo Yoga 530 is a rather inexpensive laptop computer. It transforms into a tablet, has a touchscreen and a stylus. I have its 14ARR variety, which runs on AMD CPU.
This article is a compilation of tips & tricks I found useful when running this device on Ubuntu.
(This section is not OS related just yet.)
- Stock configuration came to me with 8G RAM, which is insufficient
According to a number of sources,
the upgrade is only possible to 16G RAM total (not to 32G, which I would love to have).
The laptop comes with two 4G sticks in it, so you'll have to replace them both with 8G sticks to have 16G total.
Out of the box, Ubuntu won't see the built in WiFi adapter (which happens to be RealTek RTL8821CE).
Go to bios and turn off SecureBoot. It tends to turn it on again after BIOS upgrades.
Popular solution is to blacklist
ideapad_laptop kernel module (like mentioned at this Lenovo forum thread), like this:
echo "blacklist ideapad_laptop" >> /etc/modprobe.d/blacklist_ideapad.conf
However it did not enable WiFi for me. (Though I am not certain it was not helpful together with the next point.)
What helped was this:
echo "blacklist 8821ce" >> /etc/modprobe.id/blacklist-ideapad.conf sudo apt-get install rtl8821ce-dkms
WiFi connection turned on immediately.
This is enormously annoying, trust me. But:
sudo apt-get install chrome-gnome-shell
and this Gnome extension — voila, problem solved.
sudo usermod -aG docker $USER reboot
max virtual memory areas vm.max_map_count  is too low, increase to at least 
echo 'echo "vm.max_map_count=262144" >> /etc/sysctl.d/local.conf' | sudo bash sudo service procps restart
- When configured Caps Lock for switching keyboard layouts, the light indicator on the button itself won't work
- Keyboard is not disabled when laptop is laying on it