As mentioned by another commenter, Brother sells out of the box working on Linux printers.
Reihar
From my attempts, not really.
You'll have to sacrifice some. The more keys you remove, the less heavy it'll get. Going for a TKL, 75%, 65%, will be lighter and lighter.
Brown switches aren't the most "hardcore" feeling wise so you're in luck. Although a bit less good, I've felt that the feel from low profile browns aren't that much worse, so that's a way to increase portability. Oh course, you'll also lose in keycaps and switch choice by going low profile.
I've personally had a look at Numphy (example 75%, 500g) and keychron (same thing).
There are other brands and going to a 65% can probably shave off like 100g.
There's a nice tool called media info that can get that for you for video (and audio files) as for images, I'd check if imagemagick has a tool for it.
I remember reading that article a while ago that I believe expresses concisely why yaml is rarely (almost never?) a good choice.
I would agree with the TOML recommendation at the end of the article or to switch to an even simpler format for simpler needs, something easy to read, hard to mess up when writing and easy to parse. I'm not sure about that scale, maybe ini files? Suggestions are welcome.