3

I have somehow the opposite problem of the proponent of this question:

why-are-my-application-desktop-files-not-showing-up-in-linux-application-menu

in my case I have an application showing in the menu, but I can't find its .desktop file.

I am new to Linux, I am using Mint 20.2 with Mate. The application is installed from flatpack, and works perfectly.

Fabio
  • 397
  • 2
  • 13
  • I haven't used mate in a while, but I think there should be something like "right click on the menu item and choose properties" which will show us exactly what the menu item points to. Can you please [edit] your question and include this information? That said, also check your `~/.local/share/applications` folder, that might be where the `.desktop` file is. – terdon Dec 24 '21 at 15:18
  • @terdon no, the properties you mention only show the path to the executable binary file, not the .desktop file – Fabio Dec 25 '21 at 17:51

1 Answers1

3

The .desktop file of Flatpak apps are generally stored at:

/var/lib/flatpak/app/[app name]/current/active/export/share/applications.

The .desktop files for per-user applications are stored at:

~/.local/share/flatpak/app/[app name]/current/active/export/share/applications.

Note: The app name of flatpak apps contains three part identifiers, so [app name] should be something like abc.efg.hij. For example, the folder for Discord is named com.discordapp.Discord.

For more information, check this out. Hope it helps.

Gagan
  • 630
  • 4
  • 15