On Saturday 03 Jul 2004 22:18, Marv Boyes wrote: > Hello, everyone. I'm in the middle of writing a small Python program > designed to more-or-less replace my KDE/GNOME "start"-type menus (as I'm > no longer using either KDE or GNOME). I need to know where I ought to > look in order to get the command-lines used to launch all of the > programs as they're currently listed in those menus. I'm guessing it's > all listed in plain text or XML somewhere (right?), but I'm having a > hard time finding it. Can anyone point me in the right direction? > > If it's relevant, I'm running Mdk 9.2; my KDE and GNOME are versions > 3.1.3 and 2.4, respectively. > > BTW, I'm aware that there's already a Python program-- MenuMaker -- > which does something like what I've described, but it yielded some > really wacky results on my system. I want something I can customize-- > and I need to learn more about Python, as well. Call it a training > exercise. ;) > > Thanks much, > > > Marv
Mandrake uses the Debian menu system. Each package puts a file in /usr/lib/menu to describe its menu entry. There are files in /etc/menu-methods to describe menus for each Window Manager. Whenever a package is added post-install will run update-menus to create a new menu list for each Window Manager. So regardless which Window Manager you are using your menus should appear consistent. The exception is XFce which is not currently included in this scheme. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
