Re: FVWM: Automatic application menus

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Mon, 2 Feb 2004 14:19:55 +0000

On 02 Feb 2004 14:50:40 +0100, Uwe Pross wrote:
>
> On 02 Feb 2004 at 13:32:05 +0000, Mikhael Goikhman wrote:
>
> > > I am looking for a script or a little program which scans
> > > the search paths of my linux installation and makes fvwm
> > > menu definitions for starting these programs.
> >
> > I don't think you want to have one large menu with all
> > thousands of commands found in /usr/bin and similar
> > places.
>
> Right ;-)
>
> > You probably want to organize them somehow, and this is a
> > distribution specific thing.
>
> It should not be distribution specific. A perl or awk
> script which accesses a application database and checks if
> the programs a installed would be nice.

You should first define "database". If it follows the standard format,
then fvwm-menu-desktop should parse it without problems (theoretically).

> > fvwm-menu-desktop
>
> DESCRIPTION
> This is a perl script which parses GNOME or KDE menus
> defin- itions to build corresponding FVWM or FvwmGtk
> menus. The script can also build icon and mini-icon
> style commands for the applications.
>
> There is no gnome or kde on my box ;-)

It parses .desktop files orgamized in directories regardless of whether
it is GNOME or KDE. Is this "database" you speak about?

> > fvwm-menu-directory
>
> NAME
> fvwm-menu-directory - builds a directory browsing menu
> for FVWM
>
> DESCRIPTION
> A perl script which provides an output to read in with
> PipeRead to build an fvwm menu containing a directory
> listing. Almost everything can be configured.
>
> Also not what I am looking for.

Depends on the needs. If you know the location of your applications then:

  fvwm-menu-directory --dir /usr/local/bin --exec-app '' --exec-file 'IGNORE_NON_APP' | grep -v IGNORE_NON_APP

> I am looking for a solution which scans _all_ search paths,
> say at start time, looks for certain applications, defined
> in a database, and sorts them to a set of fvwm menu
> definitions. If such a database is available the script
> would be quite simple.

There is a "database" definition problem here. If your distribution
defined such "database of applications", then describe it.

Regards,
Mikhael.
--
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:22:13 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST