5

I've just installed Ubuntu Gnome 16.04 and while tryng to add "terminix" as the default terminal emulator I've messed up really bad the x-terminal-emulator alternative, totally my fault!

I'd enter the update-alternatives --install command wrong and now I don't have that alternative anymore, this is what I got now:

$ sudo update-alternatives --config x-terminal-emulator
There is only one alternative in link group x-terminal-emulator (providing /usr/bin/x-terminal-emulator): /usr/bin/gnome-terminal.wrapper
Nothing to configure.
update-alternatives: warning: forcing reinstallation of alternative /usr/bin/gnome-terminal.wrapper because link group x-terminal-emulator is broken
update-alternatives: warning: not replacing /usr/bin/x-terminal-emulator with a link

Fortunately, the only problem is that I can't use the CTR+ALT+T shortcut to open the terminal (or any terminal emulator for that matter), invoking them with Super + the name of the application works with out problem. Like I said, it's not a big problem but it bothers me having it.

I've tried reintalling the emulators but withou any luck. If you know any possible solution to my dilemma I'll really appreciated!

Have a nice one!

felipunk
  • 65
  • 1
  • 5
  • The shortcut thing can be set via `gsettings set org.gnome.desktop.default-applications.terminal exec 'x-terminal-emulator'` (replace the `x-terminal-emulator` with whatever you want). As for the alternatives, I'd suggest you try `--install` part again. Alternatives system is nothing more than symlinks, so you could also do that manually , link `/etc/alternatives/x-terminal-emulator` to whatever terminal you want – Sergiy Kolodyazhnyy Jun 24 '16 at 06:02

2 Answers2

2

I ran into the same problem. What fixed it for me was to simply re-install gnome-terminal i.e. typing the following command:

sudo apt-get install --reinstall gnome-terminal

This seems to automatically reset the alternatives.

0

I think, reconfiguring may help easily here:

$ sudo  dpkg-reconfigure your_terminal_program
wk.
  • 560
  • 6
  • 17