Starting byobu with a config file, but getting all the byobu niceties, too?
Okay, there's a couple of ways you can do this...
- You can put your customizations in
~/.byoburc
, which is sourced last - You can set an environment variable,
BYOBU_WINDOWS=/path/to/a/config
, and then run byobu. Many people use this to start different byobu sessions with different windows open at launch. For more information here, see theWINDOWS
section of the manpage at: http://manpg.es/byobu.1
Related videos on Youtube
0xC0000022L
human father bibliophile geek & ~nerd misanthropic philanthropist skeptic code necromancer programmer reverse engineer (RCE) / software archaeologist / grayhat hacker moderator on reverseengineering system administrator FLOSS enthusiast Debian, FreeBSD and Ubuntu aficionado
Updated on September 18, 2022Comments
-
0xC0000022L almost 2 years
When one starts
byobu
by saying:byobu -c myconfig
unfortunately the whole session looks like a bare bone
screen
session. How can I get the full-fledgedbyobu
interface with the status bar and "tabs" for the windows in the session, while at the same time startingbyobu
with a custom configuration file?Please note: this is not about configuring what's in
$HOME/.byobu
because the contents of that are independent from what I want to achieve - which is special purpose (thus the extra configuration file).Edit: the only "crutch" I've found so far is to interactively enter the screen command:
:source /full/path/to/myconfig
... in order to "source" (similar to how it's done in Bash and other shells) the configuration.
-
0xC0000022L over 12 yearsWhoa, an answer from the developer himself. Cool. Thanks for the concise advice.
-
Ryan over 5 years@0xC0000022L Hi trying to resolve a copy paste issue in byobu, i am not able to copy and paste text using my mouse, anything i can do to enable that?