Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

There is cool CLI utility an gnome-open file which does an application launch given the file the same way as douburu-clicking on this file in file-manager of gnome.

How should I do the same with kde? (launch the same application as it will be done as doubre clicking it in konquerorer?)

share|improve this question
add comment

2 Answers 2

up vote 6 down vote accepted

KDE's version of that command is kde-open.

However, there's also a universal version that should work in any desktop environment called xdg-open. Get in the habit of using that and you won't need to figure out a new command if you decide to switch to something else besides KDE later.

share|improve this answer
    
when the kde-open and xdg-open was added? (which version of ubuntu and"or version of kde"gnome) –  osgx Jun 4 '11 at 23:22
2  
xdg-open seems to have been in Ubuntu as early as 8.04 Hardy Heron. It's part of the xdg-utils package which is usually installed by default. kde-open has been in KDE since KDE 3, before Ubuntu even existed. –  Patches Jun 4 '11 at 23:44
add comment

Also, kfmclient exec seems to do the thing.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.