Dismiss notification button or gesture? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121) +---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139) +---- Thread: Dismiss notification button or gesture? (/showthread.php?tid=11713) |
Dismiss notification button or gesture? - vandys - 10-02-2020 Very often, I just want the notifications to go away. It appears the only way to do that is to enter the app for each and every notification? A swipe, or a "dismiss all" button at the bottom would be great! RE: Dismiss notification button or gesture? - 3x5co - 02-13-2021 Seconded. I think a workaround for a lot of these issues would be to create a desktop icon that executes a command. So if there's a terminal command that will dismiss all notifications, we could then assign that. Ideally, it wouldn't actually dismiss my reminders, but just remove the notifications. When I update or snooze something on my CalDAV server, or change the date, this doesn't remove the notification that's aleady popped up on Mobian. So I don't want to dismiss something that's already been snoozed. RE: Dismiss notification button or gesture? - marcih - 02-14-2021 Known issue upstream, unfortunately it doesn't seem to have gotten much attention. RE: Dismiss notification button or gesture? - arno_nuehm - 02-15-2021 Hello there, found myself in a similar situation with a lot of notifications. With some digging, I put the following script together - dirty hack, I know, but it does the trick for at least 50 notifications. Everything after takes a lot of time to loop around. Code: #!/bin/bash But since the notification server is counting up and restarting only with Phosh restarting, the numbers go higher with every notification. I also tried a detecting approach Code: #!/bin/bash But this fails, since the ouput of dbus-monitor of an existing&closed notification is similar to a non-existing&fake-closed notification. And the script is getting slower... But feel free to play around with the second script code. My next steps will be some double if-conditions... Maybe. Cheers RE: Dismiss notification button or gesture? - zborgerd - 02-15-2021 I loathe the notification system in Phosh. It's terrible. I seldom need to open the apps which give notification. I simply need the notification. Evidently the developers do not have calendar notifications. We can dismiss apps with swipes. No reason that notifications should not be removable by swipes. I'm debating simply turning notifications off for certain applications at this point. RE: Dismiss notification button or gesture? - pagesix1536 - 02-15-2021 This is basic functionality. I don't get how the developer of said notifications can write the code to display it, but not have it dawn on them to write a method to dismiss them? |