Freedesktop.org desktop entry specification: http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec
http://freedesktop.org/wiki/Standards_2fdesktop_2dentry_2dspec
The Portland project provides command line tools to run programs independent of the desktop environment on Linux.