You are not logged in.

1

Thursday, November 4th 2004, 7:27am

How to add item into KDE menu by hands

Hi,

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?

tnx

P.S. sorry for bad english :(
best regards

--Sergei

2

Thursday, November 4th 2004, 7:50am

Re: How to add item into KDE menu by hands

Quoted

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?).