Re: FVWM: Determine window's Icon

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 25 Nov 2003 00:08:13 +0000

On 24 Nov 2003 18:48:33 +0000, Andy Arbon wrote:
>
> Excuse me for butting in, but I thought I'd give this idea a go. When I
> try and use the function I get the following output on the console:
>
> import: Unable to read X window image (0x60000e).
> import: Missing an image filename.
>
> (With a different window number for different windows, obviously)
>
> Insertion of an extra echo shows that the line that is failing is:
> PipeRead "import -geometry 64 -frame -resize 64 -silent -window
> 0x60000e /home/ara/.fvwm/icon.tmp.0x60000e.png + I echo WindowStyle
                                                 ^^^
> IconOverride, Icon /home/ara/.fvwm/icon.tmp.0x60000e.png || echo Nop"
>
> Any ideas? This is with 2.5.8.

You probably didn't copy it correctly. The "+ I" should be "&&".

> Also, I had to comment out the bottom + I Iconify, otherwise I get a
> kind of 'bouncing' effect, where the window iconises and then
> immediately deiconises. This could be because the former command is
> failing though AFAIK.

It should not bounce, even if PipeRead failed.

Post the whole related config you use, i.e. FvwmEvent lines, the
mentioned function lines and so on.

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 Mon Nov 24 2003 - 18:11:03 GMT

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