小编mam*_*aye的帖子

如何在启动/重新启动计算机时打开一个(或多个)带有几个选项卡的 gnome 终端窗口,每个选项卡都有不同的配置文件?

我有几个终端配置文件。我可以在启动时打开所有配置文件,它们在启动应用程序中使用此 cmd 在不同的窗口中打开:

gnome-terminal --window-with-profile=ablack && gnome-terminal --window-with-profile=agreeen && gnome-terminal --window-with-profile=aubergine && gnome-terminal --window-with-profile=beige && gnome-terminal --window-with-profile=cyan && gnome-terminal --window-with-profile=grey && gnome-terminal --window-with-profile=orange && gnome-terminal --window-with-profile=white && gnome-terminal --window-with-profile=yellow && gnome-terminal --window-with-profile=ablack    
Run Code Online (Sandbox Code Playgroud)

我试图用这个 cmd 打开一个带有多个选项卡的窗口,但没有成功:

gnome-terminal --window-with-profile=ablack && gnome-terminal --tab-with-profile=agreeen && gnome-terminal --tab-with-profile=aubergine && gnome-terminal --tab-with-profile=beige && gnome-terminal --tab-with-profile=cyan && gnome-terminal --tab-with-profile=grey && gnome-terminal --tab-with-profile=orange && gnome-terminal --tab-with-profile=white && gnome-terminal --tab-with-profile=yellow && gnome-terminal --tab-with-profile=ablack   
Run Code Online (Sandbox Code Playgroud)

如何使它工作?

configuration command-line gnome-terminal tabs 16.04

3
推荐指数
1
解决办法
3337
查看次数