Skip to content

fix: list Linux browser web apps and profiles as separate apps - #3

Merged
PyFlat-JR merged 2 commits into
mainfrom
fix/firefox-profile-instances
Oct 8, 2026
Merged

PyFlat-JR merged 2 commits into
mainfrom
fix/firefox-profile-instances

Conversation

@PyFlat-JR

Copy link
Copy Markdown
Member

Every MPRIS instance of a browser was one app, so a web app or a second Firefox profile could not be picked or controlled on its own. An instance whose process was launched with its own window class or profile (--class, --name, --profile/-P, --user-data-dir) is now an app of its own, <app>@<variant>, which stays the same across restarts unlike the instance id. The arguments are read once from the bus owner's /proc/<pid>/cmdline, and a web app with a .desktop file of that class (Linux Mint's Web Apps, Ice) takes its name and icon from it.

A plain launch gets no variant, so existing app ids and widgets don't change. A sandboxed player, an unreadable process, or a variant that is oversized or unprintable falls back to the merged app.

Fixes #2

@PyFlat-JR
PyFlat-JR merged commit fedfd80 into main Oct 8, 2026
3 checks passed
@PyFlat-JR
PyFlat-JR deleted the fix/firefox-profile-instances branch October 8, 2026 15:28
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.

[Bug/Feature]: Multiple Firefox MPRIS instances

1 participant