All,

I have attached an English language .desktop file for JUMP to this email. This would be placed under /usr/share/applications/

For this to work you will need to have an executable file on the PATH, see attached openjump file, this would go into /usr/bin and be configured to point to the actual openjump startup script.

It also needs the openjump.png file to be under /usr/share/pixmaps/

The spec for desktop files can be found at http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec?action=show&redirect=Standards%2Fdesktop-entry-spec

We can extend this to add different names and descriptions for the supported languages.

I think we should add a simple installToDesktop script that would install these files either in the /usr or /usr/local versions of the above directories.

Paul

Attachment: openjump.desktop
Description: application/desktop

#! /bin/bash

export OPENJUMP_HOME=${OPENJUMP_HOME:="/opt/openjump"}
export OPENJUMP_BIN="${OPENJUMP_HOME}/bin/openjump"

if [ ! -x ${OPENJUMP_BIN} ] ; then
        echo "Failed to find executable '${OPENJUMP_BIN}'" > /dev/stderr
        exit -1
fi

exec ${OPENJUMP_BIN} "$@"
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to