>
> When I want to do that, I simply run the menu editor and see what
> command is in there.
>
> In KDE4 you simply right click on the menu button and select “Edit
> Menu”, not sure about Gnome or others.
>
>
Typing kmenuedit from the command line will do that (well in KDE3 anyway).
That may do the trick for you?