Name a Byobu session?

Posted by Ashimema on Ask Ubuntu See other posts from Ask Ubuntu or by Ashimema
Published on 2012-10-04T09:22:55Z Indexed on 2012/10/04 15:53 UTC
Read the original article Hit count: 461

Filed under:
|
|

Is there a way to create identifiable Byobu sessions so that when I've got multiple sessions running, the byobu-select-session menu gives me a list of sessions I can recognize, as opposed to non-descript tmux port numbers?

In an ideal world, it would be great to be able to both start a session giving it a name and to modify such a session to change a name if it's already running? Is this possible, how?

Edit 1: Some further details:

  • I'm using tmux as the backend and don't especially want to switch back to screen.
  • I've now tried starting a session with byobu -S "Name" to no avail :-(

Edit 2: Some discoveries:

  • I've now discovered a partial answer in using tmux native commands: tmux rename-session <current-name> <new-name> renames an existing session and tmux new -s session_name creates a new names session. I'm surprised byobu -S "name" isn't liked to tmux new -s session_name for byobu with a tmux backend.

© Ask Ubuntu or respective owner

Related posts about byobu

Related posts about tmux