https://bugs.kde.org/show_bug.cgi?id=523161

cwo <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |NEEDSINFO
                 CC|                            |[email protected]
         Resolution|---                         |WAITINGFORINFO

--- Comment #10 from cwo <[email protected]> ---
(In reply to kdeuzver from comment #9)
> All apt apps is missing in Applications menu if the Flatpak variant is
> installed.

This is expected if they have the same .desktop file names - each desktop file
name will be listed only once, preferring directories listed higher in
XDG_DATA_DIRS (IIRC).

This is part of the Desktop Entry specification, see
https://specifications.freedesktop.org/desktop-entry/latest/file-naming.html

>  Each desktop entry representing an application is identified by its desktop 
> file ID, which is based on its filename. 
> [...]
>  If multiple files have the same desktop file ID, the first one in the 
> $XDG_DATA_DIRS precedence order is used. 
>  For example, if $XDG_DATA_DIRS contains the default paths 
> /usr/local/share:/usr/share, then 
> /usr/local/share/applications/org.foo.bar.desktop and 
> /usr/share/applications/org.foo.bar.desktop both have the same desktop file 
> ID org.foo.bar.desktop, but only the first one will be used. 


But it should pick up things in ~/.local/share/applications over the flatpak
defaults.

Just to be sure that's not the problem, can you give us the value of the
XDG_DATA_DIRS environment variable on your system?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to