I can not add idea to windowmaker's debian menu

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:
longtitle="IntelliJIDEA Java IDE"\

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.