Bug 1315223 - vte-profile messing up tilda and xterm
vte-profile messing up tilda and xterm
Product: Fedora
Classification: Fedora
Component: vte291 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Kalev Lember
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2016-03-07 04:44 EST by Valent Turkovic
Modified: 2016-12-20 14:16 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-12-20 14:16:47 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screenshot (6.42 KB, image/png)
2016-03-07 04:44 EST, Valent Turkovic
no flags Details

  None (edit)
Description Valent Turkovic 2016-03-07 04:44:08 EST
Created attachment 1133704 [details]

Description of problem:
Strange prompt, killing my productivity on Fedora

Version-Release number of selected component (if applicable):

How reproducible:
100% after installing tilda or xterm terminals

Steps to Reproduce:
1. install tilda or xterm
2. start tilda or xterm

Actual results:

Expected results:
to have clean prompt

Additional info:
It looks like part of /etc/profile.d/vte.sh is at fault:

line 57:
printf "\033]777;notify;Command completed;%s\007\033]0;%s@%s:%s\007%s" "${command}" "${USER}" "${HOSTNAME%%.*}" "${pwd}" "$(__vte_osc7)"

After I commented out line 57 I got clean prompt back.
Comment 1 Christian Persch (GNOME) 2016-03-07 07:31:42 EST
vte.sh is a no-op in xterm unless somehow VTE_VERSION env variable gets into your xterm; you should check where that comes from.

Likely your tilda is running not against vte2.91 but the older vte3 which doesn't know this OSC sequence. That part looks to be a bug in the fedora patch to vte.sh, they should check the corresponding VTE_VERSION before adding this OSC to the PROMPT_COMMAND.
Comment 2 Egmont Koblinger 2016-03-07 11:56:41 EST
(In reply to Christian Persch (GNOME) from comment #1)
> That part looks to be a bug in the fedora
> patch to vte.sh, they should check the corresponding VTE_VERSION before
> adding this OSC to the PROMPT_COMMAND.

(Which I pointed out at https://bugzilla.gnome.org/show_bug.cgi?id=711059#c36, yet they ignored. :-( )
Comment 3 Egmont Koblinger 2016-03-07 12:01:26 EST
Also note that tilda uses vte2.90 in Rawhide. Fedora should upgrade to a newer version which relies on vte2.91.

By the way, Ubuntu and Debian managed to get rid of vte library version 2.90 (a.k.a. tarball version up to 0.36), move all the packages relying on this to vte library version 2.91 (a.k.a. tarball version 0.38+). Fedora should do the same.
Comment 4 Egmont Koblinger 2016-03-07 12:10:08 EST
Filed bug 1315425.
Comment 5 Kevin Fenzi 2016-03-08 15:29:37 EST
This script is owned by the vte291 package... moving to that component.
Comment 6 Fedora End Of Life 2016-11-24 10:57:34 EST
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.
Comment 7 Fedora End Of Life 2016-12-20 14:16:47 EST
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.