Re: FVWM: Script output into menu

From: Frank Gruellich <frank_at_der-frank.org>
Date: Mon, 14 Feb 2005 09:26:28 +0100

* Mikko Heiskanen <mikko_at_whitecortex.net> 14. Feb 05:
> Hi list,

Hello,

> I have a simple shellscript, which output I would like to have made into
> a menu.
>
> #!/bin/sh
> [script]
>
> addtofunc makemenu
> + I Exec fbsd-fvwm $0
> ^^ taken from manpage for make-directory-menu or something similiar.
>
> addtomenu somemenu
> + MissingSubmenuFunction makemenu
> + "editors" Popup editors
>
> And I don't get any output, whilst running it on shell provides right
> output. What am I missing?

You miss PipeRead. You start the script and its output is send to
stdout of fvwm (check the console you ran fvwm from or tail -f your
~/.xsession-errors). If you want fvwm to read your output you should
use PipeRead.

HTH,
 regards, Frank.
-- 
,------------------------.------------------------.--------------------.
| Chemnitzer Linux-Tage  | "Linux loves desktops" ' team_at_linux-tage.de |
| March, 5th + 6th, 2005 |       http://chemnitzer.linux-tage.de/      |
'------------------------'---------------------------------------------'
--
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 Mon Feb 14 2005 - 02:27:13 GMT

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