Set default working directory for new tabs

Bug #1342895 reported by JeffreyEberl
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Terminator
New
Wishlist
Unassigned

Bug Description

When I open a new tab, I'd like it to start from the same place every time. It looks like someone worked hard to get it to keep the cwd when you open a new tab (cool) but not everyone wants that.

I'd like to make it configurable, and if set, then always open with that location.

I don't know gtk well, so I couldn't figure out how to add it to the preferences dialog (I guess it could be another hidden feature). But I can make it happen in the source code.

Also, I'm a git guy, so the patch is in git format. Sorry. It's a simple change, and you can figure it out by looking at it.

Tags: cwd
Revision history for this message
JeffreyEberl (jeffeb3) wrote :
Revision history for this message
JeffreyEberl (jeffeb3) wrote :

Added another patch, this one sets the defaults when the config is saved (pretty important)

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Newer VTE versions (see bug 1030562) modified the behavior, moving the responsibility of setting the current directory to the shell.

Once Terminator updates to use that, it wouldn't need to be a Terminator config option (although could be), but preferably you'd alter /etc/profile.d/vte.sh (or override its effect from your .profile/.bashrc) not to emit the OSC 7 escape sequene.

Changed in terminator:
importance: Undecided → Wishlist
tags: removed: wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.