将 URI 处理程序添加到 xdg-open

Lin*_*nus 7 linux

我想将 Spotify URI 与我运行 spotify 的 bash 脚本相关联,但是,我不知道如何使用该 bash 脚本使 xdg-open open spotify: URIs 相关联。

有什么建议?

wRA*_*RAR 3

xdg-open使用kfmclientgnome-openexo-open,因此您应该配置您的案例中使用的程序。

  • 谢谢,我查找了为 gnome-open 添加的 uri,发现了这个:http://people.w3.org/~dom/archives/2005/09/integrating-a-new-uris-scheme-handler-to-gnome-和-firefox/ (2认同)