Skip to content

use xdg_data_dirs for desktop files lookup#217

Open
dnk wants to merge 1 commit intoubuntu-mate:masterfrom
dnk:xdg_data_dirs
Open

use xdg_data_dirs for desktop files lookup#217
dnk wants to merge 1 commit intoubuntu-mate:masterfrom
dnk:xdg_data_dirs

Conversation

@dnk
Copy link
Copy Markdown

@dnk dnk commented Feb 21, 2023

package managers like "snapd" and "flatpak" registers there applications data directories in XDG environment. so the best way to support them is to use xdg data directories for applications desktop files lookup.

xdg_data_dirs also contain user's applications' desktop files before system ones.

fix for #213, #208

Copy link
Copy Markdown
Contributor

@cwendling cwendling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, apart that I'd drop the unrelated whitespace changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants