We should have a DBUS property that gives the current folder path. This will allow scripts to extract the path and use it.
How should it behave in case of split view or tabs? or just export the path of the currently focussed view?
Created attachment 111811 [details] attachment-3044-0.html Yes, that would be the most reasonable default. On Wed 4 Apr, 2018, 2:14 PM Kai Uwe Broulik, <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=387710 > > Kai Uwe Broulik <kde@privat.broulik.de> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| |kde@privat.broulik.de > > --- Comment #1 from Kai Uwe Broulik <kde@privat.broulik.de> --- > How should it behave in case of split view or tabs? or just export the > path of > the currently focussed view? > > -- > You are receiving this mail because: > You reported the bug.
I find this could be useful as well. Some OSX shell plugins provide a `cdf` shell command that allows the users to jump into the folder they just opened in Finder. Like this one: https://github.com/ohmyzsh/ohmyzsh/blob/f1dd97bb2a9df55fae9b1ca26c829b9f8b290667/plugins/osx/osx.plugin.zsh#L194 The motivation is that navigation in a huge directory tree might be much more convenient with GUI, while batch/complex operations should be performed with the command line, but launching a new terminal emulator window is not an option because the user might already have a resident terminal session with enviroment properly set up. Such a command save a copy-paste of the path, and should be easily implemented if the path can be retrieve via DBUS.