[izpack-users] Application menu shortcuts under Linux

Gernot Stenz stenzg at in.tum.de
Wed Jun 6 12:47:27 CEST 2007


Hello,

I am currently writing an installer for a project that is supposed to be used
in either English or German under Windows and Linux. As a part of this I am
trying to define desktop shortcuts for the project tools. Under Windows this
works nicely, but under Linux I encounter some problems. My shortcut
specification file looks like this:

<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>

<!-- Windows desktop specification file -->

<shortcuts>
  <skipIfNotSupported/>
  <programGroup defaultName="V-Modell XT" location="applications"/>

  <shortcut
    name="Editor 3.3rc5"
    target="$INSTALL_PATH/Editor-3.3rc5/startup.sh"
    commandLine=""
    workingDirectory="$INSTALL_PATH/Editor-3.3rc5"
    description="V-Modell XT Editor 3.3rc5"
    iconFile="$INSTALL_PATH/Editor-3.3rc5/VModell.png"
    iconIndex="0"
    type="Application"
    encoding="UTF-8"
    terminal="false"
    KdeSubstUID="false"
    initialState="normal"
    programGroup="yes"
    desktop="yes"
    applications="no"
    startMenu="no"
    startup="no">

    <createForPack name="Editor 3.3rc5"/>
  </shortcut>
....

The desktop icons are created all right, but there seems to be a problem
allocating the application menu entries:

1) Under KDE, the new applications show up under "Development|More
   Applications" instead of "V-Modell XT". Still, when selected in that place,
   they work all right.
2) Under GNOME, the application menu entries do not show up anywhere. Besides,
   the desktop shortcuts fail to start the tools (I suspect a workingDirectory
   problem).

This has been tested under Suse 9.3 and 10.2. Does anybody have an idea how to
get the application menu entries right?

BTW, what is the proper size for an icon PNG? 64x64?

Ciao, Gernot

-- 
    __o  Gernot Stenz  e-mail:stenzg at informatik.tu-muenchen.de        /\
   -\<,          WWW:  http://www4.in.tum.de/~stenzg               /\/--\
_(_)/(_)_London - Paris: 3547 km__________________________________/      \




More information about the izpack-users mailing list