How to remove Notepad from the applications list

mime-typesopen fileswinexfce

After installing Wine, Notepad has became a default application to open unknown textual files by double click. I'd like to eliminate this behaviour and remove Notepad from the list of applications offered to open an unknown type file. I've deleted /usr/share/applications/wine-notepad.desktop, but this didn't help. How can I disable Notepad correctly?

I use XUbuntu 11.10 (XFCE 4.8) and Wine 1.3.

Best Answer

I had that problem too some months ago, and I remember I had to delete some .desktop files that were inside the $HOME/.local/share/applications folder. I think you should delete any file that has notepad as part of its name, and also you should try to delete (or move somewhere else) the files wine-extension-*.

Related Question