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

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Fri, 03 Jun 2005 11:00:01 -0400

Michelle Konzack <linux4michelle_at_freenet.de> writes:
>
> Am 2005-06-03 07:33:49, schrieb Mark A. Nicolosi:
> > Hi,
> >=20
> > 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:
> >=20
> > $ convert file.jpg png:/dev/stdout | fvwm-root -r /dev/stdin
> >=20
> > This is what I get:
> > [fvwm-root] failed to load image file '/proc/self/fd/0'
> >=20
> > /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).
> >=20
> > 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.

That's a convention.
A convention that fvwm-root doesn't use.

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.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 - 10:01:26 BST

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