! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
add "Open Thunar here" to the right click menu
Status:
CLOSED: WONTFIX
Severity:
enhancement
Product:
Xfce4-terminal
Component:
General

Comments

Description Samuel Verstraete editbugs 2006-09-26 08:02:59 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.0.7) Gecko/20060918 Epiphany/2.16 Firefox/1.5.0.7
Build Identifier: 

just a feature request. It would be neat to have a simple shortcut that we can open the file manager at that location...
sounds sane and easy to implement...

Reproducible: Always
Comment 1 Samuel Verstraete editbugs 2006-09-26 08:40:44 CEST
basically it would be interesting to have a similar "configure custom actions"
like in thunar... of course with the only valid Appearance condition being
folders... 
Comment 2 Benedikt Meurer editbugs 2006-09-26 11:47:17 CEST
And how would you implement that? Remember: Terminal != Shell
Comment 3 Samuel Verstraete editbugs 2006-09-26 11:53:36 CEST
hmmm right click menu? like in thunar? 
or is that not what you meant?
Comment 4 Benedikt Meurer editbugs 2006-09-26 12:29:09 CEST
Nope. The terminal emulator is an application that forwards input from the Xserver to a CLI application and output from the CLI application to the Xserver. You can run every CLI application in a terminal emulator. For example, let's say you run midnight commander, and click somewhere inside the terminal window, there's an "Open Thunar here" action, fine. So far so good. But how should the terminal know (a) that mc is running (could be detected with a few hacks, but probably not on all systems, i.e. mc could be running on a remote host using ssh), (b) that the user actually clicked on a folder in mc, (c) and even if you'd be able to resolve (a) and (b) there's no way to figure out the absolute path to the folder. And this is just one pretty simple CLI application. What if you are running pine or mutt? Where should Thunar be opened if you click on an IMAP folder or a message (given that you'd be able to actually detect that you clicked on a folder or a message, which is already rather impossible, esp. since the CLI application can run in different locales)?

The point is: The terminal emulator knows nothing about the application running inside (except for basic I/O settings). You can run every CLI application inside a terminal, in every possible locale, on every host that supports some kind of remote shell login, ... or to sum up, it's not possible to implement "Open Thunar here" in any useful way.

Bug #2361

Reported by:
Samuel Verstraete
Reported on: 2006-09-26
Last modified on: 2009-12-17

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information