Byobu / Tmux / Screen

Shortcuts

Function keys work by default only in byobu.

ctrl-a cF2create new window
ctrl-a pF3previous window
ctrl-a nF4next window
ctrl-a ctrl-aprevious window
F5refresh all status notifications
ctrl-a dF6detach from session / leave
ctrl-a [F7scrollback / search mode
ctrl-a AF8rename current window

Tell byobu to not set the terminal window title

export BYOBU_NO_TITLE=1

Set the title of your terminal window by running

echo -ne "\033]0;${HOSTNAME%%.*}\007"

This will set your terminal title to the hostname your are on (without domain part). Add this to your $PROMPT_COMMAND to set it automatically with every command you run.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.