Screen Profiles byobu Adding Bling To GnuScreen Presented by: Chuck Frain Ubuntu Maryland Loco Team To CALUG May 13, 2009
Copyright Notice Copyright (c) 2009 Chuck Frain. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back- Cover Texts.
Overview ● What is gnu screen? ● What is byobu? ● How do they work together?
What is gnu screen? ● A window manager for the command line ● Provides multiple terminals in a single session ● Offers Persistence ● Sessions are shareable ● Powerful but tricky to take advantage of its power ● man page is 2852 lines long
Gnu Screen (screen -R)
A Split-Screen Gnu Screen Session
Gnu Screen Help
What is Byobu? ● Previously called screen-profiles ● Think Compiz for the command line window manager that is gnu screen ● Offers user friendly menus and visual cues ● Enhances existing gnu screen functionality ● Exposes options in gnu screen that are often overlooked
What Byobu Does For You ● Byobu creates a gnu screen profile from a menu of choices ● To get this gnu screen session...
What Byobu Does For You ● Byobu creates a gnu screen profile from a menu of choices ● To get this gnu screen session... ● You need to create a.screenrc like this: caption always "%{kW}%?%-Lw%?%{bw}%n*%f %t%?(%u)%?%{kW}%?%+Lw%? %= %{= Wk}%110`%109`%122`%111`" hardstatus string '%99`%{= Wk} %100`%112`%= %102`%101`%114`%115`%108`%113`%119`%117`%118`%116`%10 6`%104`%103`%105`%107`%123`%124`%120`%121`'
Byobu Configuration Menu
Byobu Help
Byobu Configuration Menu
Byobu Toggle Status Notification
Byobu Configuration Menu
Byobu Create New Windows
Byobu Configuration Menu
Byobu Manage Default Windows
Byobu Configuration Menu Screen By Default
Split Screen With Byobu
Byobu-export Feature ● Allows you to easily export your Byobu created gnu screen profiles to other machines without byobu installed ● Works for machines that you are not an admin on ● Creates a /tmp/byobu.??????.tar.gz file to copy to and extract on the foreign machine
Super Secret New Feature: C-a $ ● Unless of course you read the help screens... ● The 'C-a $' combination invokes the byobu- status-detail command to give detailed information on all your byobu status scripts ● This is a new feature in 2.0 and is actively being developed and will likely change somewhat from today's demo
More Resources ● The project website ● The project IRC channel irc://irc.freenode.net/#byobu ● Obtaining the source code bzr branch lp:byobu ● The PPA (for Ubuntu packages) ● Dustin Kirkland's Blog (For Project Announcements)
Thanks For Your Time ● Comments? ● Questions? ● More Demos?