Removing file association in Ubuntu drove me crazy for a while. Although I already removed the Bluefish editor from my desktop, the file associations were still there. Right-clicking a file and removing the file association didn’t work for me. I even deleted the .bluefish directory in my home directory hoping that it would remove the file associations, but the associations were still lingering.
As it turns out, the file associations can be removed by accessing the ~/.local/share/applications directory and removing the files that needed deletion. In my case, there were 3 Bluefish files that needed to be deleted. Credits to Long Term Storage for the tip.
Remove File Associations
From the Terminal, type the following:
View the file associations
Remove the file association that you want deleted. In my case, I had to delete the Bluefish associations.
rm bluefish.desktop bluefish-project.desktop Bluefish Editor.desktop
As it turned out, removing file associations in Ubuntu is way easier than I thought it would be. That is it.