FVWM: Re: Make fvwm-root read from stdin?

From: Michelle Konzack <linux4michelle_at_freenet.de>
Date: Fri, 3 Jun 2005 15:29:59 +0200

Am 2005-06-03 07:33:49, schrieb Mark A. Nicolosi:
> Hi,
>
> I'm trying to get fvwm-root to use an image piped to it. I thought if I
> used /dev/stdin as the filename it would work. It doesn't. I'm using
> this command:
>
> $ convert file.jpg png:/dev/stdout | fvwm-root -r /dev/stdin
>
> This is what I get:
> [fvwm-root] failed to load image file '/proc/self/fd/0'
>
> /dev/stdin being a symlink isn't the problem. I checked to see if
> fvwm-root decides if the file is a png or xpm by extension or content.
> It decides by content (ie I copied file.png to file and tried it).
>
> Is this a bug? Is there a way around it? I guess I could use temporary
> files, but that ugly...

And if you use

    convert file.jpg png:/dev/stdout | fvwm-root -r -

which is the standard way to tell a program STDIN is used.

> TIA

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.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 Jun 03 2005 - 08:30:33 BST

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