I just tried switching from xfce4-terminal to gnome-terminal, only to discover that new tabs spawned via Ctrl+Shift+T (or File->New Tab) in the latter fail to inherit my session's $SSH_AUTH_SOCK or $SSH_AGENT_PID.
The second-best workaround is indeed to only spawn new tabs via "gnome- terminal --tab", but that's a bit unwieldy and it's not quite the same (the new tab inherits the environment of the shell running that command, which may have changed from the session environment), so I'm afraid the best workaround was to switch back to xfce4-terminal... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1058515 Title: inheriting environmental variables when creating new terminal window or tab Status in gnome-terminal package in Ubuntu: Confirmed Bug description: If I create new terminal using gnome-terminal command (in terminal), it inherits environmental variables from the old terminal as any other application does. But if I create new terminal using Open Tab or Open Terminal, I get a fresh terminal. This is sometimes what I want but sometimes not. I miss the possibility to copy environmental variables from the old terminal to the new one. Option in preferences would be ok. But some way to switch the behaviour quickly would be better. For user there is no difference between the new window/tab and gnome- terminal command. Only the inheriting of environmental variables. I also noticed that there is no option to preset environmental variables for the terminal. Some combination of Profiles and .bashrc file. However this is a different bug but probably connected, so that why I'm mentioning it. Ubuntu 10.04, GNOME Terminal 2.30.2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1058515/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp