So I have a setup with guake, byobu and tmux as backend. I want to have different folders already open in my console for work projects and these projects in individual sessions
I get the following message when I try to
tmux new -s contract-service
or
byobu -S my-other-session
sessions should be nested with care, unset $TMUX to force
of course, because it already has the session open and I am typing it in it.
So my question is, how do I write a bash script the byobu shortcut Ctrl+Shift+F2 because this is exactly what I want.
This works for me now:
xdotool key --clearmodifiers ctrl+shift+F2
tmux rename-session $SESSION
tmux new-session -d -s nameduplicate of Create new tmux session from inside a tmux session
Finally found it, was looking for this forever.