tilix
tilix copied to clipboard
Unable to create new session with split terminal
tilix -a app-new-session -x "tilix -a session-add-right"
Expected behavior: Tilix opens a new session The new session adds a terminal to the right resulting in an additional terminal (split vertically).
Resulting behavior: Tilix opens a new session The new session (appears to) adds a terminal to the right. The session terminates.
End result goal I was attempting was a workspace launching script where I could prepare a workspace. Attempted command is below: tilix -a app-new-session -x "tilix -a session-add-right; ssh HOSTNAME -t "cd /path/to/workspace; bash --login"" The following works as expected: tilix -a app-new-session -x "ssh HOSTNAME -t "cd /path/to/workspace; bash --login""
I was hoping to find more "terminal navigation" commands to automate creating/scripting multiple terminals or sessions from the initial launch script.
The -x
option tells Tilix to execute the specified command instead of your shell. Once that command finishes (and tilix -a session-add-right
finishes quickly), the terminal is destroyed.
Try simply:
tilix -a app-new-session && tilix -a session-add-right -x "ssh ..."
— seems to work for me.