Originally Posted by mshryane
Thanks for that
The target end user for this app will most commonly be on an asus netbook which i think uses KDE...
Do you know how to identify what system the end user is running....gnome, kde etc? so that i can access the info on each of these systems.
...and does anyone know where the mime info lives on these other systems?
KDE in particular
I think i have found the appropriate reference in the GNOME & KDE documentation...
both of which refer to creating a .desktop file in which you define the corresponding application and icon. Then you add a reference to the .desktop file in the applications.list and/or defaults.list mentioned above
There is a second part to this issue however...
I do not know what actualy happens to the file information whan the application is launched.
On a PC the info (file name & path) would be passed to the application via commandline arguments.
I believe on Linux a system event is triggered when the application is launched...but this is as much as i know.
The application i have created uses "adobe flash" in an "MDM Zinc" wrapper which does not expose any methods to access this info directly
therefore i am having to create an intermediate application which will be launched via file association and in turn save the file info to a known file and launch the end application which will read the known file
long winded i know but i dont know a more direct route at the moment (suggestions welcome)
Can someone point me to info on how this works and possibly the best/easiest programming methods/language to use for this intermediate step...i.e. Script, C, Perl etc?