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

DesktopBrowser: add support for xdg-open directly #5

Closed
wants to merge 1 commit into from

Conversation

wberrier
Copy link

desktop browse functionality is disabled (not sure why) when running
in a flatpak sandbox.

Most linux distributions should support using xdg-open directly.

desktop browse functionality is disabled (not sure why) when running
in a flatpak sandbox.

Most linux distributions should support using xdg-open directly.
@wberrier
Copy link
Author

I tried finding out why Desktop.Action.Browse isn't supported with awt inside the flatpak sandbox. As an alternative, executing xdg-open works inside the flatpak.

What do you think about this approach in general?

My other thoughts were to provide a "BrowserLauncher" interface with the following methods:

  • initialize (to get the classpath)
  • isSupported (to check if the launcher is suitable for the current OS)

and interate through all the mechanisms (opposed to having the multiple try/catch blocks).

Thoughts?

mguessan added a commit that referenced this pull request Oct 24, 2018
@wberrier wberrier closed this Nov 13, 2018
@wberrier wberrier deleted the xdg-open branch November 13, 2018 04:33
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.

1 participant