You are not logged in.
I'm using brave browser, but I have I wired behaviour when I'm trying to open a zip,rar downloaded file. The file opens with the archive manager I use, but when I extract it and close the archive manager, then automatic Firefox opens and the dialog to oped or save the file again.
So, I tried to set brave as default browser with the hope that will fix the issue and still xdg-open opens firefox.
xdg-open http://archlinux.org -> opens firefox
xdg-mime query default text/html -> firefox.desktop
The above still happen after change:
xdg-mime default brave.desktop x-scheme-handler/http
xdg-mime default brave.desktop x-scheme-handler/https
edit ~/.local/share/applications/mimeapps.list and defaults.list
search and replace firefox to brave
edit ~/.config/mimeapps.list
search and replace firefox to brave
edit ~/.kde4/share/config/mimeapps.list
search and replace firefox to brave
Offline
Since there no answer until now, I'll write some more information in case someone can help.
First, I solve the problem of default-web browser after I found that the name of brave desktop file is brave-bin. This happens because the name of desktop file in /usr/share/applications displayed as "brave" and not "brave-bin" and also the executable name in /usr/bin is "brave" and not "brave-bin". I found a post mentioned this name, though and using that the default browser changed.
This didn't solve the firefox binding problem with downloaded archives though.
I'm using peazip as default archive manager which I isntalled it from aur. I have the portable version. Because this version didn't let me change any settings of the app(permissions problem), I moved the app' s folder to a place in which I have read/write rights, and I uninstalled it. After that, and before I reasign archives to peazip again, file-roller became the default archive manager. And with this there is no conficts and firefox doesn't try to open them.
So seems that this happens with peazip only. Also it happens after I close peazip. When I open an archive from downloads list, then peazip opens and I can extract the file. As long the peazip's window is open(no matter how long is open) firefox doesn't open. This happens immediately after I close peazip. Then firefox executed with the "open with" dialog for the downloaded archive.
Offline