View Full Version : [ubuntu] [SOLVED] Can't set default applications

November 13th, 2008, 12:14 PM
I don't want to open .wmv files in the default video player (Totem), but in MPlayer.
So I select a .wmv file, click the "Open With" tab in the Properties and select the "MPlayer Movieplayer" line.
This results in an error window:
"Could not set as default application" -
"Could not set application as the default: Failed to create file '/home/peter/.local/share/applications/mimeapps.list.EFWCKU': Permission denied"

I tried this with sudo, but as expected I only manage to change the root prefs this way.

Now what?

November 13th, 2008, 01:28 PM
Based on the error message something (like running GUI apps with "sudo" instead of "gksudo"..) has caused the permissions of the directory to change from the defaults, leaving you without write permission to that directory.

So, check the directory's ownership & permissions, it should belong to you and you should have read/write access there.

November 13th, 2008, 02:11 PM
Yeah, it was that simple.
sudo chown peter applications
did the trick.


August 20th, 2010, 08:50 PM
Can you explain how you did it?
I got the exact same error.
How do you change those settings from the terminal?

August 22nd, 2010, 04:14 PM
I used the instructions of using 'chown' from

It gave me some error when I executed but sure solved the job..! :)
No probs after tht! :)