Builder Terminal Annoyance Workaround

If you’re running GNOME Builder with an unpatched vte, you may have noticed the annoying notification control sequence in Builder’s embedded terminal. Christian Hergert told me there’s a vte patch that fixes this, but it hasn’t been merged upstream. He also told me the workaround is to unset PROMPT_COMMAND. I’m too lazy to do this every time I open Builder, so this is what’s now in my .bashrc file:

parent=$(ps -ocommand= -p $PPID | awk -F/ '{print $NF}' | awk '{print $1}')
if [ "x$parent" = "xgnome-builder" ]; then
    unset PROMPT_COMMAND
fi

One thought on “Builder Terminal Annoyance Workaround”

  1. Another workaround: ‘jhbuild uninstall vte’

    (Upstream vte is incompatible with Fedora’s job completed notifications.)

Comments are closed.