2

I normally launch byobu as a custom command in my gnome terminal profile preferences:

enter image description here

In this way it shows the information like this:

enter image description here

But I would like to display the current path in the terminal's title bar as gnome terminal would if byobu was not launched:

enter image description here

terdon
  • 100,812
Andrea Borga
  • 1,050
  • You mean display the path on the terminal's top bar? Your second image doesn't make sense: you are showing a file, not a path to a directory. – terdon Jun 23 '17 at 09:44
  • @terdon yes, I mean the path on the terminal's top bar. ~/.byobu is a folder... – Andrea Borga Jun 23 '17 at 10:09
  • Argh, sorry, I thought it was byobu's configuration file. OK, but in your second image, byobu isn't running, I don't see the status bar, so it can't be showing what happens if you launch byobu manually. – terdon Jun 23 '17 at 10:10
  • lol @terdon the OP wants the path to show in the title bar while byobu is running – Fuseteam Feb 17 '21 at 18:28
  • it appears to be difficult to customize the gnome-terminal title bar as is: https://askubuntu.com/questions/22413/how-to-change-gnome-terminal-title – Fuseteam Feb 17 '21 at 18:50

1 Answers1

0

i was looking how to launch gnome-terminal directly into byobu and funny enough your question answered my question. so I did some research into your question and it appears that byobu is setting the title of the terminal and that is actually not configurable even without byobu i also keep reading about BYOBU_NO_TITLE=1 fixing it but I cannot figure where it is supposed to be set..... i have tried /usr/share/byobu/profiles/bashrc and /usr/share/byobu/profiles/byoburc` no luck

what did work is setting the following ~/.byobu/.tmux.conf

set -g set-titles on
set -g set-titles-string "#(pwd)"
Fuseteam
  • 383