Closed biswajitpaul01 closed 5 years ago
I'm not sure which file manager application you are using, but you can try sudo update-alternatives --config x-terminal-emulator
.
Also, do a google search first is recommended, let us know with more information provided so we can help you out :)
I am using default file manager in Ubuntu. Below is my terminal screenshot after running the command:
Try something like sudo update-alternatives --set x-terminal-emulator /usr/bin/deepin-terminal
and try sudo update-alternatives --config x-terminal-emulator
again?
I got this error:
Oops, seems you need to register deepin-terminal to the alternatives list first.
Basicly /etc/alternatives/x-terminal-emulator
is just a simple symlink to the default termnal emulator binary file location and update the link to deepin-terminal should works. But if you want to do this in a more debian way(since update-alternatives
is a debian-based-distro only thing), consider read the man page of update-alternatives
and see what you should do next.
Hi @BLumia
Thank you for your response. I searched it and found out this command:
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/deepin-terminal 50
Then I run below to set the terminal:
sudo update-alternatives --config x-terminal-emulator
It works with shortcut key Ctrl+Alt+T but not inside file manager right click menu. You may comment more if you found new solution, but now I am closing this issue.
Thanks again.
I'm not using ubuntu/gnome now so cannot try it by myself but maybe this page can helps :)
The @biswajitpaul01 solution works fine, thanks.
How can I replace it as default terminal in Ubuntu 19.04? So that when I right click and select "Open in Terminal" in menu, it opens up automatically.