kde-open, raise window and switch to desktop

Kevin Krammer kevin.krammer at gmx.at
Fri Apr 1 16:56:10 BST 2011


On Friday, 2011-04-01, Duncan wrote:

> NOW we're getting somewhere!  Take a look at the xdg-utils package, which
> seems to be authored in part by kde's own Kevin Krammer, as it happens,
> active on the kde lists.  So maybe he'll step in with some suggestions.

xdg-open is basically just a wrapper around tools like kde-open, xfce-open, 
etc. so program not using GIO/KIO stacks can still invoke the user's preferred 
application for a given file or URL.

So in most cases invocations will end up in either GIO or KIO libraries, which 
then in turn figure out MIME type or URI scheme, associated application and 
finally launching.

I think xdg-mime can be used to query the preferred application, together with 
kstart this could be used to achieve what Daniel is looking for.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20110401/dddb428e/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list