Start a GNU screen window in the background/without focus

gnu-screen

The following command screen -t 'fubar' cmd will create a new screen window with the command cmd running in it and will set the focus to this window.

How can I keep the focus in the current screen window, not the new one?

Best Answer

I'm not sure that you can do it in one go, here is a workaround:

screen -t 'fubar' cmd & sleep .01; screen -X other
Related Question