Skip to content

Commit

Permalink
electron: mention libnotify now uses portal by default
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt authored and TingPing committed Jan 4, 2024
1 parent aeaf8e4 commit d770890
Showing 1 changed file with 9 additions and 0 deletions.
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``

Build options
-------------

Expand Down

0 comments on commit d770890

Please sign in to comment.