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

On systems where XDG_DATA_DIRS is not set (e.g., debian), trying to open URLs from the Electron app using xdg-open fails. #1290

Closed
Ob1To opened this issue Feb 22, 2017 · 0 comments

Comments

@Ob1To
Copy link

Ob1To commented Feb 22, 2017

On systems where XDG_DATA_DIRS is not set (e.g., debian), trying to
open URLs from the Electron app using xdg-open fails.

To reproduce:

unset XDG_DATA_DIRS
run the AppImage
Click a link in the AppImage app. See on
the console:
gvfs-open: https://something.com: error opening
location: No application is registered as handling this file

Hint:

The AppRun script does things like
export XDG_DATA_DIRS="./share/:${XDG_DATA_DIRS}"
export XDG_DATA_DIRS="${APPDIR}/usr/share:${XDG_DATA_DIRS}"
It should also put /usr/share/gnome:/usr/local/share/:/usr/share/ in
the list of paths if they are not there yet

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

No branches or pull requests

2 participants