fel*_*unk 6 command-line shortcut-keys update-alternatives
我刚刚安装了 Ubuntu GNOME 16.04,在尝试添加terminix为默认终端模拟器时,我搞砸了非常糟糕的x-terminal-emulator替代方案,完全是我的错!
我输入了update-alternatives --install错误的命令,现在我没有其他选择了,这就是我现在得到的:
$ 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
Run Code Online (Sandbox Code Playgroud)
幸运的是,唯一的问题是我无法使用Ctrl+ Alt+T快捷方式打开终端(或任何与此相关的终端模拟器)。Super使用应用程序名称调用它们并进行搜索是没有任何问题的。就像我说的,这不是一个大问题,但它让我很困扰。
我尝试过重新安装模拟器,但没有成功。如果您知道任何可能解决我的困境的方法,我将非常感激!
小智 2
我遇到了同样的问题。对我来说解决这个问题的方法是简单地重新安装gnome-terminalie,输入以下命令:
sudo apt-get install --reinstall gnome-terminal
Run Code Online (Sandbox Code Playgroud)
这似乎会自动重置替代方案。
我认为,重新配置在这里可能会很容易有所帮助:
$ sudo dpkg-reconfigure your_terminal_program
Run Code Online (Sandbox Code Playgroud)