I can not add idea to windowmaker's debian menu

Hi,
I have been trying to add idea to WindowMaker's debian menu by doing the following:

1. Created a file idea in /usr/share/menu with the following entry:
?package(idea):\
needs="x11"\
section="Apps/Editors"\
title="IDEA"\
longtitle="IntelliJIDEA Java IDE"\
command="/usr/local/idea/bin/idea.sh"

2. Put the file to /etc/menu

3. Running update-menus (as su)

Now what happens is that the idea is shown on the debian menu. but clicking the menu item does not cause anything to happen. I have added other menu items similarly for instance acrobat reader and they are working fine. It seems like there is something in the idea.sh that is not preventing the desired outcome for instance change the command to something else and it works well.

Now what can be done here? Moreover, I am curious to know why idea installation program does not automatically create the menu item.

Thanks in advance.

Please sign in to leave a comment.