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 :
Code:
sudo cp /etc/gnome/defaults.list /etc/gnome/defaults.list0

Then run:
Code:
sudo sed -i s/[current-default-app-name]/[new-default-app-name]/g /etc/gnome/defaults.list
Example:
Code:
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:
Code:
sudo cp /etc/gnome/defaults.list0 /etc/gnome/defaults.list

No comments:

Post a Comment