On Sun, 21 Dec 2003 20:05:39 -0500
Trey Sizemore <[EMAIL PROTECTED]> wrote:

> But if I use a distribution other than Mandrake, this will not be the
> case.  For example, if I want to mimic the KDE menu currently in use
> on my Mandrake box on a Debian box or Fedora box.  I want to recreate
> the ordering as I have it now, but I need a snapshot of the current
> organizational structure with the associated programs.

you could get all the menu info into a text file by doing cat
/usr/lib/menu/* > menustructure.txt... it shows the package name and
section it goes in but that also puts in a LOT of other information. 
How you'd go about sorting out just the package name and menu section
I'm not sure but there's got to be a way to do it other than manually.

(an entry in /usr/lib/menu looks like this: 

# cat /usr/lib/menu/xmms
?package(xmms): \
needs="x11" \
section="Multimedia/Sound" \
title="Xmms" \
longtitle="Multimedia Player" \
command="soundwrapper xmms" \
mimetypes="video/mpeg;audio/x-mp3;audio/x-ogg;application/x-ogg;audio/x
-mpegurl;audio/x-wav" \ icon="xmms.xpm"

so as you can see it's shown there but has a lot of info in with it.)

-- 
_||_  Registered linux user #300600 
 (o_  Registered linux machine # 185855  
 //\    at   
 V_/_ http://counter.li.org  

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to