I just installed Balena Etcher 1.5.100 on Linux Mint 20.1 x86_64
It worked perfectly flashing a SD card, but now whenever I click an internet shortcut on my desktop, Balena starts up and wants to use it.
In linux this is a .desktop file.
In my settings the default app for this type of file is Firefox, but still Balena wants to use it.
That was exactly my issue and that trick solved it.
I did this: " sudo vi $(which xdg-settings) "
And then afterwards this: " xdg-mime default firefox.desktop text/html "
In my xdg-settings file it was line 1194. “set_browser_mime “$2” || return”
Thank you for the advice and solution, much appreciated.
Just an additional fix for those looking for them.
Got this bug recently on Ubuntu 22.04 using etcher.
Couldn’t find the problem using xdg-mime or xdg-settings (both had correct handler listed). Put @trustin script into my PATH as well, but still got the issue. (especially annoying as I am trying to learn Rust and everytime I do cargo doc it opens etcher which tells me the file is not a valid iso.)
This, however, fixed the issue:
opened this file: ~/.config/mimeapps.list in a text editor.
did a search for “etcher” and found an instance
moved the offending line from the “Default Applications” section to the “Removed Associations” section
added a semi-colon to the end of the line I just moved.