! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
enable configuration of a new tab working directory
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-terminal
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2008-02-28 13:43:45 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.0.12) Gecko/20070718 Fedora/1.5.0.12-4.fc6 Epiphany/2.16 Firefox/1.5.0.12
Build Identifier: 

A Debian user requested [0] to be able to configure the behavior for the CWD when opening a new tab/window. Currently the CWD is the same as the tab were the user was when opening a new tab/window.

Cheers,

--
Yves-Alexis

[0]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393917

Reproducible: Always
Comment 1 Nick Schermer editbugs 2009-12-07 17:06:16 CET
*** Bug 5860 has been marked as a duplicate of this bug. ***
Comment 2 Nick Schermer editbugs 2009-12-07 17:19:47 CET
What to do with this, I could make it a hidden option, that that might be as easy/hard as modifying your .bashrc or .bash_profile...
Comment 3 Daniel Wilkins 2014-02-16 05:15:53 CET
Created attachment 5361 
patch to enable this functionality

This gives the behavior wanted. If you select "Force directory" under advanced you can set the directory to force it to (defaults to home)
Comment 4 Daniel Wilkins 2014-02-16 05:48:26 CET
I'm actually working on a safer version right now which uses the directory chooser dialog. should be up in a few minutes.
Comment 5 Daniel Wilkins 2014-02-16 06:14:25 CET
Maybe tomorrow, having some issues figuring out how all of the triggers and things work. Also these threads need edit.
Comment 6 Igor editbugs 2016-08-16 13:20:56 CEST
Fixed by https://git.xfce.org/apps/xfce4-terminal/commit/?id=a3a50b04820f330a6641142c0d5a03966c246e01

Add hidden option MiscDefaultWorkingDir affecting new tabs and windows.
If the option is set (non-empty value), new tabs and windows will use the dir specified as their working dir. Otherwise, the behavior remains as is (current dir will be used).

Bug #3891

Reported by:
Yves-Alexis Perez
Reported on: 2008-02-28
Last modified on: 2016-08-16
Duplicates (1):
  • 5860 An Option to choose where news tabs open would be nice

People

CC List:
5 users

Version

Attachments

patch to enable this functionality (38.51 KB, patch)
2014-02-16 05:15 CET , Daniel Wilkins
no flags

Additional information