My computer was acting really strange; the windows were flickering and parts of windows of different applications were partly appearing at random places. Also when I was typing, my computer seemed to automatically selected text and copied it, but it could also be that it just duplicated a part of the screen of a few seconds ago. Hard to describe, but unworkable.
My Thinkpad carbon passed all hardware tests and I installed a fresh Ubuntu install. Still the same behavior. I found a solution that I wanted to share.