qBittorrent (qbittorrent 4.3.3-1 installed from the community repo) is associating itself to all file types. I had reported this issue to qBittorrent’s GitHub but it seems that it’s happening only to me.
In the file association MIME type for the launcher, the only type is listed as application/x-bittorrent but it’s showing up for every filetype when in the File Associations settings and also using “open with” in Dolphin.
Maybe you can try to cleanup the file association in KDE Settings → Applications → Files Association? expand categories, click on the first one and with down arrow key review each one and when you see qbittorrent on right panel you remove it. Just a suggestion, it can be pretty time consuming.
Also maybe simply try to set the default association in Dolphin for all these files you see qbittorrent in right click menu, select open with another… chose the application and tick the box Remember file association.
I know I had the issue before, and I think I did a little bit of both methods, and if I look at it now I don’t see qbittorrent anywhere in right click menus except for torrent files.
I may have also reset KDE at some point, deleting the major user config files, so it may be it something along those lines, for an unrelated problem:
cd ~/.config
mv *rc plasma-old/
mv kdeglobals plasma-old/
It simply means you can type ‘associations’ in krunner or application launcher to get the GUI settings for file associations.
From there you can type in the search window ‘torrent’.
In mine, the list narrows down to “application>x-bittorrent” and in the General pane opposite, I see
His issue is that qbitorrent is listed for most file type as possible application, like right click text files, you see qbittorrent there, right click an image, you see qbittorent there too…
I don’t know why it does that as qbittorrent is in theory only associated for application>x-bittorrent, but it happens, probably because no default application is selected/memorized for these specific file types, or maybe some other bug in KDE.
that’s my issue,most of my files that are obviously not related to a torrent client,tries to open with qbitorrent.
qbitorrent also has put himself in all the applications as the first option in “file association”.
so what do i do with that ~/.config/mimeapps.list file;
-can i just delete it since i only have there qbittorent related associations and the system will recreate it if needed?
-or just delete it’s content?(should i then leave the [Added Associations] line only?)
-or rename it?
This is wrong, octet-stream is like when a server streams an executable or document file to your browser to download. I don’t even have a bittorrent app listed there in this mimeapps.list file. However it is qbittorrent which is my default app for torrent files. I think this file is only for user own override from the default.
Maybe try to set a default proper app for some file types first from Dolphin. See if it fixes these file types regarding qbittorrent being available as a compatible app.
See if by going to the 'File Association" route in KDE Settings, if qbittorrent is listed there for most file types. Then you may have no other way than removing the entries everywhere from here. I remember going there long time ago and I may have done only that from here, but now I’m searching when writing this, and found this thread https://www.reddit.com/r/kde/comments/j6mi20/how_do_i_changereset_default_file_associations_in/g7zkdbw/ where the guy says “the file association for every extension that I haven’t opened previously defaults to qbittorrent.” So it might be a problem in KDE, and you may simply fix it with my other method, open each of these file types in Dolphin → right click → Open with… and select proper app for each file type you have issues with (for most text files you don’t have specific app, use Kate for example).
Or simply do what the guy did, he puts Kate first in the octet-stream mime type (or even delete bittorrent there it shouldn’t be required here for this file type). Maybe this issue is all related to this mime type which may be used as a ‘default’ for other mime type which don’t have proper application setup for them. That could make sense. But what doesn’t really make sense is qbittorrent being set as default octet-stream application.
thanks omano
i saw that reddit post but thought i’d ask here first.
i think i’ll go the hard way and rename the mimeapps.list file and remove qbittorent from all the apps in file association.