Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Play notification sound regardless of "do not disturb" #26

Open
marbetschar opened this issue Feb 27, 2020 · 3 comments
Open

Play notification sound regardless of "do not disturb" #26

marbetschar opened this issue Feb 27, 2020 · 3 comments
Labels
blocked This issue has external dependencies which need to be met first
Milestone

Comments

@marbetschar
Copy link
Owner

marbetschar commented Feb 27, 2020

We should play the notification sound even though the "do not disturb" mode is on. Otherwise a user does not get informed if the countdown reached 0.

Use Case

I often turn on "do not disturb" to fully focus on the task at hand, but I do have limited time to complete this task. That said, I don't want to get interrupted by any app - but I do want to be notified once the time limit is over.

@marbetschar
Copy link
Owner Author

marbetschar commented Feb 27, 2020

The suggested approach for this is to set the notification's priority to NotificationPriority.URGENT which essentially bypasses do-not-disturb.

However, this does not work as for the currently used gala notification server in elementary Hera 5.1. We need to test, if this works as intended on the new Gtk notification server for Pantheon by building it from master and then set /org/pantheon/desktop/gala/behavior/use-new-notifications to true.

To do so we use gsettings in Terminal or dconf. For terminal:

gsettings set org.pantheon.desktop.gala.behavior use-new-notifications true

PLEASE NOTE:* At the time of this writing you need to compile and install gala as well as the new notification server from master branch. Both are not officially released yet.

marbetschar added a commit that referenced this issue Feb 28, 2020
…sturb. This requires the new io.elementary.notification server which is not released yet.
@marbetschar marbetschar added the blocked This issue has external dependencies which need to be met first label Jul 24, 2020
@marbetschar marbetschar added this to the 2.0.0 milestone Aug 4, 2020
@marbetschar
Copy link
Owner Author

marbetschar commented Sep 28, 2020

@marbetschar
Copy link
Owner Author

Added "Bypass Do Not Disturb" PR: elementary/switchboard-plug-notifications#84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This issue has external dependencies which need to be met first
Projects
None yet
Development

No branches or pull requests

1 participant