j0h*_*j0h 5 panel applet launcher virtual-terminal mate
我有一些启动终端的面板应用程序,但是当我点击它们时,他们说 xterm 失败。嗯,xterm是的,没有安装,我也不想要。
我希望 mate-terminal 出现。我如何配置它发生?
这是带有 mate 桌面的 Ubuntu 服务器 12.04。我安装了 MATE 终端 1.6.1。
这是错误:

更新:
$ echo $TERM
xterm
Run Code Online (Sandbox Code Playgroud)
我试过 :
export TERM=mate-terminal
Run Code Online (Sandbox Code Playgroud)
但这种变化并不持久,也没有影响面板启动器。
更新2:
~$ sudo update-alternatives --config x-terminal-emulator
There is only one alternative in link group x-terminal-emulator: /usr/bin/mate-terminal
Nothing to configure.
Run Code Online (Sandbox Code Playgroud)
不确定它是什么列表,但这似乎不起作用。好的,所以我会尝试这个命令:
$ sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator mate-terminal /usr/bin/mate-terminal 50
update-alternatives: priority must be an integer
Usage: update-alternatives [<option> ...] <command>
Commands:
--install <link> <name> <path> <priority>
[--slave <link> <name> <path>] ...
add a group of alternatives to the system.
--remove <name> <path> remove <path> from the <name> group alternative.
--remove-all <name> remove <name> group from the alternatives system.
--auto <name> switch the master link <name> to automatic mode.
--display <name> display information about the <name> group.
--query <name> machine parseable version of --display <name>.
--list <name> display all targets of the <name> group.
--get-selections list master alternative names and their status.
--set-selections read alternative status from standard input.
--config <name> show alternatives for the <name> group and ask the
user to select which one to use.
--set <name> <path> set <path> as alternative for <name>.
--all call --config on all alternatives.
<link> is the symlink pointing to /etc/alternatives/<name>.
(e.g. /usr/bin/pager)
<name> is the master name for this link group.
(e.g. pager)
<path> is the location of one of the alternative target files.
(e.g. /usr/bin/less)
<priority> is an integer; options with higher numbers have higher priority in
automatic mode.
Options:
--altdir <directory> change the alternatives directory.
--admindir <directory> change the administrative directory.
--log <file> change the log file.
--force allow replacing files with alternative links.
--skip-auto skip prompt for alternatives correctly configured
in automatic mode (relevant for --config only)
--verbose verbose operation, more output.
--quiet quiet operation, minimal output.
--help show this help message.
--version show the version.
~$ sudo update-alternatives --set /usr/bin/x-terminal-emulator x-terminal-emulator mate-terminal /usr/bin/mate-terminal 50
Run Code Online (Sandbox Code Playgroud)
那么,“--install”似乎不是一个选项。好吧,也许“--set”就是这个意思……但这行不通。
我还查看了 system>preferences>preferred applications,其中 mate 终端被列为默认终端。
这里是 uname -a 来确认我的 Ubuntu 用法:
Linux X 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:42:40 UTC 2014 i686 i686 i386 GNU/Linux
Run Code Online (Sandbox Code Playgroud)
我在突触中使用工具,后来我安装了它来帮助我解决这个问题。
我注意到没有安装 GNOME 终端,所以我安装了它。突然间,我的链接现在可以正常工作了。
可以肯定的是,我卸载了它,并删除了 Sneetsher 推荐的链接
卸载后,我遇到了相同的错误。当我再次安装 GNOME 终端时,它按预期工作。
