Tuesday, December 27, 2011

[SOLVED]Ubuntu 11.10 ignores the user set default applications in Settings

Solution: You can change the default application in one command. in the terminal change the default application for every extension the current app is default for. First create a backup for the file we are going to change :
sudo cp /etc/gnome/defaults.list /etc/gnome/defaults.list0

Then run:
sudo sed -i s/[current-default-app-name]/[new-default-app-name]/g /etc/gnome/defaults.list
sudo sed -i s/banshee/audacious2/g /etc/gnome/defaults.list
This will change the default music app from banshee to Audacious.

If anything goes wrong you can always switch back to the old settings using the backup we created earlier with this command:
sudo cp /etc/gnome/defaults.list0 /etc/gnome/defaults.list

No comments:

Post a Comment