diff --git a/docs/electron.rst b/docs/electron.rst index 7906e1f8..2ba46086 100644 --- a/docs/electron.rst +++ b/docs/electron.rst @@ -141,8 +141,8 @@ should be used in manifest and Wayland can be tested with:: To make native wayland the `default` for users ``--socket=fallback-x11`` and ``--socket=wayland`` must be used in the manifest. -Client-side window decorations in native wayland can be enabled by -passing ``--enable-features=WaylandWindowDecorations`` (Electron>=17). +For Electron versions between 17 and 27, client-side window decorations in native wayland can be enabled by +passing ``--enable-features=WaylandWindowDecorations``. Electron uses ``libnotify`` on Linux to provide desktop notifications. libnotify `since 0.8.0 `_ @@ -308,4 +308,4 @@ Make setProgressBar and setBadgeCount work The `setProgressBar `_ and `setBadgeCount `_ functions allow showing a progress bar and a badge count in the window icon. It is implemented under Linux using the `UnityLauncherAPI `_. This API is not implemented on every desktop environment. A known desktop environment which implements this is KDE. It is also implemented by the popular `Dash to Dock `_ GNOME extension and `Plank `_. -To make it work in Flatpak, the app needs to :ref:`use the correct desktop filename `. The Flatpak also needs the ``--talk-name=com.canonical.Unity`` permission. Electron versions earlier than v32 checks `checks if it's running on Unity or KDE `_ before using the UnityLauncherAPI. +To make it work in Flatpak, the app needs to :ref:`use the correct desktop filename ` in its embedded `package.json` file. The Flatpak also needs the ``--talk-name=com.canonical.Unity`` permission. Electron versions earlier than v32 checks `checks if it's running on Unity or KDE `_ before using the UnityLauncherAPI.