Open snaggen opened 9 years ago
Nautilus typically offers mostly GUI programs, but Final Term's palette consists of terminal programs only. There is a good reason for that in the sense that it allows the user to stay within the terminal context. This becomes especially apparent when SSH is involved, where "Open with gedit..." or similar items simply don't make sense, while nano and vi are still perfectly applicable. I therefore do not think this would be a sensible enhancement in general.
However, if you wish to see this feature on your system, all you have to to is edit https://github.com/p-e-w/finalterm/blob/master/data/TextMenus/filename.ftmenu.
I don't agree that final term stays within the terminal context. A terminal does not normaly provide a graphical popup menu. That is an element of a regular UI program. In that way Final Term is little of a hybrid, and it makes sense to bridge this by providing the nautilus menu. What doesn't make sense it to offer to open rpm files in a file editor, like it is currently doing.
Hmm... your last point in particular is definitely valid. But how should the SSH issue be handled in your opinion?
Well if final term knows ssh is used it could try to translate it to an sftp url. Or more simply, just gray out the "nautilus style" open menu, and just keep the terminal commands.
OK, I'm reopening this as a wishlist item but safe to say this is likely not coming anytime soon, especially the transparent sftp translation, as it just sounds too complex for now.
I think it would be nice if the semantic file menu would contain the same Open and Open With entries as nautilus (since that is based on the filetype and is based on the users default apps for different operations). That way we could remove the hardcoded Edit with ... and View with ... entries.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.