如何将默认终端设置为终结器? [关闭]

问题描述 投票:102回答:7

使用Xubuntu。

我想让终结器替换默认终端。例如,当右键单击文件夹内部然后选择打开终端时,我想要打开终结器而不是默认值。

我怎样才能做到这一点?

ubuntu terminal xubuntu
7个回答
131
投票

从终端内部尝试

sudo update-alternatives --config x-terminal-emulator

从备选列表中选择所需的终端。


77
投票

更改设置管理器>>首选应用程序>>实用程序


38
投票

将以下内容复制粘贴到当前终端:

gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/terminator
gsettings set org.gnome.desktop.default-applications.terminal exec-arg "-x"

这会修改dconf以使终结符成为默认程序。您还可以使用dconf-editor(基于GUI的工具)对dconf进行更改,如另一个答案所示。如果您想学习并了解有关此主题的更多信息,this可能会对您有所帮助。


16
投票

devnull是对的;

sudo update-alternatives --config x-terminal-emulator

作品。请参阅herehere,以及here中的一些评论。


15
投票

打开dconf编辑器,然后转到org> gnome> desktop> application>终端并将gnome-terminal更改为终结器


0
投票

在xfce中(例如在Arch Linux上),您可以更改参数TerminalEmulator

 TerminalEmulator=xfce4-terminal

TerminalEmulator=custom-TerminalEmulator

下次要打开终端窗口时,xfce会要求您选择模拟器。你可以选择/usr/bin/terminator

System Defaults

/etc/xdg/xfce4/helpers.rc

User Defaults

/home/USER/.config/xfce4

-7
投票

对我有用的唯一方法是

  1. 以root用户gksudo nautilus打开nautilus或nemo
  2. 转到/ usr / bin
  3. 将默认终端的名称更改为例如“orig_gnome-terminal”的任何其他名称
  4. 将您喜爱的终端重命名为“gnome-terminal”
© www.soinside.com 2019 - 2024. All rights reserved.