How to update the default application for web browser, terminal and more - update-alternatives

How to set the default terminal (or window manager, browser, and much more) in Linux

Ever wondered how your Linux system chooses the default Terminal Emulator, web browser, window manager, text editor, particular version of an app (eg, php5 vs 7/python2.7 vs 3)? Wonder no more! Change the default app in /etc/alternatives The folder /etc/alternatives contains all of the ‘alternative’ applications for a particular type of application. For example, my Terminal application of choice is terminator which is the default ‘alternative’, but what if I wanted to change it back…