gnome-terminal: Set working directory for other tabs?
Brought to you by:
grantm
Ubuntu Maverick, default desktop environment...
When I open a SSH connection from the SSHMenu panel applet, it connects fine. If I hit ctrl+shift+t to create a new (non-ssh) tab in the same window, the working directory of the tab is /, instead of /home/me where my normal terminal windows & tabs start at.
I think this is because, while the gnome-panel process has it's cwd (via /proc/PID/cwd) as /home/me, the sshmenu-applet process has it's cwd as /.
In fact, looking further, most applets seem to have / as its cwd (except for network, bluetooth & printer... no idea why).
I'm guessing either using --working-directory=$HOME when launching gnome-terminal or setting the cwd of the applet to HOME might do it?