GNOME Bugzilla – Bug 101154
[PATCH] mime-type for the terminal
Last modified: 2004-12-22 21:47:04 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.
Created attachment 12975 [details] this is a tarball of the patch and an extra file
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.
Why didn't --working-directory work?
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
Created attachment 12977 [details] Havoc was right, simpler patch that uses --working-directory
Could this go into 2.2 or will it have to wait for 2.4?
*** Bug 81603 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 81603 ***