setting default terminal in ubuntu code example
Example 1: ubuntu set new default terminal
#This will output all available terminals
sudo update-alternatives --config x-terminal-emulator
Example 2: set default terminal ubuntu
sudo update-alternatives --config x-terminal-emulator