ubuntu16.04 下同时打开多个终端窗口

reference :https://forums.solydxk.com/viewtopic.php?t=5139

reference : http://blog.51cto.com/huqilong/191760

安装terminator安装包

在命令行下输入:

sudo apt-get install terminator

在安装完成后,我在终端输入terminator出现这样的错误

yiran@yiran-X450CC:~$ terminator
  File "/usr/bin/terminator", line 119
    except (KeyError,ValueError), ex:
                                ^
SyntaxError: invalid syntax

出现这种错误是因为系统尝试用python3去运行python2的代码,解决方法就是在安装脚本里指定用python2,所以对于上述问题解决方法是在terminator的安装脚本中把第一行改为

#! /usr/bin/python2

这样问题就解决了

原文地址:https://www.cnblogs.com/laozhanghahaha/p/8437220.html