Skip to content

fix(desktop): Restore Linux launcher icons and matching - #3

Draft
mwolson wants to merge 1 commit into
upstream-mainfrom
contrib/main/linux-desktop-icons
Draft

mwolson wants to merge 1 commit into
upstream-mainfrom
contrib/main/linux-desktop-icons

Conversation

@mwolson

@mwolson mwolson commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

What Changed

Linux launchers now advertise StartupWMClass=com.t3tools.T3Code, the window class and Wayland app id the app actually reports, in the electron-builder desktop entry and both AUR launchers. Before, they advertised t3code.

This is the same change as pingdotgg#10895 linux-wayland-desktop-icon. The icon discovery work this layer used to carry has since landed upstream in pingdotgg#8673 linux-mime-handler-cache.

Why

The running window's class comes from setDesktopName("com.t3tools.T3Code.desktop"), so with the old StartupWMClass GNOME, Cinnamon and similar shells matched the window to the hidden URL-handler entry instead of the launcher, and showed a second dock icon that cannot be pinned.

UI Changes

The running window now groups under the installed launcher's dock icon instead of a separate entry. No screenshots are attached.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

@mwolson
mwolson added this pull request to stack #35 September 27, 2026 21:48
@mwolson
mwolson force-pushed the contrib/main/linux-desktop-icons branch from 934b638 to 4da872d Compare October 1, 2026 12:38
@mwolson
mwolson removed this pull request from stack #35 October 1, 2026 12:39
@mwolson
mwolson added this pull request to stack #52 October 1, 2026 12:40
@mwolson
mwolson force-pushed the contrib/main/linux-desktop-icons branch from 4da872d to eee4258 Compare October 1, 2026 14:13
The running window's X11 class and Wayland app id come from
setDesktopName("com.t3tools.T3Code.desktop"), but the AppImage, .deb and
AUR launchers advertised StartupWMClass=t3code. GNOME, Cinnamon and
similar shells then matched the window to the hidden URL-handler entry,
showing a second dock icon that cannot be pinned.

Advertise StartupWMClass=com.t3tools.T3Code in the electron-builder
desktop entry and both AUR launchers.
@mwolson
mwolson force-pushed the contrib/main/linux-desktop-icons branch from eee4258 to 77b0a9a Compare October 3, 2026 20:27
@mwolson
mwolson removed this pull request from stack #52 October 3, 2026 20:27
@mwolson
mwolson added this pull request to stack #57 October 3, 2026 20:28
@mwolson
mwolson removed this pull request from stack #57 October 4, 2026 03:12
@mwolson
mwolson added this pull request to stack #60 October 4, 2026 03:13
@mwolson
mwolson removed this pull request from stack #60 October 4, 2026 15:12
@mwolson
mwolson added this pull request to stack #62 October 4, 2026 15:12
@mwolson
mwolson removed this pull request from stack #62 October 4, 2026 19:29
@mwolson
mwolson added this pull request to stack #64 October 4, 2026 19:30

This branch has not been deployed

No deployments
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.

1 participant