Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Any idea why the desktop launcher "gnome-terminal -x byobu" doesn't read my ~/.byobu/windows.ssh_sessions?

Here's my ~/.byobu/windows.ssh_sessions file I use with byobu successfully:

screen -t Ubu-MySQL ssh master@
screen -t Ubu-alfresco ssh master@
screen -t Ubu-Master ssh master@
screen -t Ubu-zimbra ssh master@
screen -t Ubu-SugarCRM ssh master@
screen -t Ubu-eFront ssh master@

and here's the variable entry from my .bashrc:

export BYOBU_WINDOWS=/home/jj/.byobu/windows.ssh_sessions byobu

I tried it in .profile also, no love.

Thanks for your time.

share|improve this question
Hrm.. Fixed. I ran byobu-launcher and setup some new windows. Then made a .sh script with byobu-launcher in it. chmod 700 (and a she-bang! of course)scr – Habitual Dec 12 '10 at 3:43
"gnome-terminal -x /home/jj/bin/" is the launcher property – Habitual Dec 12 '10 at 3:50
up vote 2 down vote accepted

I believe that you're supposed to start byobu by running byobu-launcher, which handles all the setup details and config files.

Edit: You are setting an environment variable in .bashrc, which means it will only be set in bash. Running byobu directly from gnome-terminal means that bash is not involved. Putting the environment variable in .profile should make it session-wide, but you would have to log out and back in for it to take effect.

share|improve this answer
Thanks for the clue, but neither "gnome-terminal -x byobu-launcher" or just "byobu-launcher" from the desktop icon is reading the windows.ssh_sessions file. I even tried "gnome-terminal -x byobu-launcher -c ~/.byobu/windows.ssh_sessions". No love. Thanks. – Habitual Dec 12 '10 at 3:23
Thanks Ryan, +1 for the clue. Exact instructions are at – Habitual Dec 12 '10 at 4:13

You're almost there, with the answer nearly in your own question!

All you need is:

export BYOBU_WINDOWS=ssh_sessions byobu
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.