Original von Splinter
I need to add item into KDE menu for my programm automatically during install process. The problem is that it should be html file (release notes). I tried to find some examples in already exists menu but it contain only application (Type=Application). Is it possible to do?
My naive approach would be to create a new application entry with a line
Exec=kfmclient exec file:/path/to/your/file.html
But there may be much better ways to do that. Especially since this would only work if KDE is installed.
For more info I'd take a look at the specs at http://www.freedesktop.org/Standards/Home , especially the
menu specification and the
desktop entry specification
The good thing about the freedesktop menu stuff is that the same desktop files work for other compliant desktops, too, most notably GNOME (or is this the only other compliant one besides KDE?).