Repository navigation
chore!: remove Unity service and Unity-specific APIs - #51649
Merged
Merged
Conversation
mitchchn
force-pushed
the
remove-unity
branch
3 times, most recently
from
May 15, 2026 17:54
bd8506a to
774b4ab
Compare
ckerr
self-requested a review
May 15, 2026 18:11
ckerr
previously approved these changes
May 15, 2026
ckerr
left a comment
Member
There was a problem hiding this comment.
Removing Unity support now that 26.04 is out seems reasonable.
ckerr
dismissed
their stale review
May 15, 2026 20:26
That was supposed to be "review with comment", not "review with approve", mostly because of the inheritance nitpick 😃
3 tasks done
dsanders11
approved these changes
May 20, 2026
|
Release Notes Persisted
|
7 tasks
|
The badges and hooks in this worked for KDE, GNOME, and many docks... not just in Unity. =\ There is no Freedesktop equivalent, as everyone actually adopted these for status badges. |
6 of 7 tasks
3 tasks done
3 of 13 tasks
hesiod
added a commit
to hesiod/nixpkgs
that referenced
this pull request
Oct 10, 2026
libunity used to be used for notification features until Electron 44. See electron/electron#51649 for the upstream removal PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
For Electron to maintain a high level of support for Linux, it needs to focus on Linux as it exists today. This PR removes the Unity service, three APIs for Unity, and other branching code and documentation that concern Unity.
Electron does not launch on Ubuntu 17.04, the last version that included Unity. The most recent LTS to use Unity was 16.04, from early 2016. That version stopped receiving standard support from Canonical in 2021, and lost expanded security maintenance in April 2026. By version 18.04 LTS, Ubuntu had fully switched to GNOME.
None of the Unity code has been tested in CI for years. On the other hand, legacy code for Unity can actually harm the experience for all Linux users, e.g. #48490.
While the Unity project technically still exists, it is a non-factor in usage share: https://commandlinux.com/statistics/linux-desktop-environments/. More importantly, Electron cannot invest into any individual desktop environment on Linux. Even the most popular ones (GNOME and KDE) do not have APIs written specifically for them. The modern approach is to support Freedesktop standards, which are adopted by all environments and are usually assisted by upstream work in Chromium.
Removing support for Unity also does not mean that Electron apps will stop working on Unity for people who still wish to use it on more modern Linux distributions, only that apps won't have unique behaviors which wouldn't work in GNOME, for example. This will make apps work more consistently for users and developers. I hope the deprecation notice is self explanatory:
Checklist
npm testpassesRelease Notes
Notes: Removed support for the Unity desktop environment on Linux. (See breaking changes.)