
ubuntu终端默认设置
Ubuntu has a number of terminal emulators that you can use, including xterm and the gnome terminal. If you install the kubuntu desktop package you can also use konsole under ubuntu.
Ubuntu有许多可以使用的终端仿真器,包括xterm和gnome终端。 如果安装kubuntu桌面软件包 ,则也可以在ubuntu下使用konsole。
Setting the default terminal emulator is easy by using the update-alternatives command. Open a terminal window and type in the following command:
使用update-alternatives命令可以轻松设置默认的终端仿真器。 打开一个终端窗口,然后输入以下命令:
sudo update-alternatives --config x-terminal-emulator
You’ll see something similar to the following, although you may not see as many options on your system:
您可能会看到类似以下内容的信息,尽管在系统上可能看不到太多选项:
There are 7 alternatives which provide `x-terminal-emulator’.
提供“ x-terminal-emulator”的7种选择。
Selection Alternative ———————————————– 1 /usr/bin/xterm 2 /usr/bin/uxterm 3 /usr/bin/koi8rxterm 4 /usr/bin/lxterm *+ 5 /usr/bin/gnome-terminal.wrapper 6 /usr/bin/konsole 7 /usr/bin/xfce4-terminal.wrapper
选择选项———————————————–– 1 / usr / bin / xterm 2 / usr / bin / uxterm 3 / usr / bin / koi8rxterm 4 / usr / bin / lxterm * + 5 / usr / bin / gnome-terminal.wrapper 6 / usr / bin / konsole 7 /usr/bin/xfce4-terminal.wrapper
Press enter to keep the default[*], or type selection number:
按Enter键保留默认值[*],或输入选择编号:
Just type in the number of the selection and hit enter. Now when you launch the terminal via the menu item, or by typing in x-terminal-emulator at the command line, you will see the correct window pop up.
只需输入选择的编号,然后按Enter。 现在,当您通过菜单项或在命令行中输入x-terminal-emulator启动终端时,您将看到正确的窗口弹出。
翻译自: https://www.howtogeek.com/howto/ubuntu/set-the-default-terminal-emulator-on-ubuntu-linux/
ubuntu终端默认设置