is there a way to block electron globally, automatically? like, if i tried to open an electron app, it just, broke, or didn't, etc..?
(i don't want any electron apps that have very system-like theming to sneak up on me, and then for me to not realise why my performance has gone back to shit)
It depends what distro you are using as to how to do it. What distro are you using?
I can’t seem to find the electron package for ubuntu, I would be surprised if it doesn’t exist though. Other distro’s I’ve used such as Arch simply have an electron package that could be blocked.
Pros: surely makes any Electron instance useless.
Con: also makes any Chromium instance useless. But I’d count that as a pro for browser diversity.
(Disclaimer: that’s a useful way to find rogue Electron instances. But killing them outright is probably counter-productive.)