Open Folder and select file

Emmanuel Pescosta emmanuelpescosta099 at
Sat Mar 19 20:34:49 GMT 2016


there is a dbus interface (see ShowItems method in [1]) which does exactly
what you want,
at least on platforms with dbus.

But Kai is already working on a nice job API (see [2]) which can do this in
a cross-platform way. :)



2016-03-19 21:16 GMT+01:00 Dominik Haumann <dhaumann at>:

> Hi,
> in Kate's tab bar I would like to implement a context menu action
> "Open Containing Folder". In KDE, this should open dolphin and
> preselect the specific file. On Windows, it should open the Explorer
> and do the same.
> It seems Qt Creator has some code to do exactly this:
> Do we have that already in KDE somewhere?
> Please note, I don't want to *open* the file itself, instead, I want
> to open the file browser, and highlight the respective file.
> Cheers,
> Dominik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list