Setting Default Byobu screens

sheepeatingtaz

I've just installed Quantal as a fresh install, and want to set up Byobu as it was on my old system. In a previous version of byobu there was an option in byobu-config (via the F9 key) to create new windows which had a checkbox option to select if it was a startup option. The whole 'create new window' section of byobu-config is not there anymore!

I've tried adding the details of the windows I want to ~/.byobu/windows (below) but this has had no effect.

screen -t localhost bash
screen -t staging ssh dt123
screen -t fsuk1 ssh fs
screen -t php php -a
screen -t python bpython
Default

As @Jorge Castro mentioned in a comment, the reason your ~/.byobu/windows configuration isn't working is because byobu is now based on tmux (the "Terminal Multiplexer"). As mentioned by @Hai Vu, there is a workaround that allows you to use screen as byobu's backend, but it isn't overly complicated to switch to tmux.

You'll want to edit the .tmux.conf file located in your user's .byobu folder (~/.byobu/.tmux.conf). Here you will want to write commands to construct your terminal windows using the commands found in the tmux manual. Here is a simple example that can help get you started:

new-window -ad -n Git
new-window -ad -n "Project Build/Run"
new-window -ad -n PostgreSQL

Here I have inserted three commands into the .tmux.conf file. As defined by the manual:

The configuration file is a set of tmux commands which are executed in sequence when the server is first started.

So in this case, when you start Byobu, you should see three pre-created windows with the titles "Git", "Projected Build/Run", and "PostgreSQL" (from left to right). Hope this helps.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

What stats are listed at the bottom of a default byobu session?

분류에서Dev

What stats are listed at the bottom of a default byobu session?

분류에서Dev

What stats are listed at the bottom of a default byobu session?

분류에서Dev

Setting a default umask permanently

분류에서Dev

Bash optional parameters and setting to default

분류에서Dev

What is the default setting for SVM in weka?

분류에서Dev

Setting default as local variable in model results in undefined

분류에서Dev

PyQt file browsing - setting a default option?

분류에서Dev

Is there a setting/extension to default tabs to muted in Chrome?

분류에서Dev

Setting default application for filetypes via CLI?

분류에서Dev

Setting default value of field in model to another model instance

분류에서Dev

Setting {WSL::Bash} as default shell throws an error in cmder

분류에서Dev

Setting a default popup from the URL in a modestmaps/mapbox wax map

분류에서Dev

Why is Compass/Scss setting list-style: none by default?

분류에서Dev

How can I explicitly use the default viewport setting of the client in HTML?

분류에서Dev

Setting placeholder text for the default blank option created in an angular dropdowns?

분류에서Dev

Setting Default value of input textbox in Jquery EasyUI dialog

분류에서Dev

setting default values for dropdown with optiongroup using Jquery select2

분류에서Dev

Restore shopt -s nocaseglob setting to default in OS X

분류에서Dev

Can't start Byobu?

분류에서Dev

`byobu` window with`sudo su -`

분류에서Dev

What is the difference between the default disposition for SIGCHLD and explicitly setting the disposition to SIG_IGN?

분류에서Dev

The colour silver (and computer screens)

분류에서Dev

outlook settings for small screens

분류에서Dev

byobu : "cannot exec new no such file or directory"

분류에서Dev

byobu: "cannot exec new no such file or directory"

분류에서Dev

byobu: "cannot exec new no such file or directory"

분류에서Dev

기본 Byobu 화면 설정

분류에서Dev

Auto opening my dev environment with byobu and tmux

Related 관련 기사

  1. 1

    What stats are listed at the bottom of a default byobu session?

  2. 2

    What stats are listed at the bottom of a default byobu session?

  3. 3

    What stats are listed at the bottom of a default byobu session?

  4. 4

    Setting a default umask permanently

  5. 5

    Bash optional parameters and setting to default

  6. 6

    What is the default setting for SVM in weka?

  7. 7

    Setting default as local variable in model results in undefined

  8. 8

    PyQt file browsing - setting a default option?

  9. 9

    Is there a setting/extension to default tabs to muted in Chrome?

  10. 10

    Setting default application for filetypes via CLI?

  11. 11

    Setting default value of field in model to another model instance

  12. 12

    Setting {WSL::Bash} as default shell throws an error in cmder

  13. 13

    Setting a default popup from the URL in a modestmaps/mapbox wax map

  14. 14

    Why is Compass/Scss setting list-style: none by default?

  15. 15

    How can I explicitly use the default viewport setting of the client in HTML?

  16. 16

    Setting placeholder text for the default blank option created in an angular dropdowns?

  17. 17

    Setting Default value of input textbox in Jquery EasyUI dialog

  18. 18

    setting default values for dropdown with optiongroup using Jquery select2

  19. 19

    Restore shopt -s nocaseglob setting to default in OS X

  20. 20

    Can't start Byobu?

  21. 21

    `byobu` window with`sudo su -`

  22. 22

    What is the difference between the default disposition for SIGCHLD and explicitly setting the disposition to SIG_IGN?

  23. 23

    The colour silver (and computer screens)

  24. 24

    outlook settings for small screens

  25. 25

    byobu : "cannot exec new no such file or directory"

  26. 26

    byobu: "cannot exec new no such file or directory"

  27. 27

    byobu: "cannot exec new no such file or directory"

  28. 28

    기본 Byobu 화면 설정

  29. 29

    Auto opening my dev environment with byobu and tmux

뜨겁다태그

보관