Bug#868431: wmaker: uses static upstream menu

Doug Torrance dtorrance at piedmont.edu
Sat Jul 15 18:54:44 UTC 2017


On 07/15/2017 08:03 AM, Andreas Metzler wrote:
> Debian's wmaker ships a menu-method for update-menus, but is not used,
> wmaker takes /usr/share/WindowMaker/menu.
> 
> With an empty ~/ starting wmaker will do the following according to
> strace:
> 
> 1. Generate ~/GNUstep/Defaults/WMRootMenu by copying
> /etc/GNUstep/Defaults/WMRootMenu.
> 2. It then reads the file and finds that it consists of
> "menu.hook"
> 3. It searches for a file named menu.hook in
> ~/GNUstep/Library/WindowMaker/ and /usr/share/WindowMaker/
> The search does not succeed, the menu-method writes to
> /etc/GNUstep/Defaults/menu.hook.
> 4. wmaker tries (in vain) to open ~/GNUstep/Library/WindowMaker/menu.
> 5. It finally succeds in opening /usr/share/WindowMaker/menu.
> 
> xsession-errors says
> "/usr/lib/WindowMaker/wmaker(configureMenu(rootmenu.c:1512)): warning:
> using default menu file "/usr/share/WindowMaker/menu" as the menu
> referenced in WMRootMenu could not be found"

The Debian menu loads just fine for me provided that I have the menu 
package (in wmaker's Suggests) installed.

Doug



More information about the Pkg-wmaker-devel mailing list