How to set up an eGPU on Linux as a primary GPU.

In this story I will tell how I was able to set up a Thunderbolt eGPU connection with my laptop as a primary GPU on Ubuntu Linux.