Re: FVWM: problems with FvwmButtons

From: Dominik Vogt <dominik.vogt_at_fvwm.org>
Date: Fri, 24 Mar 2000 16:14:33 +0100

On Mon, Mar 20, 2000 at 12:31:50PM -0800, jhenders_at_bogon.com wrote:
>
> Hi folks. I haven't kept as current as I'd like to with Fvwm2 versions,
> but I just upgraded to 2.2.4 this weekend and have run across a problem
> with FvwmButtons configuration that is making me pull my hair out. The
> following lines worked in the previous 2.2.X beta version I was using
> but completely break in the new version, yet the man page for
> FvwmButtons doesn't seem to be much different than the last version I
> used.
>
> Here's one example. I have a verticle bar on the right side of the
> screen. It's set up like this.
>
> *VertButtonsGeometry -1+0
> *VertButtonsColumns 1
>
> then I have a clock in the top button, which used to launch plan when
> clicked on. here's the line that defined it.
>
> *VertButtons( Title foo, Swallow(NoTitle) "asclock" 'Exec asclock -12 -led Yellow &', Action 'Exec "plan" plan &' )
>
> and another button that loaded Netscape with a shell wrapper, invoking
> one version of netscape if the left button was pressed and another if
> the right one was.
>
> *VertButtons( Icon Jnetscape.xpm, Action(mouse 1) 'Exec "Netscape" /home/jhenders/bin/run.netscape &', \
> Action(mouse 3) 'Exec "" /home/jhenders/bin/run.netscape4 &' )
>
> Now when I try to run either of these, I get the following error and
> nothing happens.
>
> No such module 'Exec "plan" plan' in ModulePath '/usr/X11R6/lib/X11/fvwm2'
>
> Does anyone know what changed in the parsing of these lines and how I
> could fix it?

Uh, there's a syntax error in your config line that previous versions
seem to have ignored:

> *VertButtons( ... Action 'Exec "plan" plan &' )
                            ^^^^^^^^^^^^^^^^^^^^

This line should do it:

  *VertButtons( ... Action 'Exec plan &' )

or

  *VertButtons( ... Action 'Exec exec plan &' )

Bye

Dominik ^_^

-- 
Dominik Vogt, Agilent Technologies, Dept. BVS
Herrenberger Str.130, 71034 Boeblingen, Germany
phone: 07031/464-4596, fax: 07031/464-3883, dominik_vogt_at_agilent.com
--
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 Fri Mar 24 2000 - 09:13:07 GMT

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