Bug 187440 - Opens terminal always in $HOME
Summary: Opens terminal always in $HOME
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus-open-terminal
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul W. Frields
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-30 22:06 UTC by Gérard Milmeister
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-14 19:46:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gérard Milmeister 2006-03-30 22:06:00 UTC
The gnome terminal opens, but always in $HOME, and
not the directory, where the action has been
invoked.

Comment 1 Paul W. Frields 2006-03-30 22:27:28 UTC
I can't duplicate your problem here.  On all my FC5 systems, the terminal opens
in $HOME only when opened from a desktop right-click or on the user's home
folder.  If I right-click any other folder and choose "Open in Terminal," the
resulting terminal is started with $PWD in that folder.  Please reopen with some
relevant debugging and/or the steps you followed if you can find someone else
who can duplicate this behavior.

Comment 2 Gérard Milmeister 2006-03-30 23:09:59 UTC
The problem only appears, if there is already a gnome-terminal open,
otherwise "Open In Terminal" works as expected (for the first terminal).
In "Preferred Applications" I select "GNOME Terminal" which has
a config for "Command:" such that "gnome-terminal --working-directory=%f".
If I change to "Custom" and remove "--working-directory=%f",
nautilus-open-terminal works as expected.
Maybe something other breaks, I don't know.

Comment 3 Raoul 2006-04-13 07:33:11 UTC
I was going to file the same bug, but then I saw Gérard Milmeister's comment.
Removing the "--working-directory=%f" part of the action solves the problem.

In fluxbox, where there is no prefered applications, when using nautilus as file
manager, the open-in-terminal extension works always as expected.


Comment 4 Red Hat Bugzilla 2007-02-05 19:27:05 UTC
REOPENED status has been deprecated. ASSIGNED with keyword of Reopened is preferred.

Comment 5 Paul W. Frields 2007-11-14 19:46:06 UTC
Current nautilus-open-terminal releases have not used the '--working-directory'
hack for some time, since the product now uses the nautilus URI for opening
folders.  There is no clean way to override old user customizations, however. 
As you have discovered, users can always revert their personal settings and the
extension behaves as expected.


Note You need to log in before you can comment on or make changes to this bug.