You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, April 19th 2004, 2:43pm

open as in OSX

OS X has a very useful little application called open

If I go

open somefile.xyz

from the shell, the open app will parse the extension and open somefile.xyz with the associated application. And

open .

will open a directory window. Very useful.

Does anyone know of such an application under kde. I tried to write it myself,
but I am not a KDE programmer. I have made something that sort of works with KRun but there are complications like loosing the prompt.

Simply using

konqueror somefile.xyz

works but opens an unwanted konqueror window.

Any suggestions?

thanks!

Andreas

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

2

Monday, April 19th 2004, 3:07pm

The command you are looking is 'kfmclient'

[code:1]alias open='kfmclient exec'
open .[/code:1]
You can check more options with
[code:1]kfmclient --commands[/code:1]

3

Monday, April 19th 2004, 3:15pm

Quoted from ""m4ktub""

The command you are looking is 'kfmclient'

Indeed. It works like a charm. Thank you very much!

Andreas