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)

Attachment: signature.pgp
Description: Digital signature

Reply via email to