New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Etcher AppImage registers itself as default text/html mime handler #3374
Comments
|
How weird, I wonder if that might be an Electron bug or an AppImage bug? Just did a quick search and found electron/electron#20382 which sounds very similar. |
|
Your search skills must be better than mine, nice find |
|
Looks like this got reported upstream a few days ago: https://gitlab.freedesktop.org/xdg/xdg-utils/-/issues/180 As a workaround, I commented out this line: https://gitlab.freedesktop.org/xdg/xdg-utils/-/blob/v1.1.3/scripts/xdg-settings.in#L691 |
|
@dlech do you need to reboot the system for it to work? Just commenting the line didn't fix it for me. |
|
I don't think a reboot is required. Did you also run |
|
My bad. Running |
|
Anyone know why this happens though? From the electron issue, it sounded like it was related to something with a - in the file name / package, but we're having a similar at LBRY and can't find out the root cause either. |
It is a bug in xdg-utils: #3374 (comment) |
I use the
xdg-opencommand line tool to open.htmlfiles. However each time I run the Etcher AppImage, it registers itself as the default handler for thetext/htmlmime type so runningxdg-open my-file.htmllaunches Etcher with an error code instead of opening a web browser.Steps to reproduce:
xdg-mime query default text/htmlbalena-etcher-electron.desktop, replace it withxdg-mime default firefox.desktop text/htmlthen repeat step 1 to confirm that it is nowfirefox.desktopinstead of ``balena-etcher-electron.desktop`.balena-etcher-electron.desktopExpected behavior: Etcher should not register itself as the default handler for the
text/htmlmime type.The text was updated successfully, but these errors were encountered: