if your primary OS is linux then this makes sense.
It is, but I've used that with macOS ChromeOS too.
what do you do if you've to draw something that might not come in a text file
I don't draw, whether with analog or digital tools. OK, I sometimes do but in a paper notebook. But that's very rare and what I draw is usually crude, ugly, and simple, and transitory.