gnome-terminal程序调用的时候,如果多次调用能不能是打开标签页,而不是新开一个窗口
-
- 帖子: 1
- 注册时间: 2009-05-04 10:13
gnome-terminal程序调用的时候,如果多次调用能不能是打开标签页,而不是新开一个窗口
工作需要,每次程序调用的时候都是新开一个窗口,而不是在原窗口中打开一个标签。这个可以通过设置实现吗?还是需要别的终端才可以?求指导。
- vickycq
- 帖子: 4507
- 注册时间: 2011-03-20 13:12
- 系统: Debian
- 来自: 山东省寿光县
- 联系:
Re: gnome-terminal程序调用的时候,如果多次调用能不能是打开标签页,而不是新开一个窗口
可以做到。
例如启动三个程序 prog1, prog2, prog3 分别位于一个终端窗口的三个标签中:
注意 Default 是启动 prog1 时使用的 profile 名称,可在菜单中查看
注:本人未测试
具体参考
http://askubuntu.com/a/277550
http://manpages.ubuntu.com/manpages/har ... nal.1.html
例如启动三个程序 prog1, prog2, prog3 分别位于一个终端窗口的三个标签中:
代码: 全选
gnome-terminal --tab -e "prog1" --tab-with-profile=Default -e "prog2" --tab-with-profile=Default -e "prog3"
注:本人未测试
具体参考
http://askubuntu.com/a/277550
http://manpages.ubuntu.com/manpages/har ... nal.1.html
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
欢迎所有 Debian GNU/Linux 用户