You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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