Browsers have built-in capabilities to share your screen with remote users, e.g. on a web conference, but typically you have to choose between sharing one window and sharing your entire screen.
- Sharing one window sometimes is inconvenient if you want the viewer to see 2 or more windows. Switching back and forth is tedious.
- Sharing the whole screen doesn't work great if your screen resolution is much larger than the viewer's: for example my screen resolution is 3440x1440, but a viewer with a laptop might have a resolution of 1920x1080. As a result, text that is readable on my end is way too small for the viewer (especially with compression artifacts).
I'm curious if anybody has some clever workaround for Ubuntu? I'll post my own answer below but I'm sure other people have better ideas.