Screen



Installation

 

# Install $ sudo apt install screen # Configure with bash echo defshell -bash > ~/.screenrc

Shortcuts

  • Ctrl-a S : split screen horizontally

  • Ctrl-a tab: switch to other screen

  • Ctrl-a c: start a shell in the other screen

Screen Configurations

Dual Screen

Create a file, e.g. ./dualscreenrc

shell -bash startup_message off defscrollback 10000 mousetrack on split screen -t workspace -s bash focus down screen -t runtime -s bash focus up # Show all key bindings # bindkey -d # F1 to move up bindkey -k k1 focus up # F2 to move down bindkey -k k2 focus down

Then call it on startup:

$ screen -c ./dualscreenrc