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

electron: mention libnotify now uses portal by default #429

Merged
merged 1 commit into from
Jan 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/electron.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,15 @@ pulseaudio for sound and enables network access:
- --socket=pulseaudio
- --share=network

Electron uses ``libnotify`` on Linux to provide desktop notifications.
libnotify `since 0.8.0 <https://gitlab.gnome.org/GNOME/libnotify/-/merge_requests/27>`_
automatically uses the `notification portal <https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Notification.html>`_
when inside a sandboxed environment and ``--talk-name=org.freedesktop.Notifications``
is not required.

``org.electronjs.Electron2.BaseApp`` since ``branch/23.08`` comes with
``libnotify>=0.8.0``

bbhtt marked this conversation as resolved.
Show resolved Hide resolved
Build options
-------------

Expand Down
Loading