Ubuntu – How to re-create the x-terminal-emulator alternative

command lineshortcut-keysupdate-alternatives

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!

Best Answer

I think, reconfiguring may help easily here:

$ sudo  dpkg-reconfigure your_terminal_program