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