Menu

#7 gnome-terminal: Set working directory for other tabs?

open
nobody
None
5
2010-12-23
2010-12-23
Robert Coup
No

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?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.