在Centos和ubuntu下,terminal的藍色都難以分辨,其時你可以在調整視窗菜單的調色盤,選擇自己喜歡的顏色。
在terminator下(即多視窗那個),可以設定 preferences -> profiles -> Colors
這兩個終端都可以直接使用系統原來就有的色彩配置。
1.
我的方案則喜歡在預定的“Linux style”基礎上做出微調,變成自訂的:
text color為 白色
background color為 #270C1F
2.
調色盤(palette)中,主要調整是原來藍湛湛的目錄顏色,我把它改為沒這麼藍的淡藍色
#5555FF
3.
background中,我喜歡設定為 90%的transparent background,即90%的透明色
4.
字型,終端的字型我一般喜歡用windows下的fixsys的格式,因為它等寬,和中文放在一起好看。系統預設monospace也不錯,不過如果可以選擇,我還是會選擇用Fixsys。Linux下似乎沒有fixsys。不過,有free版本的Fixedsys字型,那應該是參考了fixsys字型製作出來的了,呵呵,功德無量阿。在下面的網址下載,下載後放到/usr/share/fonts/truetype/freefont目錄:
http://www.fixedsysexcelsior.com/
直接下載地址是: http://www.fixedsysexcelsior.com/fonts/FSEX300.ttf
我喜歡設定為fixedsys 11號字型
5.
terminator常被我用作VIM的編輯器,因此我需要做成大視窗啟動,以方便接下來的多視窗分割。
因此我在Terminator的luncher上加入啟動參數:
--geometry=580x700+400+0
也可以加上預設開啟的工作目錄
--working-directory=/home/cobyeah
6.
Terminator的設定檔在~/.config/terminator/config
可以在此設定檔中設定layout欄參數。使用這個自訂layout時,terminator會同時開啟多個子視窗。
但現在[0.95版]功能仍然沒完善,不能在layout配置中設定每個視窗的初始化大小,只能是fixed的大小。
作者解釋說他正在working on it。將會在1.0beta版中發布這個功能。 並且格式參數有可能不同。
一個擁有兩水平視窗的terminator配置如下:
[[myLayout]]
[[[window0]]]
position = 170:0
type = Window
order = 0
parent = ""
size = 1060, 700
[[[child1]]]
type = HPaned
order = 0
parent = window0
[[[terminal_left]]]
profile = default
type = Terminal
order = 0
parent = child1
[[[terminal2_right]]]
profile = default
type = Terminal
order = 1
parent = child1 |
運行時,加參數
-l myLayout
7.
OK, that's all.
轉自:http://blog.163.com/cobyeah@126/blog/static/14013765320108153541338/