I just tried this and it seems to work well. Paraphrased from here:
http://ubuntuforums.org/showpost.php...19&postcount=3
"Re: GNU screen in startup screen: multiple commands
I think the OP wanted to run a single screen program with multiple internal "screens", each running a different program.
Here's one way to do it. screen(1) has a "-c" option to provide a startup file instead of $HOME/.screenrc. And that startup file can start new internal screens.
Example input file:"
Code:
# Screen startup file to start multiple commands under multiple screens.
# Start with "screen -c thisfilename"
# Screen 0: Start 'top'
# Screen 1: Start 'tail -F /var/log/syslog'
screen -t top 0 top
screen -t syslog 1 tail -F /var/log/syslog
"Save the above to a file, say "fancy.screenrc". Then start screen with:
Code:"
Code:
screen -c fancy.screenrc
I added elinks in my own iteration and it works like a charm on 12.04. I am still trying to learn a little command line and I've been switching between screen, tmux, and byobu. Byobu seems to be a little more user friendly.