在Cygwin上安装终端仿真器Terminator

6

在浏览了很多关于系统管理员最佳终端的网站后,我尝试在Cygwin上安装。不幸的是,我没有找到任何好的网站来说明如何进行操作。

有人之前做过这个吗?请帮助我列出需要安装的步骤和软件包。

此外,还有其他终端可以尝试(例如Cygwin)吗?

3个回答

3
我不知道从哪个版本开始,但现在你可以直接通过Cygwin安装程序安装终端仿真器Terminator。并且它运行良好。
问候

2
如果您不想使用cygwinports,实际上您可以从cygwin安装程序中安装terminator除外的所有依赖项。
在cygwin安装程序中选择并安装:python-dbus、python-gobject、python-gtk2.0、python-vte(在某些情况下为GNOME选项卡)、GConf2 然后,从https://launchpad.net/terminator/+download下载最新的terminator压缩包,并将其解压到某个位置。在管理员终端中运行python setup.py install,只要您有一个正在运行的X服务器,运行terminator就可以完美地工作了。

我尝试了您的方法,使用terminator-0.97到1.90版本,并安装了一堆软件包,但它并没有起作用。它抱怨psutil,注释掉后又抱怨一些静态导入。好消息是,现在cygwin已经包含了terminator。 - Carlos Rafael Ramirez

1
安装terminator的相关资料有些模糊。我所做的,也许能帮到你,是这样的:(尽管我仍然遇到分段错误)
  1. 将您的Cygwin更新到最新版本

  2. 打开Cygwin终端并运行:(如果您有x86版本,请使用该版本。此步骤的想法是使用Cygwin Ports)

    cygstart -- /your/cygwin/path/setup-x86_64.exe -K http://cygwinports.org/ports.gpg

  3. 在“选择下载站点”部分:

    检查您是否选择了三个URL

  4. 它可能会向您显示有关未加载.ini配置的警告,但请忽略它们(注意:我寻找了不同的端口URL,但官方的URL给我抛出了错误,我无法通过此步骤,这就是为什么我使用替代URL的原因)

  5. 首先,您需要安装X Window的软件包:

http://x.cygwin.com/docs/ug/setup.html

基本上它们是:

  • xorg-server(必需,Cygwin/X X服务器)
  • xinit(必需,用于启动X服务器的脚本:xinit、startx、startwin(以及在开始菜单上运行它的快捷方式)、startxdmcp.bat)
  • xorg-docs(可选,man页面)

还要搜索并选择终结者软件包

这需要一段时间才能完成。

  1. 转到“开始”->“所有程序”->“Cygwin-X”->“X Win Server”(Windows工具栏)

  2. 应该会打开一个xterm窗口。输入:

    终结者

现在您应该已经在Cygwin中使用了终结者。

注意:运行终结者后,我会收到此错误:

/usr/lib/python2.7/site-packages/terminatorlib/terminator.py:87: Warning: Attempt to add property GnomeProgram::sm-connect after class was initialised
  self.gnome_program = gnome.init(APP_NAME, APP_VERSION)
/usr/lib/python2.7/site-packages/terminatorlib/terminator.py:87: Warning: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
  self.gnome_program = gnome.init(APP_NAME, APP_VERSION)
/usr/lib/python2.7/site-packages/terminatorlib/terminator.py:87: Warning: Attempt to add property GnomeProgram::display after class was initialised
  self.gnome_program = gnome.init(APP_NAME, APP_VERSION)
/usr/lib/python2.7/site-packages/terminatorlib/terminator.py:87: Warning: Attempt to add property GnomeProgram::default-icon after class was initialised
  self.gnome_program = gnome.init(APP_NAME, APP_VERSION)
Warning: python-keybinder is not installed. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.
Segmentation fault (core dumped)

我一直在尝试解决这个问题,但很遗憾我没有找到任何解决方法。如果你使用的是Cygwin x86,你的结果可能会有所不同。

希望这可以帮助到你。


问题是如何在Cygwin上安装终端仿真器terminator,而不是如何安装Cygwin。 - Keith Thompson
非常抱歉,睡眠不足。已编辑。 - Edenshaw

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接