Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#65774 - [gnome-terminal] new instances open in root folder `/`, `--working-directory` option does not work

Attached to Project: Arch Linux
Opened by Iago-lito (iago-lito) - Tuesday, 10 March 2020, 19:59 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 10 March 2020, 21:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Redirected here from [upstream](

After recent upgrade to 3.36, the command

iago-lito@etak:~$ gnome-terminal -- bash

used to open a new instance of gnome terminal in working directory `~`. Now, the prompt is located at `/` instead. Even if I

iago-lito@etak:~$ gnome-terminal --working-directory=/home/iago-lito -- bash

I get a new window opened as


just like the current or requested working directory were ignored. This is not specific to `bash`, since it also occurs with `python`, `tmux`, and even a simple program doing `pwd > /home/iago-lito/where_has_it_opened` reveals that the new gnome-terminal always opens under directory `/`.

Is this an expected change? If yes, how to work around it? If not, how to fix it?

Here is more information that may be useful:
$ gnome-shell --version
GNOME Shell 3.36.0

$ gnome-terminal --version
# GNOME Terminal using VTE 0.60.0 +BIDI +GNUTLS +ICU +SYSTEMD

$ uname -a
Linux etak 5.5.8-arch1-1 #1 SMP PREEMPT Fri, 06 Mar 2020 00:57:33 +0000 x86_64 GNU/Linux

Thank you for support :)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 10 March 2020, 21:20 GMT
Reason for closing:  Fixed
Additional comments about closing:
Comment by Jan Alexander Steffens (heftig) - Tuesday, 10 March 2020, 20:38 GMT
It's a feature:

You can control the "preserve working directory" setting for each profile in the preferences.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 10 March 2020, 20:42 GMT
It's strange that it chooses "/" as the fallback directory, though. It should be ~.