Files
distrobox/internal/inside-distrobox
Pedro Rabello Sato 94f1c5e807 fix(export): match running apps with exported .desktop entry (#2118)
The DE (at least Gnome and KDE) tries to match the app_id of
the running application with the corresponding .desktop file in this order:
 - find ${app_id}.desktop
 - if not found, tries to find a .desktop with StartupWMClass=${app_id}
Because when exporting a application we change the name of the .desktop
file, the DE can't match the running app, displaying a generic icon.

To solve this, change StartupWMClass key of the exported .desktop file
to the name of the .desktop inside distrobox (minus the .desktop extension).
2026-06-14 13:04:28 +02:00
..