Re: FVWM: 'module failed:' ??

From: Chris Laas <chris_at_dreamcom.net>
Date: Fri, 26 Jul 1996 01:03:20 -0400

Todd Fries wrote:
>[snip]
> AddToMenu "DeskMenu"
> + "Grab a Shell%mini-term.xpm%" Exec rxvt
> + "" Nop
> [snip]
> However, if I click quickly, which is the reason I have it as the first
> item on the menu, then I get the following errors from fvwm:
> [FVWM][executeModule]: <<ERROR>> Execution of module failed: /usr/local/lib/fvwm/
> Permission denied

Your problem is on the first line of your menu definition, AddToMenu "DeskMenu".
Fvwm expects an item and command of some sort after each AddToMenu command, so the
way you have it now, Fvwm interprets there being some sort of null command there,
and tries to execute it, failing of course. At least, that's the way I interpreted
it when I got the same errors. The way to fix it is to move the first line of you
menu definition to the AddToMenu line, like this:
    AddToMenu "DeskMenu" "Grab a Shell%mini-term.xpm%" Exec rxvt &
It's ugly, yes, but it works. The Fvwm developers should fix this for 2.1.0, if
they can. It's not so bad if you do something like:
    AddToMenu "DeskMenu" "Desk Menu" Title
Then you can pretend that the Title is meant to go in the AddToMenu line :)

Hope this helps!

--Xris

-- 
"If A equals success, then the formula is A = X + Y + Z.  X is work.  Y is
play.  Z is keep your mouth shut." -- Albert Einstein
"I'm not like John Lennon, who thought he was the Almighty.  I just think I'm
John Lennon." -- Noel Gallagher, lead singer, guitarist, and songwriter of
Oasis, on the importance of remaining humble despite great fame.
Chris "Xris" Laas (that's me!) can be found lurking at chris_at_dreamcom.net or
chrisl_at_cybercom.net.  If I say something wrong, don't hold Dream Communications
responsible; however, if I have an idea inspired by genius, Dreamcom owns it.
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Jul 26 1996 - 00:18:00 BST

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