In KDE, I can easily search for a file association and set the default and alternate programs used to open it. What I want to do is search for a program, and set the file types. Okay, what I really want to do is just wipe out all instances of certain programs.

Install any program with wine, and you get notepad added to the list for every flavor of text, plus Internet Explorer for everything web-related, one instance per program installed with wine! And aegisub, a subtitle editor for videos, also shows for everything having to do with text. Deleting them one-by-one from hundreds of file types is tedious, but is there a config file to edit? Then I could search-and-replace. As nearly as I can determine, the config files in home/.local/share/menu only show changes to the default, and I can't find where the default is stored in the root system. /usr/share/applications/mimeapps.list is empty, and editing mimeapps.cache in the same directory makes no difference for the next new user profile.