gnome-shell-extension-gsconnect icon indicating copy to clipboard operation
gnome-shell-extension-gsconnect copied to clipboard

De-dupe notifications already recieved on the desktop equivalent app.

Open stuaxo opened this issue 3 years ago • 3 comments

Run something like Microsoft Teams on your phone and on your desktop (or whatsapp on phone + whatsdesk on desktop).

Get some notifications from the desktop app.

5 minutes later get all the same from the mobile app.

I'd really like some de-duping here, getting everything twice (or sometimes more !) is so distracting.

stuaxo avatar Mar 19 '21 11:03 stuaxo

For me it's Telegram, same experience here, don't know if it's possible but I'd really like to see something like this.

not-a-dev-stein avatar Mar 28 '21 02:03 not-a-dev-stein

I don't think this is possible without significant efforts so perhaps not that good of a "good first issue".

You can disable notifications for specific applications in KDE Connect so you may disable sending Microsoft Teams or WhatsApp notifications to your computer.

Looks like dunst might also be able to do that https://github.com/dunst-project/dunst/issues/571 - if anyone can confirm - it'd be great to have a HOWTO on the wiki.

sonnyp avatar Apr 10 '21 09:04 sonnyp

Doing this in dunst sounds like a good idea for a proof of concept.

I had a look on my phone, I already disable notifications on the phone, but that doesn't stop them getting KDE Connect sending them.

You're right this probably isn't a "first issue",

I guess "Notify" https://github.com/GSConnect/gnome-shell-extension-gsconnect/blob/80c3d156fbc61c97d3a3a004172f41056d8ff316/src/service/components/notification.js#L369

would need to have a list of apps to suppress notifications from.

The other side would probably take most of the work - You'd need a per app menu, that had "Suppress notifications when" and then you could add "App is running..." where you could choose the app.

When the app was running it would be added to the suppress notifications list, and removed when it stops.

stuaxo avatar Aug 10 '22 19:08 stuaxo