[magick-users] making successive display calls open in the same
X-Window.
Rahul Nabar
rpnabar at gmail.com
Thu Apr 24 19:01:45 PDT 2008
On Thu, Apr 24, 2008 at 8:32 PM,
<duc.sequere.aut.de.via.decede at imagemagick.org> wrote:
> > Is there a way to address specific Xwindows in the subsequent display
> > -remote calls?
>
> But of course. Specify the remote display with the -window option.
>
Thanks again Duc! I should have read the manual better! Well, now I
did. I can use the -window option plus the id to get to do what I
wanted. Problem is I used xwininfo to get the id. xwininfo made me
click the crosshair in a XWindow so that it could tell which window it
was. I was looking for a way to do this via scripts.
Say shell_script1 fires up win1 and shell_script2 win2. Is there any
way to non-interactively let these scripts know the id of what XWin
they fired up? Does display return these ids to the calling script?
The display manpage further says:
"id can be a window id or name. Specify root to select X's root window
as the target window."
I couldn't get the name option to work either. (that was an
alternative solution) What exactly is the name of a Window? I get this
from my xwininfo:
****************
xwininfo: Window id: 0xa000de "ImageMagick: 2.jpeg"
[snip]
***************
Can't figure out which one is the name. Tried "ImageMagick: 2.jpeg"
and its parts as feed to -window but didn't work.
--
Rahul
More information about the Magick-users
mailing list