Re: FVWM: fvwm-menu-directory sample

From: Jules Alberts <jules.alberts_at_arbodienst-limburg.nl>
Date: Wed, 20 Aug 2003 14:32:17 +0200

Op 20 Aug 2003 (13:41), schreef Dominik Vogt <fvwm_at_fvwm.org>:
> On Wed, Aug 20, 2003 at 01:22:59PM +0200, Jules Alberts wrote:
> > Can anybody tell me if there are fvwm-menu-directory online somewhere?
> > I love this feature but even with the manpage I have some questions...
> > Mainly about --icon-file and to have a directory menu as top level
> > menu. TIA!
>
> Have you tried
>
> $ man fvwm-menu-directory
>
> ?

Sure, maybe it's better if I mention concretely what I want. I have a
menu that works like this:

My first question is how to add directory entries at toplevel of the
menu. With this setup:

  Key Super_L A A Popup menu_root Root 8 1

  AddToFunc FuncFvwmMenuDirectory$
  + I PipeRead "fvwm-menu-directory \\$
    --title '' \\$
    --icon-dir /home/blah/data/fvwm/resource/folder-menu.xpm \\$
    --exec-app '^exec' \\$
    -d '$0'"

  AddToMenu menu_root MissingSubmenuFunction FuncFvwmMenuDirectory$
  + "menu" Popup /home/blah/data/fvwm/testmenu

I get a submenu in my menu with the contents of the testmenu directory.
But I want the contents of the testmenu directory to be in the menu,
not in a submenu.

Another question: how can I prevent my submenus from having a title?
The best I came up with is --title '' which is kind of ugly.

The last question is about icons. This is from the manpage:

--icon-title icon menu title icon, default is no
--icon-dir icon menu dir icon, default is no
--icon-file icon menu file icon, default is no
--icon-app icon menu application icon, default is no
--wm-icons define icon names suitable for use with wm-icons package.
  Currently this is equivalent to: --icon-title menu/folder-open.xpm
  --icon-item menu/file.xpm --icon-dir menu/folder.xpm --icon-app
  menu/utility.xpm.

--wm-icons looks nice but I'm not sure what it does... The way I
interpret is, I should be able to do this: there is a shortcut to gvim
in my menu-dir. Now, if I put a file gvim.xpm in the menu-dir, it
should appear as an icon before the gvim entry. Alas, it doesn't, the
xpm appears as a file. How do the icons work?

TIA!
--
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 Wed Aug 20 2003 - 07:34:44 BST

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