Ubuntu has worked perfectly on my last two thinkpads, an X220 and X1 Carbon (4th gen). That's almost 7 years now. I think only the only real caveat is that the fingerprint reader isn't supported. I can't speak for other laptop brands, but just get a thinkpad (or a dell xps).