以下是我的Terminator
个人资料。我希望它始终能够打开带有灯光轮廓的任何外壳和窗户。
如果我没记错的话,使用下面的配置应该会默认使用灯光配置文件打开它,但事实并非如此!
如何让它默认使用“light”配置文件?
[global_config]
[keybindings]
new_tab = <Ctrl>n
next_tab = <Ctrl>Right
split_vert = <Ctrl>v
split_horiz = <Ctrl>h
prev_tab = <Ctrl>Left
[profiles]
[[light]]
palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#dc322f:#2aa198:#93a1a1"
use_system_font = False
cursor_color = "#002b36"
foreground_color = "#002b36"
show_titlebar = False
background_color = "#eee8d5"
[[dark]]
palette = "#073642:#d30102:#859900:#b58900:#6c71c4:#d33682:#2aa198:#839496:#586e75:#cb4b16:#859900:#b58900:#268bd2:#dc322f:#2aa198:#93a1a1"
use_system_font = False
cursor_color = "#eee8d5"
foreground_color = "#eee8d5"
show_titlebar = False
background_color = "#002b36"
[layouts]
[[default]]
[[[child1]]]
type = Terminal
parent = window0
profile = light
[[[window0]]]
profile = light
type = Window
parent = ""
[plugins]
答案1
terminator -p light
你需要像或那样运行终结者
terminator --profile=light
一种更简单的方法是创建一个 Bash/Zsh 别名,如下所示:
alias terminator="terminator --profile=light"
答案2
来自文档
为新终端重复使用配置文件(默认值:关闭)
When creating a new terminal with splitting or new tabs, if this is enabled, then the profile from the previously focussed terminal will also be used for the new one.
答案3
由于布局包括配置文件选择,您可以运行终结者
terminator -l child1
如果您不想这样做,则必须在“默认”布局中设置默认配置文件
[layouts]
[[default]]
type = Terminal
parent = window0
profile = light