`
Zhongwei_leg
  • 浏览: 545236 次
  • 性别: Icon_minigender_1
  • 来自: 珠海
社区版块
存档分类
最新评论

Ubuntu 下自动打开多个 Guake Tab 页的脚本

阅读更多

先让看一下我们要达到的效果:

 

 

每次开机都要手动打开几个 Guake tab 页,然后一一重命名,很是麻烦。

 

于是在查看了 Guake 命令参数时候,写了一个启动脚本。

 

先看一下 Guake 的命令参数列表:

 

zhongwei@zhongwei-T-6845c:~/bin$ guake -h
Usage: guake.py [options]

Options:
  -h, --help            show this help message and exit
  -t, --toggle-visibility
                        Toggles the visibility of the terminal window
  -p, --preferences     Shows Guake preference window
  -a, --about           Shows Guake's about info
  -n NEW_TAB, --new-tab=NEW_TAB
                        Add a new tab
  -s SELECT_TAB, --select-tab=SELECT_TAB
                        Select a tab
  -g, --selected-tab    Return the selectd tab index.
  -e COMMAND, --execute-command=COMMAND
                        Execute an arbitrary command in the selected tab.
  -r RENAME_TAB, --rename-tab=RENAME_TAB
                        Rename the selected tab.
  -q, --quit            Says to Guake go away =(

 

启动脚本:

 

guake -n 1
guake -r 0-Python
guake -e python

guake -n 1
guake -r 1-Mercurial

guake -n 1
guake -r 2-uWSGI

guake -n 1
guake -r 3-Cassandra

guake -n 1
guake -r 4-tests

guake -n 1
guake -r 5-others
 
0
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics