>> Is there a set of scripts or a standard technique for modifying the
>> structure programmatically? I want to be able, when installing our
>> application, to add it to the kde and gnome menus.
> Each entry has a .desktop file. Just copy the .desktop file for your
> entry to somehwere under $KDEDIR/share/applnk (globally for
I think instead of $KDEDIR you should use whatever kde-config --prefix
or kde-config --paths apps, which returns a list of applnk directories
GNOME has a similar tool to determine the paths.
And they use the .desktop entries as well.
Quote:> installation as root) or under $KDEHOME/share/applnk (locally for
> installation in a user's home directory). If $KDEHOME doesn't exist,
> use $HOME/.kde instead.
kde-config --localprefix for the current user.
Student at Graz University of Technology