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 81603 - Should register gnome terminal as a mime handler for opening folders.
Should register gnome terminal as a mime handler for opening folders.
Status: RESOLVED FIXED
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
: 48290 101154 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-05-13 04:04 UTC by Dave Bordoley [Not Reading Bug Mail]
Modified: 2006-01-10 10:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch, part 1 (1.19 KB, patch)
2002-10-26 12:38 UTC, Jorn Baayen
none Details | Review
applications file (215 bytes, patch)
2002-10-26 12:40 UTC, Jorn Baayen
none Details | Review

Description Dave Bordoley [Not Reading Bug Mail] 2002-05-13 04:04:28 UTC
Basically what i want is to be able to open a folder from nautilus in a
terminal by right clicking on the folder and choosing open with -> terminal
from the context menu. there have been some feature requests for this in
nautilus, but considering the setup of the nautilus ui, I think this is the
best way to implement such a feature and is probably a gnome-terminal type
bug, since it would require gnome terminal to register itself as a
potential handler but not the default.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 04:07:36 UTC
*** Bug 48290 has been marked as a duplicate of this bug. ***
Comment 2 Havoc Pennington 2002-09-22 21:54:20 UTC
This is easy enough to patch, any takers ;-)
Comment 3 Jorn Baayen 2002-10-26 12:38:33 UTC
Created attachment 11846 [details] [review]
patch, part 1
Comment 4 Jorn Baayen 2002-10-26 12:40:33 UTC
Created attachment 11847 [details] [review]
applications file
Comment 5 Jorn Baayen 2002-10-26 12:41:14 UTC
Here we go. Seems to work for zvt, but not for vte.
Comment 6 Jorn Baayen 2002-10-26 12:47:00 UTC
CC'ing myself, sorry for the spam...
Comment 7 Dave Bordoley [Not Reading Bug Mail] 2002-10-30 15:40:24 UTC
jorn this patch doesn't seem to work for me. always opens a folder in
$home (may be a nautilus bug though.)
Comment 8 Jorn Baayen 2002-10-30 15:47:22 UTC
You using vte? It only works with zvt atm, no idea why, i guess the
vte wdiget doesnt support changing dir yet or something.

If anyone intends to commit this btw, the .applications file needs a
little change, can_open_multiple_files is set to true now but it
should be false.
Comment 9 Dave Bordoley [Not Reading Bug Mail] 2002-10-30 20:11:01 UTC
jorn
could you file a vte bug and block this bug on that one?
Comment 10 Mark Finlay 2003-02-09 16:18:11 UTC
I posted a patch to bug 101154 which works perfectly for me with
vte. The only difference I can see is that I have
can_open_multiple_files=false in the application file.

*** This bug has been marked as a duplicate of 101154 ***
Comment 11 Mark Finlay 2003-02-09 16:18:41 UTC
*** Bug 101154 has been marked as a duplicate of this bug. ***
Comment 12 Mark Finlay 2003-02-09 16:19:48 UTC
Sorry, marked the wrong bug as a dupe. 
Comment 13 Mark Finlay 2003-02-09 16:20:15 UTC
*** Bug 101154 has been marked as a duplicate of this bug. ***
Comment 14 Mark Finlay 2003-05-25 16:30:57 UTC
Can I commit this to gnome-panel HEAD?
Comment 15 Mark Finlay 2003-06-07 08:27:01 UTC
Ping! A working patch, I've got cvs access, freezes are approaching.
All you have to do is say yes ;)
Comment 16 Havoc Pennington 2003-06-07 17:37:36 UTC
Yes, looks good. (Be sure can_open_multiple_files is false, that 
was the only issue I saw as well)
Comment 17 Mark Finlay 2003-06-07 17:49:03 UTC
Ok this is committed, but one more thing before i close the bug:
Do we want it to be in the nautilus Open With context menu by default
and if yet how do we do that?
Comment 18 Havoc Pennington 2003-06-07 17:51:06 UTC
No clue on that one.
Comment 19 Dave Bordoley [Not Reading Bug Mail] 2003-10-04 23:40:49 UTC
You have to add to the short-list of applications in gnome-mime-data
to get into the nautilus context menu by default.
Comment 20 Mariano Suárez-Alvarez 2003-10-05 00:10:44 UTC
I don't understand the last comment, but I do have gnome-terminal
(listed as Terminal, of course) in the Open With menu in the context
menu in nautilus for folders, and that must be there by default, since
I never did anything to put it there.
Comment 21 Guilherme de Siqueira Pastore 2006-01-10 04:22:40 UTC
Marked patches as patches and both as obsolete, real fix coming.
Comment 22 Guilherme de Siqueira Pastore 2006-01-10 04:35:57 UTC
Fixed in CVS HEAD (finally!)
Comment 23 Richard Hult 2006-01-10 08:27:42 UTC
Hm, this kind of duplicates the nautilus-open-terminal extension... Is it really a good idea?
Comment 24 Guilherme de Siqueira Pastore 2006-01-10 10:41:31 UTC
Actually, I didn't know nautilus-open-terminal before. I am convinced that it is a much better approach to this problem in a number of ways and am, therefore, reverting the change on HEAD.

Thanks!