https://muzzleapp.com/ is a simple idea -- hide notifications while you're screensharing -- but the website makes a very compelling argument. Can Gnome do this? In particular, can we detect that the screen is being shared, or presented, or something is fullscreen? (Note: "yes but only if it's a GtkApplication Gnome app" is the same as "no" :-))
@sil my guess is that the answer will be “On Wayland, yes”. But I don’t actually know. Good question though. Smart Do Not Disturb would be cool
@danrabbit agreed yep! It's pretty critical that it's automatic -- that it magically diagnoses the right situations. What would be on that list, do we think? (Then we can work out how to detect whether they're the case.)
If anything is absolutely full-screen; if you're doing a presentation (is that covered by the fullscreen thing? we can't tell the difference between "connected to a projector" and "connected to a monitor", I think); if a screensharing app is running.
The EDID will claim it's a 0mm×0mm display. One of those on an external port is probably a projector.
We'd need to add a detection-override toggle to display settings for the times that heuristic is wrong, but it'd be pretty good.
For bonus points, we could crowdsource projector EDIDs quite easily.
@RAOF @danrabbit cor, really? I assumed that EDIDs were just entirely composed of untruths and were nothing like reliable. (Note that if we get it wrong, someone who plugs their laptop into a monitor on their desk will never, ever get a notification, and working out why will be bafflingly complicated.)
@RAOF @danrabbit blimes. Well, that'd work then. Y'know, in theory. So the criteria are "an app is fullscreen" and "we are plugged into a projector" -- if either are true, suppress notification popups (but still put them in the message tray). Is that correct? Are there other criteria than those two?
Follow friends and discover new ones. Publish anything you want: links, pictures, text, video. This server is run by the main developers of the Mastodon project. Everyone is welcome as long as you follow our code of conduct!