Bug#719553: gnome-terminal's --working-directory option does not accept paths that use ~ as reference to the home directory

Johan Mazel johan.mazel at gmail.com
Tue Aug 13 01:29:06 UTC 2013

Package: gnome-terminal
Version: 3.8.3-1
Severity: Normal

The abnormal behavior that I want to report is linked to the
--working-directory option.

Let's say I am the user jmazel whose home directory is /home/jmazel. I have
a directory called Storage in my home directory: /home/jmazel/Storage.

Description of abnormal behavior:
When I open a new terminal with the command "gnome-terminal
--working-directory=~/Storage", the result of pwd in the new terminal is

Description of expected behavior:
I expected the current directory of the new terminal to be

*If I open the new terminal using the --working-directory option with an
absolute path ("/home/jmazel/Storage") or a relative path ("Storage"), the
result of pwd in the new terminal is indeed "/home/jmazel/Storage"
*I think that this problem indirectly causes the commands (from contextual
menu or File->*) and shortcuts "Open in a new tab" and "Open in a new
window" to fail to open their new gnome-terminals in the same path as the
terminal they are launched from. In fact, in my case, the path of every new
terminal launched through any of these methods is invariably /home/jmazel.

uname -a
Linux johan-optiplex990 3.9-1-amd64 #1 SMP Debian 3.9.8-1 x86_64 GNU/Linux

dpkg --status libc6-dev
Package: libc6-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 11581
Maintainer: GNU Libc Maintainers <debian-glibc at lists.debian.org>
Architecture: amd64
Multi-Arch: same
Source: eglibc
Version: 2.17-7
Provides: libc-dev
Depends: libc6 (= 2.17-7), libc-dev-bin (= 2.17-7), linux-libc-dev
Recommends: gcc | c-compiler
Suggests: glibc-doc, manpages-dev
Breaks: binutils (<< 2.20.1-1), binutils-gold (<< 2.20.1-11), cmake (<<
2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2), gcc-4.6 (<<
4.6.0-12), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev
(<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), make (<< 3.81-8.1), pkg-config
(<< 0.26-1)
Conflicts: libc0.1-dev, libc0.3-dev, libc6.1-dev
Description: Embedded GNU C Library: Development Libraries and Header Files
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.
Homepage: http://www.eglibc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130813/91fe0c28/attachment.html>

More information about the pkg-gnome-maintainers mailing list