首页 > 代码库 > xdg-open 打开“irc:*”链接

xdg-open 打开“irc:*”链接

用于打开chrome浏览器中的"irc://*"

#cp /usr/share/applications/xchat.desktop /home/zsj/.local/share/applications/irc.desktop

#xdg-mime default irc.desktop x-scheme-handler/irc

测试:
#xdg-open irc://irc.gnome.org/#banshe

参考:
http://docs.xfce.org/xfce/thunar/custom-actions
https://wiki.archlinux.org/index.php/xdg-open#Installation