change default terminal linux code example
Example 1: change default terminal linux
sudo update-alternatives --config x-terminal-emulator
Example 2: ubuntu set new default terminal
#This will output all available terminals
sudo update-alternatives --config x-terminal-emulator
Example 3: set default terminal ubuntu
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /opt/Hyper/hyper 50