This is a short description of my tmux and powerline setup used for presentations with terminal mirroring. I used this for the first time at Spring I/O 2018.
I run my presentations on Debian GNU/Linux Stretch with zsh and tmux with a extended screen setup with these packages:
sudo apt install zsh tmux powerline
sudo chsh -s /usr/bin/zsh demouser
add the following to the end of ~demouser/.zshrc
:
powerline-daemon -q
source /usr/share/powerline/bindings/zsh/powerline.zsh
add the following to ~demouser/.tmux.conf
:
source "/usr/share/powerline/bindings/tmux/powerline.conf"
Login as demouser open a terminal and run:
tmux new-session -c ~/projects/demodir -s demo zsh
Open another terminal window (Ctrl+Shift+T in GNOME Terminal) and attach to the same tmux session:
tmux attach-session -t demo
move the terminal to the demo screen / projector and adapt font size to be readable by the audience.