On 2022-01-07 02:04:01 +0100, Vincent Lefevre wrote: > On 2022-01-07 09:17:22 +0900, Mike Hommey wrote: > > Rephrasing: the main question is why your config/Emacs's desktop > > file/Emacs's configuration/whatever wants to use urxvt, because > > Firefox won't do that on its own. > > There's no mention of rxvt in > /usr/share/applications/emacs-term.desktop > > Anyway, this is Firefox that starts the application. Unfortunately, > http://kb.mozillazine.org/File_types_and_download_actions and > https://firefox-source-docs.mozilla.org/uriloader/exthandler/index.html > are silent on this subject.
https://www.reddit.com/r/linuxquestions/comments/jelish/change_the_default_terminal_emulator_for_all/ is about Change the default terminal emulator for all .desktop files with Terminal=true? which is the case of the emacs-term.desktop file. There's an answer saying: This really depends on what's interpreting the desktop entry file. Programs that use Glib, for instance, are unfortunately still stuck with a hard-coded list of terminal applications. So this would really come from Firefox or a library it uses. I can see that firefox depends on libglib2.0-0, but is it what it uses to start applications? Another answer mentions /etc/alternatives/x-terminal-emulator for Debian-based systems, but here it is not used (it points to uxterm as I've said). -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

