See Roland Guelle’s excellent Razerblade HOWTO and the various xipherzero pages, the Ubuntu communit Razer page.
keeps on sleeping after suspend
sudo bash echo 'GRUB_CMDLINE_LINUX_DEFAULT="button.lid_init_state=open"' >> /etc/default/grub update-grub
Install the dorky keyboard drivers and the dorky GUI, polychromatic.
sudo add-apt-repository ppa:openrazer/stable sudo add-apt-repository ppa:polychromatic/stable sudo apt update sudo apt install openrazer-meta # sudo gpasswd -a plugdev user ## no longer needed?
This is reasonably smooth, but you can get into various kernel-module difficulties.
Is horizontal scrolling backwards for you?
It is for me.
See the ubuntu compatibility page. Notably webcame is broken, and fan control is weird and sounds like a jet aircraft. The archlinux page has some suggestions for the webcam thing. Specifically, put
options uvcvideo quirks=512