Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use QStandardPaths::ApplicationsLocation (XDG_*) for open with #3663

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rardiol
Copy link

@rardiol rardiol commented Jul 9, 2024

Use QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation) to get directories to look for desktop files for the open with option instead of hardcoded default dirs.

This might fix #1868 and #3046 for snap and flatpak users since they seem to use custom XDG_DATA_DIRS and XDG_DATA_HOME. Fixes the open with menu on my NixOS.

https://doc.qt.io/qt-5/qstandardpaths.html

@mmahmoudian mmahmoudian added the Linux Linux specific issue label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Linux specific issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'App Launcher' not listing any apps and also not launching either (Xorg)
3 participants