设置guake tab改名后不随着内容不同而自动改变 系统ubuntu14.04

来源:互联网 发布:淘宝香港代购可靠吗 编辑:程序博客网 时间:2024/06/10 00:03
$ vim `which guake`

find the 1000 line and change this:

    self.tabs.get_children()[page].set_label(vte.get_window_title())

on this:

    if self.tabs.get_children()[page].get_label().find('!') != 0:        self.tabs.get_children()[page].set_label(vte.get_window_title())    else:        return

And now you can rename your tabs permanently by adding '!' before name, like:

!PROD!backend!PENTAGON ROOTED
0 0
原创粉丝点击