Bug#970579: libvte-2.91-0: OSC 7 does not work with my hostname

Tobias Bengfort tobias.bengfort at posteo.de
Sat Sep 19 09:13:26 BST 2020


Package: libvte-2.91-0
Version: 0.54.2-2
Severity: important

Dear Maintainer,

OSC 7 seems to be the preferred way to implement preserving the working
directory when opening a new tab[1]. As far as I know this has not been
properly standardized[2]. However, since this package implements both
ends of the protocol (/etc/profile.d/vte-2.91.sh and
vte_terminal_get_current_directory_uri) that should not be an issue.

However, it didn't work for me. I did a bit of debugging and found that
it works fine if I hardcode the hostname in /etc/profile.d/vte-2.91.sh
to "localhost" or "". If I hardcode it to an arbitrary wrong hostname it
still works. Only the correct hostname seems to be an issue.

I temporarily changed my hostname from "2902toc" to "test" and it also
worked. So maybe libvte doesn't like my hostname?

My workaround is to hardcode the hostname in /etc/profile.d/vte-2.91.sh
to "".

[1]: https://bugzilla.xfce.org/show_bug.cgi?id=13902
[2]: https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/7


-- System Information:
Debian Release: 10.5
  APT prefers stable
  APT policy: (800, 'stable'), (600, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-10-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libvte-2.91-0 depends on:
ii  libatk1.0-0          2.30.0-2
ii  libc6                2.28-10
ii  libcairo2            1.16.0-4
ii  libglib2.0-0         2.58.3-2+deb10u2
ii  libgnutls30          3.6.7-4+deb10u5
ii  libgtk-3-0           3.24.5-1
ii  libpango-1.0-0       1.42.4-8~deb10u1
ii  libpangocairo-1.0-0  1.42.4-8~deb10u1
ii  libpcre2-8-0         10.32-5
ii  libstdc++6           8.3.0-6
ii  libvte-2.91-common   0.62.0-1
ii  zlib1g               1:1.2.11.dfsg-1

libvte-2.91-0 recommends no packages.

libvte-2.91-0 suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list