Score:0

xdg-open starts Chrome instead of Firefox for local html files

cn flag

On Ubuntu 22.04 I was calling xdg-open file.html, and Chrome was started instead of Firefox, and I tried to figure out why, so I found:

xdg-mime query filetype file.html -> application/xhtml+xml

xdg-mime query default application/xhtml+xml -> firefox.desktop

But it seems that Snap Firefox's desktop entry is called firefox_firefox.desktop. So I was able to fix the problem with

xdg-mime default firefox_firefox.desktop application/xhtml+xml

I would like to report this problem, but ubuntu-bug seems to require a package-name, and I am unsure if the source of the problem is any Ubuntu package or the Firefox snap?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.