In screen, you can press ctrl+a c
to create new terminal inside the same screen session. Now I have to automate this activity and do the same from my bash script:
dbus-launch screen
finch
ctrl+a c <--------- HOW TO CHANGE THAT LINE?
python myscript
Any hints?
You should add the session tag when you first create the screen session.
Example: