Comment 10 for bug 1132700

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote : Re: gnome-terminal >= 3.7 requires sourcing of vte.sh login script -- go back to reading /proc/pid/cwd

Sorry, I missed the fact that you're not a random single user, but Ubuntu's developer finally updating gnome-terminal. I'm grateful you're doing it and supportive of your work!

You *don't* need to modify any user's existing settings!

You need/should modify some global files under /etc, such as profile, bashrc and/or zshrc. You can figure it out. The simplest approach is as simple as three lines in /etc/bash.bashrc sourcing vte.sh (conditionally to the existance of the file, of course), and something similar for zsh. (It's a bit tricky because it's already sourced by profile.d, but since terminals bring up non-login shells you need to source it from bash.bashrc instead, or from both which should be harmless.) Each distro does this whole business of profile/bashrc/etc. differently so vte can't offer an out-of-the-box solution, but it should be very easy to accomodate it to Ubuntu's setup.

I myself as a vte/gnome-terminal developer and Ubuntu user, I strongly discourage you from deviating from mainstream gnome-terminal and reverting to an older approach. It's technically inferior, obsolete, will cause significant maintenance cost, give users a worse experience, and you'll not have support from mainstream developers.

Please accept mainstream gnome-terminal's decision, and tailor it to Ubuntu's needs. Feel free to move vte.sh to a different directory (like /etc/bashrc.d or so), feel free to customize it, feel free to remove setting the window title (I myself hate that and remove this part for myself), feel free to reimplement it from scratch, whatever. But please do keep this architecture!

I cannot / don't want to join an IRC channel, I'd be grateful if all discussions happened here, publicly visibly. I'd be happy to see Ubuntu move forward rather than backward, accomodating new technologies rather than reverting them.