kfmclient/konqueror option to open directory and highlight file(like explorer /e, /select)
David Faure
faure at kde.org
Fri Apr 30 16:49:40 BST 2004
On Thursday 29 April 2004 22:39, Matt Newell wrote:
> I have not been able to find a command to open konqueror to a specified
> directory and highlight a specified file. I'm more than willing to come up
> with a patch, but I'm looking for input on the desired command line option to
> use.
>
> The equivalent command in windows is
>
> explorer /e,/select,/filepath/filename.txt
>
> Something like this is what I'm suggesting
>
> konqueror -select /home/user/myfile.txt
>
> Does that sound good? Or should it be an option to kfmclient? I'll send a
> patch as soon as I get a few minutes to do a proof of concept.
Interesting idea.
It should probably be a kfmclient option at least, to make it possible to reuse
existing konqueror processes (almost all konqueror windows are opened through
kfmclient, for that reason).
But I guess that means it needs to be a konqureror option too, in case kfmclient
starts konq, or it can be done with DCOP, which would be best since it would
also allow selecting a file in an existing window. For proper design it should
even be in KonqViewIface.h, but if you prefer to just add a method in KonquerorIface
I'll understand :)
Thanks.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list