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

Re: User-Created Menu Entries



on Mon, May 07, 2001 at 10:52:35PM -0700, Mark Wagnon (markwagnon@yahoo.com) wrote:
> Hi all,
> 
> I'm reading through the menu.txt.gz file in the menu package
> documentation but I'm confused. I read:
> 
>   A user can specify his/her own menu entries in the `~/.menu'
>   directory.  The files can have an arbitrary file name as long as the
>   new syntax for the menu entries is used.  They should start with
>   either
> 
> 	?package(installed-package):
> 
>   or
> 
> 	?package(local.mystuff):
> 
>   if it's something that isn't ``debian-officially'' installed.  (Any
>   ``package'' that starts with ```local.''' is considered installed.)
> 
> but I'm still unsure about how to add a menu entry. Has anyone created
> any that they wouldn't mind sharing to be used as a template for
> creating other entries?

Depends on your window manager.

I use WindowMaker, and have written my own hardwired window menus.  I
don't use window menus particularly much, but when I do, I prefer having
the stuff I use most close at hand.  WindowMaker allows you to specify a
hook for including other menu specifications, so one of my top-level
menus is the default Debian menus.

The last screenshot on the page below shows how the menu appears:

    http://kmself.home.netcom.com/Images/Desktop/

The associated WMRootMenu line is:

  ("Debian menus", OPEN_MENU, "/etc/X11/WindowMaker/menu.hook"),

Cheers.

-- 
Karsten M. Self <kmself@ix.netcom.com>    http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?       There is no K5 cabal
  http://gestalt-system.sourceforge.net/         http://www.kuro5hin.org

Attachment: pgpjmfhm8B8Xu.pgp
Description: PGP signature


Reply to: