After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 101154 - [PATCH] mime-type for the terminal
[PATCH] mime-type for the terminal
Status: RESOLVED DUPLICATE of bug 81603
Product: gnome-terminal
Classification: Core
Component: general
2.1.x
Other Linux
: Normal enhancement
: ---
Assigned To: Havoc Pennington
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-12-13 18:37 UTC by Mark Finlay
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
this is a tarball of the patch and an extra file (676 bytes, application/x-compressed-tar)
2002-12-13 18:51 UTC, Mark Finlay
Details
Havoc was right, simpler patch that uses --working-directory (590 bytes, application/x-compressed-tar)
2002-12-13 20:06 UTC, Mark Finlay
Details

Description Mark Finlay 2002-12-13 18:37:10 UTC
I'm going to attach a patch that adds a mime type linking the terminal with
folders. This allow you to:
a. right click on a folder, click open with->Termial and have
gnome-terminal open with that folder as the working directory.
b. click "Open with Terminal" in the sidebar to open the current directory
in a terminal.
Comment 1 Mark Finlay 2002-12-13 18:51:30 UTC
Created attachment 12975 [details]
this is a tarball of the patch and an extra file
Comment 2 Mark Finlay 2002-12-13 19:19:39 UTC
It was necessary to add a -w option to gnome-terminal that is
equivelent to --working-directory in the above patch. This allows the
working directory to be passed to the terminal by nautilus.
Comment 3 Havoc Pennington 2002-12-13 19:37:02 UTC
Why didn't --working-directory work?
Comment 4 Mark Finlay 2002-12-13 19:57:24 UTC
There could be a simple fix but i think that nautilus was calling:
gnome-terminal --working-directory= /path/to/current/folder

which doesn't work. It should be:
gnome-terminal --working-directory=/path/to/current/folder

So I added -w so that nautilus could call:
gnome-terminal -w /path/to/current/folder
Comment 5 Mark Finlay 2002-12-13 20:06:44 UTC
Created attachment 12977 [details]
Havoc was right, simpler patch that uses --working-directory
Comment 6 Mark Finlay 2002-12-17 15:13:52 UTC
Could this go into 2.2 or will it have to wait for 2.4?
Comment 7 Mark Finlay 2003-02-09 16:18:09 UTC
*** Bug 81603 has been marked as a duplicate of this bug. ***
Comment 8 Mark Finlay 2003-02-09 16:20:19 UTC

*** This bug has been marked as a duplicate of 81603 ***