I set up byobu auto run with the command byobu-enable. It's great when I log in from terminal or ssh, but how can I make xterm attach to it automatically ? (mate-terminal from Linux mint especially)
|
feedback
|
|
There's two ways of doing this, actually.
| |||
|
feedback
|
|
To do this with mate-terminal specifically you'll want to:
Depending on the program (I don't know byobu) it may or may not exit immediately. If it does, I forget exactly how to fix it, but essentially you need to make a script that runs byobu instead, then runs bash, and have mate-terminal run that script instead. If you Google for something like "gnome-terminal profile run custom command exit" you should find more details. Hope that helps. * Edit * I said "mate-terminal specifically" because mate-terminal has slightly different command line arguments than its predecessor (gnome-terminal). However, for any non-MATE users reading this, the same answer applies, you just need to do "man your-terminal" or "your-terminal --help" to find out the equivalent of "--profile" to use. | |||
|
feedback
|