UP> DESCRIPTION This is a perl script which parses GNOME or KDE menus
UP> defin- itions to build corresponding FVWM or FvwmGtk menus. The
UP> script can also build icon and mini-icon style commands for the
UP> applications. There is no gnome or kde on my box ;-)
At first - sorry for very very very bad english :(
I use Debian GNU/Linux at home, and I have such menu out of the box
for fvwm too, not for KDE/Gnome only.
Now I'm at work (and I have there a RedHat clone), so I can't see
how this feature implemented in Debian. But I think, if some
package add itself to KDE menu, this package is not looking for KDE
installation, and add itself anyway. Maybe I'm wrong, but you can
try.
In /usr/lib/menu I have an some files like next:
$ cat /usr/lib/menu/vim-X11
?package(vim-X11):command="/usr/X11R6/bin/gvim" needs="X11" \
icon="gvim.xpm" section="Applications/Editors" \
title="GVim editor" longtitle="All-purpose text editor
I have no KDE/Gnome installed. So, my suggestion seems right.
UP> I am looking for a solution which scans _all_ search paths, say
UP> at start time, looks for certain applications, defined in a
UP> database, and sorts them to a set of fvwm menu definitions. If
UP> such a database is available the script would be quite simple.
Hmmm... I think, creation of such database is extremly hard task.
More simply way - parse /usr/lib/menu/* files, or list of installed
packages.
Anyway, I don't know any ready solutions of your problem.
--
=[ Windows 95/NT - 32 bit extensions and a graphical shell for a
=[ 16 bit patch to an 8 bit operating system originally coded for a
=[ 4 bit microprocessor, written by a 2 bit company that can't stand
=[ 1 bit of competition.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon Feb 02 2004 - 08:50:48 GMT