[izpack-users] Application menu shortcuts under Linux

Marc Eppelmann marc.eppelmann at gmx.de
Wed Jun 6 23:01:30 CEST 2007


Hi Gernot, 

For 1: I will check the reason. Maybe these kind/format of "static"-XML-Spec 
is not the right/optimal solution...

The Gnome Menu System has no autodetection, as my knowledge. Maybe this must 
registred in the Gnome Config Editor. AND here also: these kind of static 
XML-SPEC is not the right....

I will do some related tests this Weekend.

Cheers Marc

Am Mittwoch, 6. Juni 2007 schrieb Gernot Stenz:
> 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





More information about the izpack-users mailing list