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

Cannot open links #34

Closed
qiolol opened this issue Jun 8, 2018 · 10 comments
Closed

Cannot open links #34

qiolol opened this issue Jun 8, 2018 · 10 comments

Comments

@qiolol
Copy link

qiolol commented Jun 8, 2018

Reviving #1 on Kubuntu 18.04. Did stuff break again?

Like that thread's OP, I have snapd-xdg-open installed, and xdg-open [url] works in a console, yet clicking any links in Discord that would normally open in the browser does nothing.

@liberodark
Copy link

liberodark commented Jun 20, 2018

Hi me too on manjaro but later this new update work and have install no snap version and link work.
Please fix that.

Thanks

@mmtrt
Copy link

mmtrt commented Jul 12, 2018

same issue here which is very annoying.

cc @flexiondotorg @popey

@popey
Copy link
Contributor

popey commented Jul 12, 2018

Are there any messages on the console if you launch discord in a terminal and try to click a link? Is there anything in dmesg? I'm not seeing the issue here on Ubuntu 18.04.

@mmtrt
Copy link

mmtrt commented Jul 12, 2018

@popey when clicking on url

/snap/discord/66/usr/bin/xdg-open: 566: /snap/discord/66/usr/bin/xdg-open: kde-open5: not found

ah I remember now I had this same issue on my gk snap so fix was that do not ship xdg-open in the snap then the snap will use xdg-open from snapd.

Just unstage package

- xdg-utils
for fixing this issue.

@qiolol
Copy link
Author

qiolol commented Jul 12, 2018

@popey Same message as @mmtrt had: /snap/discord/66/usr/bin/xdg-open: 566: /snap/discord/66/usr/bin/xdg-open: kde-open5: not found

@mmtrt I do not understand your solution. Can you explain how to unstage a package?

@mmtrt
Copy link

mmtrt commented Jul 12, 2018

@Krotera That solution will work only when building this snap, so if you want the fix faster then clone this repo and locally build this snap with the mentioned line removed from snapcraft.xml.

@mmtrt
Copy link

mmtrt commented Jul 17, 2018

can you fix this issue with my posted solution above. cc @popey

popey added a commit that referenced this issue Jul 17, 2018
Remove xdg-open from the prime stage, which should fix issue #34
@popey
Copy link
Contributor

popey commented Jul 17, 2018

Ok, I have removed xdg-open via a prime step, rather than removing the entire xdg-utils package. The xdg-utils package was added because without it discord spams the terminal looking for xdg-mime. This should build shortly, so if you want to test via snap refresh discord --edge - when build 70 appears under snap info discord and let us know if that works, that would be awesome, thanks!

@mmtrt
Copy link

mmtrt commented Jul 17, 2018

@popey just locally tested discord with that file removed it fixes this issue.

EDIT: Also tested rev 70 from edge its working fine no issues.

@popey
Copy link
Contributor

popey commented Jul 17, 2018

Ok, thanks for testing! I've pushed that to stable.

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

No branches or pull requests

4 participants