wslg icon indicating copy to clipboard operation
wslg copied to clipboard

No start menu entry for flatpaks

Open twihno opened this issue 2 years ago • 3 comments

Version

Windows Version: 10.0.22621.1105

WSL Version

  • [X] WSL 2
  • [ ] WSL 1

Kernel Version

5.15.79.1

Distro Version

Ubuntu 22.04.1

Other Software

Flatpak 1.12.7

Repro Steps

Install any flatpak application

Expected Behavior

Software installed via apt automatically shows up in the Windows start menut, because WSL reads all the .desktop files in /usr/share/applications/. Flatpaks should do the same

Actual Behavior

They don't automatically appear and can only be launched via flatpak run

Diagnostic Logs

The desktop files for the flatpak applications are stored in e.g. /var/lib/flatpak/exports/share/applications/. Symlinking the individual files into /usr/share/applications/ solves the problem and the applications appear in the windows start menu

twihno avatar Feb 03 '23 11:02 twihno

https://github.com/microsoft/wslg/releases/tag/v1.0.50 states that it remediates this.

RokeJulianLockhart avatar Mar 02 '23 11:03 RokeJulianLockhart

I was wondering about this, too. At the moment I have flatpak set up to install to user ($HOME/.var/ ...) instead of system (/var ...) and the code only seems to pick up system installed flatpaks.

monreal avatar May 21 '23 14:05 monreal

Related #12375

daedsidog avatar Dec 13 '24 23:12 daedsidog