[New] Desktop Preferred Applications Specification

Aaron J. Seigo aseigo at kde.org
Mon Jun 8 18:22:40 PDT 2009


On Monday 08 June 2009, Jannis Pohlmann wrote:
> So, you're right, the $XDG_DATA_DIRS/Thunar/sendto/ stuff only defines
> commands to which you can pass the selected files (like create a
> tarball of a directory or create an email with the files attached).

... like KDE's servicemenus which have been there since sometime in KDE 2. 
those are actually accomplished using the DesktopAction feature of the 
.desktop file spec; it also supports things like preconditionals on mimetypes, 
application existence and dbus calls (the latter two are X-KDE entries, so not 
strictly in the standard)...

 for more advanced things there are full-on C++ plugins, but things like 
Thunar/sendto/ and KDE's servicemenus are completely doable without adding 
things to the .desktop file spec.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20090608/fa80ab77/attachment.pgp 


More information about the xdg mailing list