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

Support arbitrary notification daemons #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DemiMarie
Copy link
Contributor

Qubes OS only recomments that a notification daemon be present, not that specifically xfce4-notifyd is present. Having multiple notification daemons installed leads to problems. Instead, require the desktop-notification-daemon capability, which is provided by multiple notification daemons. This allows using an alternate notification daemon, such as a Qubes-specific one currently in development.

Fixes: QubesOS/qubes-issues#8729

@DemiMarie DemiMarie force-pushed the any-notification-daemon branch 2 times, most recently from ef0b5dd to 829b792 Compare November 26, 2023 04:23
@DemiMarie DemiMarie force-pushed the any-notification-daemon branch 2 times, most recently from eefa4fc to c32813f Compare September 28, 2024 03:33
@@ -52,6 +52,7 @@ Requires: fwupd-qubes-vm
%if ! (0%{?rhel} && 0%{?rhel} <= 8)
Requires: qubes-pdf-converter
%endif
Recommends: (xfce4-notifyd or desktop-notification-daemon)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and hope the first one will be preferred if not installed already

So, this doesn't work. Installing this package when no notification daemon is installed yet pulls in dunst (at least in my test, it could be also non-deterministic...). So, if you have no better ideas, it's probably best to go back to the initial version (and at a later time switch to the qubes-notification-agent).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that mean that this PR should be closed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, revert to its initial shape (Recommends: xfce4-notifyd)

Qubes OS only recomments that _a_ notification daemon be present, not
that specifically xfce4-notifyd is present.  Having multiple
notification daemons installed leads to problems.  Instead, require the
desktop-notification-daemon capability, which is provided by multiple
notification daemons.  This allows using an alternate notification
daemon, such as a Qubes-specific one currently in development.

Fixes: QubesOS/qubes-issues#8729
@DemiMarie DemiMarie force-pushed the any-notification-daemon branch from c32813f to e679468 Compare October 5, 2024 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

qubes-vm-recommended should only require that _a_ notification daemon is present
2 participants