I have several profile for terminal. I can open all profiles on boot but they open in different windows with this cmd in startup applications:
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
I tried to open one window with several tabs with this cmd without success:
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
How to make it work?
gnome-terminal --window-with-profile=ablack --tab-with-profile=agreen && 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
and it worked on reboot. – mamesaye Sep 05 '17 at 16:25gnome-terminal
command with multiple--tab-with-profile
(or--tab
and--profile
) options. – egmont Sep 05 '17 at 16:53gnome-terminal
command, even when--tab
is used, opens a new window because it has no way of knowing which existing window you want the new tab to appear in. Only if you have multiple--tab
options then they open tabs in the same new window. – egmont Sep 05 '17 at 16:55