Re: FVWM: automatic cursor movement with fvwm buttons?

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Sun, 6 Mar 2005 07:18:49 +0000

On 05 Mar 2005 18:57:05 -0500, Jim Cline wrote:
>
> Hi Mikhael,
>
> I tried your suggestion, putting this into my .fvwm2rc:
>
> DestroyFunc StartPineXTerm
> AddToFunc StartPineXTerm
> + I Exec xterm -name "-bg green -fg black -geometry 120x30-75+80 -e
> /usr/bin/pine -p /home/jcline/.pinerc-mcgill &"
> + I Wait XTerm
> + I Next (XTerm) WarpToWindow 50 50
>
> and defining the corresponding button using
>
> *FvwmButtons(1x2, Title pinem Icon mailbox.xpm Action 'StartPineXTerm')

Add commas before Icon and Action, so it is more readable and correct.

> However it only creates the xterm and does not execute the command
> specified by the -e argument. Do you see what the problem might be?

The xterm command line syntax is incorrect, it should be:

  Exec xterm -bg green -fg black -geometry 120x30-75+80 -e /usr/bin/pine -p /home/jcline/.pinerc-mcgill

Ampersand is redundant. Please ask questions on the list, not privately.

Regards,
Mikhael.
--
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 Sun Mar 06 2005 - 01:19:40 GMT

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