Skip to content

Instantly share code, notes, and snippets.

@pvarenik
Forked from Darkside73/acestream.desktop
Last active March 18, 2021 21:19
Show Gist options
  • Save pvarenik/6ab3572af303b5122ed89c6d5303ccf2 to your computer and use it in GitHub Desktop.
Save pvarenik/6ab3572af303b5122ed89c6d5303ccf2 to your computer and use it in GitHub Desktop.
ubuntu xdg-open acestream
# ~/.local/share/applications/acestream.desktop
[Desktop Entry]
Version=1.0
Name=Acestream
GenericName=Media player
Comment=Open Acestream links with VLC Media Player
Type=Application
StartupNotify=false
Exec=/snap/bin/acestreamplayer %u
TryExec=/snap/bin/acestreamplayer
Terminal=false
Icon=/home/darkside/Icons/acestream.png
Type=Application
Categories=Media
MimeType=x-scheme-handler/acestream;
X-KDE-Protocols=acestream
NoDisplay=true
# ~/.config/mimeapps.list
# x-scheme-handler/acestream=acestream.desktop;
@pvarenik
Copy link
Author

pvarenik commented Mar 18, 2021

gvfs-mime --set x-scheme-handler/acestream acestream.desktop
#xdg-mime default ~/.local/share/applications/acestream.desktop x-scheme-handler/acestream

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