About 7 months ago I became the happy owner of Xiaomi MI Notebook Air 13.3. And as soon as I got it, I decided to install Ubuntu instead of Windows. If you want to do the same, you will need to perform some additional tuning. All the things I’ve done to make usage of my laptop more comfortable are listed above.
All following information is valid for Ubuntu 19.04.
Ubuntu has only two scaling options by default: 100% and 200%. With 100% scaling, you may find everything to tiny for comfortable work, and 200% is extremely large and suitable only for tablets or something with the same size.
Fortunately, we have an opportunity to enable frictional scaling, but as soon as this is an experimental feature, it’s usage can be unsafe.
Use the following command to enable it:
gsettings set org.gnome.mutter experimental-features "['x11-randr-fractional-scaling']"
And this command to disable:
gsettings reset org.gnome.mutter experimental-features
Nvidia graphics driver can be downloaded using Software & Updates. After it’s loaded open: Software & Updates -> Additional Drivers -> NVIDIA Corporation. Then select “Using NVIDIA driver metapackage from nvidia-driver-430 (proprietary)” as shown on the picture above:
Open “/etc/systemd/logind.conf” with your favourite text editor (e.g. you can use nano) and uncomment the following lines:
This will set handlers for Power, Suspend and Hibernate keys, specify the maximum time a system shutdown or sleep request is delayed and set lid close action to suspend.
Set laptop mode to the most strict value. Laptop mode is used to minimize the time that the hard disk needs to be spun up, to conserve battery power on laptops. Use command:
echo 5 > /proc/sys/vm/laptop_mode
I had troubles with the background image. Sometimes it was switching to black, white or strange colour. I have fixed this by setting background using Tweak Tool. Execute this to install it:
sudo apt install gnome-tweak-tool
Then you can run it with the following command:
Now you can set the background image you like using Tweak Tool as shown in the picture above: