Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
    
I have not tested this because I do not want to mess with my system, but are you logged-in as a standard user? Does your user have administration privileges? –  grahammechanical Oct 16 '11 at 12:37
    
Yes I'm logged in as a standard user. Why should I need administration privileges to change the default application for something for my user? –  George Kastrinis Oct 17 '11 at 6:56
add comment

1 Answer

up vote 3 down vote accepted

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.

sudo chown -R george:george /home/george/.local/share/applications

As an addition, now the changes from system info work as well

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.