If I open or create a Write document, and press the F1 key to get help, it opens the Balena Etcher software that I also have installed on my laptop (Dell M6800, Linux Mint Cinnamon 21.2, LO 7.3.7.2). If I open a terminal and type
If the suggestion by @EarnestAl is not sticky you may try or modify the script from here:
.
Background: There are not only reports of installers setting their electron-app itself als default handlers but (in that case Signal) every opening of the software modified the default handler for html.
So re-setting this can be a work-around (script copied from above link, as usual: check and use with care):
Placed as ~/.local/bin/xdg-settings in PATH
#!/bin/bash
if [[ "$1 $2" == "set default-url-scheme-handler" ]]; then
DEFAULT_BROWSER="$(xdg-mime query default text/html)"
/usr/bin/xdg-settings "$@"
if [[ "$(xdg-mime query default text/html)" != "$DEFAULT_BROWSER" ]]; then
echo "Reverting the default web browser to $DEFAULT_BROWSER"
xdg-mime default "$DEFAULT_BROWSER" text/html
fi
exit 0
fi
exec /usr/bin/xdg-settings "$@"
Thanks, Earnest AI and Wanderer. I right clicked on an html file from Nemo, and then went to Open With/Other Application, and that let me reset Firefox as the default html file opener. Right clicking than then clicking on Open with Firefox was not sticky, but this fixed it. Not sure how it will affect Balena Etcher, although that opens normally, but so far so good. I will follow up on this post if I find a problem.
It is not affected at all. The change in settings for html was not intended. It seems to be a side effect, if names contain hyphens -. Some developers simply renamed files, some fixed buid-tools, but that will not help a user who has an electron app with this glitch until it is updated.