[ Thanks to Linux User &
Developer magazine for this link. ]
“Running applications in different desktops is the easy
part. Most of the applications are already cross-compatible with
both KDE and GNOME as long as the required libraries are available.
The real problem arises when you want to integrate the desktop
aspects of your application. Desktop aspects include desktop menus,
application menu, MIME type association, etc.“For example, GNOME uses a different location to KDE for storing
the application launcher menu item. Fortunately, you can take care
of this yourself, thanks to the Portland Project. Portland is a
joint OSDL/freedesktop.org initiative to provide developers with
stable APIs for desktop Linux and other free desktop
platforms.”