I have been considering buying a Lenovo Yoga 11S (I am aware that I will have to recompile the kernel due to the wireless driver). My main concern is having a good experience in both laptop mode and tablet mode. I am wondering whether I can write a script that will be triggered when the hinge goes past 180° that will switch the interface from Ubuntu desktop to Ubuntu tablet.