On a deep level, how does copying something to the clipboard work? Is there a file that stores the text or image I copy somewhere?
I found Memory location of clipboard where the question was never answered. I also found a lot of references to xclip. I don't currently have xclip installed, but my clipboard works fine--eg I could copy something from Firefox and paste it into terminal with no issues. So, clearly something must be happening on a different level than xclip. What is that and how does it work?