Guix System's PS1 does not set the terminal title

  • Open
  • quality assurance status badge
Details
One participant
  • Maxim Cournoyer
Owner
unassigned
Submitted by
Maxim Cournoyer
Severity
normal
M
M
Maxim Cournoyer wrote on 9 Feb 2023 19:38
(name . bug-guix)(address . bug-guix@gnu.org)
87wn4qfzv4.fsf@gmail.com
Hi,

The tabs in GNOME's Console (kgx command) are blanks (no names). This
appears to be due to not having a title set via an ANSI escape in our
default prompt (PS1 environment variable).

We should look at what Fedora is using and extend our PS1 with it.

To confirm that it works, type the following in Console:

Toggle snippet (3 lines)
echo -e "\033]0;[title]\07"

And you'll see the tab becomes named "[title]".

--
Thanks,
Maxim
?