13

I'm using Lubuntu 13.10, and I want to load byobu automatically when I open terminal.

I found byobu very flexible and reliable tool and want to use every time when I have to use terminal.

I couldn't find this solution or something similar to this at man pages...

Any suggestions?

13

I think what you want is to launch the Byobu desktop application. You can find that in the Ubuntu application launcher, by simply typing Byobu. You can lock it to the launcher, and the icon will always stay there, on the left.

Alternatively, most Linux terminals can be set to run a particular command or application at launch.

For instance, in Gnome Terminal, simply click Edit -> Profile Preferences, select the Title and Command tab, check the Run a custom command instead of my shell box, and enter /usr/bin/byobu.

Gnome Terminal preferences

Full disclosure: I am the author and maintainer of Byobu.

  • I'm using Lubuntu 13.10 - with LXTerminal. It doesn't have this configuration. Does exist some way to achieve this goal on Lubuntu? – nazar_art Feb 5 '14 at 9:11
  • sudo apt-get install gnome-terminal – Dustin Kirkland Feb 5 '14 at 12:31
  • It works fine, however is there a way to not have the log message printed every time a terminal is opened ? – Coconop Oct 6 '15 at 13:01
  • Dear Dustin, Is there a way to start the terminal WITHOUT the welcome-message with the annoying "Press <enter> to continue..." message? – ExploWare Mar 7 '16 at 23:52
  • I don't know what enter to continue message you're talking about. – Dustin Kirkland Mar 8 '16 at 13:54
12

You can use the byobu-enable command. See the related man page. To reverse the change, use byobu-disable.

byobu-enable places a line at the end of ~/.profile. This means it only takes effect for login shells, i.e. via SSH or the VTs. If you're using LXTerminal, it may work if you move that line to ~/.bashrc instead.

  • 1
    I tried this - but after reopening terminal, I need to type byobu for it starting again – nazar_art Feb 4 '14 at 20:19
  • Revised my answer with more details. – yjwong Feb 4 '14 at 20:24
  • It really uses - LXTerminal. It places - _byobu_sourced=1 . /usr/bin/byobu-launch at the end of .profile. What exactly should enter to turn it? – nazar_art Feb 4 '14 at 20:31
  • You could configure your gnome-terminal to run as a login-shell, and then this solution will work. – jgomo3 Sep 2 '17 at 17:41

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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