4

Following this post I tried this command:

sudo update-alternatives --config x-terminal-emulator

But it doesn't list the deepin-terminal:

There are 2 choices for the alternative x-terminal-emulator (providing /usr/bin/
x-terminal-emulator).

  Selection    Path                             Priority   Status
------------------------------------------------------------
  0            /usr/bin/terminator               50        auto mode
* 1            /usr/bin/gnome-terminal.wrapper   40        manual mode
  2            /usr/bin/terminator               50        manual mode

Press <enter> to keep the current choice[*], or type selection number

I have also tried from this other question, these two commands:

sudo apt install --reinstall deepin-terminal
sudo dpkg-reconfigure deepin-terminal

None worked, do you have any other ideas? Thanks in advance.

2 Answers2

9

For me, the following worked

https://github.com/linuxdeepin/deepin-terminal/issues/186#issuecomment-517919007

# Register deepin terminal
sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/deepin-terminal 50

Select your terminal

sudo update-alternatives --config x-terminal-emulator

No reboot needed. Tested on Ubuntu.

1

the only solution that I found was this:

sudo gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/deepin-terminal
sudo gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"

And It works for me.