Re: [dwm] ImageMagick & display(1)

From: Anselm R. Garbe <arg_AT_10kloc.org>
Date: Wed, 16 Aug 2006 08:48:56 +0200

On Tue, Aug 15, 2006 at 04:49:10PM -0700, usrucb_AT_gmail.com wrote:
> I have a couple ImageMagick issues...
>
> 1. When using display(1) the image window opens partially off the
> bottom right of the screen. The large box represents the screen,
> the small box represents the image displayed by ImageMagick.
>
> -----------------------------
> | |
> | |
> | |
> | |
> | |
> | |
> | |
> | ------------|---
> | | | |
> | | | |
> | | | |
> ----------------|------------ |
> | |
> ----------------
>
> Both xv(1) and xloadimage(1) open images at the top left.

Kind of fun. Seems that display requests that position for
whatever reason when tracing the events. I'll have a closer look
to this issue.

> 2. In wmii I had a rule using the ImageMagick class to open windows on
> the floating layer. Using the equivalent rule in dwm doesn't seem
> to work, and opens a tiled image window. Adding a rule for
> display(1) works fine.

Use a regexp matching the WM_CLASS hints given by xprop(1).

Regards,

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Wed Aug 16 2006 - 08:48:56 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:10 UTC