[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: warning: menu-command-not-in-package

On Mon, Dec 13, 2004 at 11:27:12PM +0100, Bartosz Fenski aka fEnIo wrote:
> On Mon, Dec 13, 2004 at 10:05:28PM +0100, Sven Mueller wrote:
> > >In any event, the program starts in a terminal environment, but ultimately
> > >must be run in an x11 environment.

> Do we have *anything* which uses menu entries and it is not
> X-Window-Manager or desktop environment like KDE/GNOME?
> I'm just curious ;)

I just checked.  Of 29 packages, 11 of which are add-ons which do
*not* provide binaries in /usr/bin/, I have 3 menu entries, all of
which for X11 applications.

ls /usr/lib/menu |wc -l

Here's the breakdown on my laptop:
$ LIST=`grep -io 'needs=[^ ]* ' /usr/lib/menu/* |cut -d: -f2 |cut -c7- |sed -e 's/"//g' |tr 'A-Z' 'a-z'`; for A in $LIST; do COUNT=`echo "$LIST" |grep -c "$A"`; echo "$COUNT $A"; done |sort -u
1 wm
2 vc
352 x11
68 text
7 blackbox

Good point; tab-completion is a much more realistic implementation.


Reply to: