Opening a new tab changes environment

Bug #1946130 reported by Goyo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce

1. Open the file manager
2. Right click -> Open in Terminal
3. In the terminal type "echo $USER", then press enter. The user name is printed in the line below.
5. Right click in the terminal, select New Tab.
6. In the terminal type "echo $USER", then press enter. An empty line is printed.

Expected result: in step 6 the user name should be printed.

There are many other environment variables affected. As a result many programs can't be executed or don't behave properly in the second tab.

When the terminal is launched from the dash, new tabs work as expected. Only terminals launched from nautilus are affected. I tried to file this against nautilus-extension-gnome-terminal but launchpad tells me the package does not exist.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-terminal 3.38.1-1ubuntu1
ProcVersionSignature: Ubuntu 5.13.0-16.16-generic 5.13.13
Uname: Linux 5.13.0-16-generic x86_64
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Oct 5 19:31:06 2021
InstallationDate: Installed on 2020-05-05 (518 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Goyo (goyodiaz) wrote :
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.