I recently noticed that when I click an irc:// link in my browser (Chromium), it launches HexChat, and when I close HexChat, it will launch Firefox.

Suspicious that it might be something wrong with the Chromium config, I ran xdg-open irc:// in the terminal, and the same result followed: first HexChat, then Firefox. However...

$ xdg-settings get default-url-scheme-handler irc

There is nothing about Firefox. How can I find out why and where Firefox is being summoned?

Edit. I tried to run this from a terminal, and I think the output can shed some light

$ xdg-open irc://chat.freenode.net Fatal Python error: PyInterpreterState_Delete: remaining subinterpreters

/usr/bin/xdg-open: line 756: 3718 Aborted (core dumped) "$command_exec" "$@"
/usr/bin/xdg-open: line 881: x-www-browser: command not found Fatal Python error: PyInterpreterState_Delete: remaining subinterpreters

I couldn't find something particularly useful on Google when searching these errors.

(I'm using Arch Linux, if that matters.)

  • I originally asked this on SU, but after a few days without any response, I think it might be better received here... I hope. – Ink blot Sep 2 '18 at 18:32
  • I wasn't sure about the tags. I'd be happy to receive some suggestions. – Ink blot Sep 2 '18 at 18:32
  • Two things I would ask 1) What page if any is always opened in firefox, 2) If you do not close HexChat does firefox get launched or only happens after HexChat is closed? – George Udosen Sep 2 '18 at 19:38
  • What's the contents of io.github.Hexchat.desktop? It's probably located at $HOME/.local/share/applications/ or /usr/share/applications. – Zeta Sep 2 '18 at 19:59
  • 1
    I have witnessed this same behaviour of xdg-open with a different schema and different applications. There is a more general question to be answered here. – JdeBP Sep 3 '18 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.