DefaultApps



Using update-alternatives to set default apps

E.g. if you want to set your default terminal, do:

sudo update-alternatives --config x-terminal-emulator
You can tab to see what other config options there are

For editor you can do:
sudo update-alternatives --config editor

Add editor to list of choices with:
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/micro 1