[Feature Request] Add MIME handler to Desktop File for automatically opening Vesktop from browser #849
Closed
3 tasks done
Labels
duplicate
This issue or pull request already exists
Motivation
Currently, Vesktop does not register itself to handle Discord links, so the browser won't offer to open Vesktop instead.
I am not sure if this can be solved.
Solution
The required MIME type for "Open in Discord App" support can be added with this command:
That command adds the following line to the
.desktop
file (which could be manually included in the project instead of relying on the above tool):If someone already has Vesktop on the system, the MIME handler database has to be updated like this:
(That last command might be needed as post-install in the packages such as RPM, I can't remember. It used to be required at least. But nowadays the system might detect the .desktop file and register MIME types automatically, at least with the DNF package manager. I really don't know.)
After registering this MIME support, you can verify that it works with this command in Terminal:
xdg-open "discord://test"
However, after registering this MIME support, I am not sure if something else will be needed to fully support "Open in Discord App" detection on pages such as https://discord.com/invite/GameSir
Request Agreement
The text was updated successfully, but these errors were encountered: