quick-settings-tweaks icon indicating copy to clipboard operation
quick-settings-tweaks copied to clipboard

Hide notifications when DND/Screen sharing is enabled

Open rohmishra opened this issue 3 years ago • 2 comments

Currently there is no way to hide notifications when screen sharing is enabled if notifications are below QS toggles. An option to collapse notifications when DND is enabled or screen cast/share is enabled would be helpful

rohmishra avatar Nov 12 '22 19:11 rohmishra

I think, it is no way to check screen share is enabled in gnome shell API Did you know how to check screen share is enabled?

qwreey avatar Nov 13 '22 04:11 qwreey

Gnome shows a orange indicator among the tray icons when screen share is active. Apparently they are using some remote access api to figure out if anything is capturing the screen: https://github.com/GNOME/gnome-shell/blob/538c7c397aac146ebc47b9af1663e27899f334fd/js/ui/status/remoteAccess.js#L134

schrej avatar Dec 15 '22 13:12 schrej