>> Is there a set of scripts or a standard technique for modifying the
>> menu
>> 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
returns.
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.
Cheers,
Kevin
--
Student at Graz University of Technology
http://www.sbox.tu-graz.ac.at/home/v/voyager