ubuntu to set default shell code example
Example 1: set default terminal ubuntu
sudo update-alternatives --config x-terminal-emulator
Example 2: set default terminal ubuntu
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /opt/Hyper/hyper 50