Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When using screen tab title and window title does not change #698

Open
Overtorment opened this issue Dec 26, 2022 · 2 comments
Open

When using screen tab title and window title does not change #698

Overtorment opened this issue Dec 26, 2022 · 2 comments

Comments

@Overtorment
Copy link

What Happened?

Typically using screen on my localhost and on all servers.
Nor tab title not window title doesnt change when using screen on localhost or on any servers (using mosh btw, not ssh)

Steps to Reproduce

run screen .
see screenshot:

image

Expected Behavior

tab title & window title to resemble whats going on in a tab in screen. or at least show a hostname where its happening (if possible with mosh)

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@Marukesu
Copy link
Contributor

elementary terminal uses VTE, that by itself, uses XTerm Title Escape Sequence to change the window title. The Arch Linux wiki has some instructions to set it using screen.

The tab title is always the current running directory of the shell.

@Overtorment
Copy link
Author

thanks for the link! i was able to make window title change with the following .screenrc config lines:


backtick 1 5 5 true
termcapinfo rxvt* 'hs:ts=\E]2;:fs=\007:ds=\E]2;\007'
hardstatus string "%H (%n: %t)"
caption string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%d/%m/%Y %{W}%c%{g}]'
caption always

unfortunately, tab title always stays the directory name prior to running screen

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants