I bought this laptop for just only web development purposes. My development environment setup in summary:
- Manjaro i3 (Arch based linux distro)
- Jetbrains IDE (PyCharm, WebStorm, DataGrip)
Installing manjaro i3 was very easy actually but there is some catch. Firstly, secure boot was open so I turned it off from bios settings. Then, I was able to boot manjaro setup with booting from usb but I wasn’t able to see windows partition. Then I realized that, this laptop comes with Windows 10 which bitlocker is open as a default. So, when I wanted to boot again windows, I came across with a blue screen that wants me a key to unlock bitlocker since I disabled secure boot. So, I go to the link that was written on the blue screen and entered that key to open again. So, be careful, I suggest you to first disable bitlocker than turn off secure boot etc.
After all of this, I was able to boot manjaro and see the windows partition, so I used automatic install option that alongside windows but if you want to setup a swap partition, you may want to install manually selecting partitions but you can add swap partition after installation also. (See here: https://wiki.manjaro.org/index.php/Swap)
Setting Manjaro, Hibernate, Sleep
After installing manjaro, I was able to boot manjaro without any problem but there were some problems if you switch from windows if you have a dual boot setup. So, you have to disable fast startup from windows 10 settings. (See: https://www.asus.com/us/support/FAQ/1031533/) Also for deep sleep and hibernate support you need to set some settings. Firstly, you need a swap partition for hibernate. (Retrieved from: https://forum.manjaro.org/t/not-restoring-after-hibernating/7771/7)
You can get uuid of the swap disk with this command: lsblk -f
- In /etc/fstab added:
UUID=[UUID_of_the_swap_partition] none swap defaults 0 0
- In /etc/default/grub added:
- In /etc/mkinitcpio.conf added:
resumeto HOOKS (after udev)
sudo mkinitcpio -P && sudo update-grub
Also for 3. step you can add mem_sleep_default=deep to same line to support deep sleep.
To set when laptop goes hibernate, sleep or lock etc. you can use xfce4-power-manager which comes default with manjaro i3. Here is my config;
Setting Face ID, IR Camera, Windows Hello Face
Actually there is linux package called Howdy for this purpose but on this laptop it doesn’t work. Because by default it can’t use IR camera, just use normal camera. But firstly follow this tutorial to install Howdy: https://wiki.archlinux.org/index.php/Howdy but don’t add you face yet. Then you can use this github repo to make it work with manjaro: https://github.com/EmixamPP/linux-enable-ir-emitter It has a long set up but actually I didn’t need them. Script worked for me with default values. So after testing if it works for you also, you can directly continue to “Launch the script at each startup (with systemd)”. After this I was able to use IR camera and use it for example sudo command which was very cool 😀
Also you can see my dot files config etc from my github repo: https://github.com/nurulmac11/dotfiles/tree/laptop
And that’s all. Overall this is good laptop to use with linux. The biggest problem imo, is screen size. 14″ a little bit small to write code. Other than that, everything is good with build quality, performance and I recommend it.