"Thomas Funk" <t.f...@web.de> writes: > Hi Dan, > > I've been working on it. I've restructured the menu as Thomas > suggested some weeks ago. I am now at that point how to merge several > menus to one (there are often programs listed in the kde but not in > gnome or debian menu or vice versa). But it's not very simple. Also > some other parts which the original fvwm-menu-desktop script doesn't > bear in mind with other distributions. I've sent a customized > fvwm-menu-desktop script weeks ago but this script isn't that which > could be committed anyway. > > If anyone can help me to get an idea how I can implement this merging > in a good an nice way shout.
The standard way to merge things in perl is stuff them in an associative array (HASH). The current script does that all over the place. I think TA mentioned it was slow. I don't know if he measured it or not. I don't want to stick my fingers in when other people are fooling with this, but while testing the Fedora 16 issue I made changes to: read_directory_entry read_desktop_entry to only add stuff the the hashes that we actually process later on. No good HASHing a huge bunch of Comment lines and other junk we don't need. > Thanks, > Thomas > > -- > What is the exact difference between a 'terminal', a 'shell', a 'tty' and a > 'console'? > A terminal is at the end of an electric wire, a shell is the home of a > turtle, tty is a strange abbreviation and a console is a kind of cabinet. -- > Gilles > > -----Ursprüngliche Nachricht----- > Von: "Dan Espen" <des...@verizon.net> > Gesendet: 19.12.2011 22:48:00 > An: fvwm-workers@fvwm.org > Betreff: Status fvwm-menu-desktop > >> >>We had a recent patch for fvwm-menu-desktop. >>I never got around to taking a look. >>Did it get committed? >> >>I recently installed Fedora 16 and fvwm-menu-desktop >>stopped working. It looks like it never finds >>the .desktop files in /usr/share/applications. >> >>I made a quick fix by adding /usr/share/applications >>to @legacy_dirs in function get_KDE_legacy_dirs. >>I think this directory must have been in previous xdg config >>files but isn't there anymore. >> >>-- >>Dan Espen >> > > > ___________________________________________________________ > SMS schreiben mit WEB.DE FreeMail - einfach, schnell und > kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192 > > > -- Dan Espen