flathub / com.visualstudio.code

https://flathub.org/apps/details/com.visualstudio.code
149 stars 69 forks source link

Incorrect `.desktop` name #429

Open sr-tream opened 1 year ago

sr-tream commented 1 year ago

On code level, VSCode provide desktopFileName=code-url-handler - it mismatches with .desktop files provided by this package. Need to rename .desktop files like in original DEB package or build VSCode from source with desktopFileName=com.visualstudio.code-url-handler. This action fixes icon bug under wayland session

frandmb commented 7 months ago

+1, as a workaround for people having the same issue, you can rename the .desktop file to code-url-handler.desktop and move or copy it to /usr/share/applications. As long as they share the name, the entry will not be duplicated. It should be also possible to refresh the changes made within the flatpak subfolders, but I had no luck with kbuildsycoca5/6.

applies to other Flatpaks too, like gnome-boxes