I'm trying to change the default applications in Ubuntu 11.10 and I fail to do so.
I go to system info > default applications and I make some changes. If I close and reopen the system info window, the changes have reverted to the old ones.
Also if I go to a .avi for example > properties > open with and I try to set as default something else, I get
Could not set as default
Error while setting "VLC media player" as default application: Failed to create file '/home/george/.local/share/applications/mimeapps.list.WCOC3V': Permission denied
I found a solution myself. Not sure if it's the best one.
The /home/george/.local/share/applications directory was owned by root. Not sure if it was meant to be that way. Anyway after I changed owner, I can now set some other program as the default without problem.
As an addition, now the changes from system info work as well