Ian Reinhart Geiser on 19 Jan 2006 15:53:00 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] KDE Question


On Wednesday 18 January 2006 11:48 am, Kyle R. Burton wrote:
> Quick KDE question.
>
> In win* I can, at a console, type 'start foo.txt' and it performs a
> ShellExec, which looks for an associated application to handle the file.
>
> In osx I can use 'open foo.txt' to launch the default editor registered for
> that particular file type.
>
> This hooks into the same handler that is invoked when you click (or double
> click) on a file in the file system explorer (windows explorer, or the mac
> finder, or Konqueror).
>
> Is there some way to reach the same part of the KDE system, but from a
> terminal?  Just running 'konqueror foo.txt &' does bring up a viewer
> application, but it does not simulate a click on the file name (which
> brings up a text editor for example).

kfmclient exec foo.txt

Cheers
	-ian reinhart geiser
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug