"Rahul Nabar" on wrote...
| On Thu, Apr 24, 2008 at 8:32 PM,
| <[EMAIL PROTECTED]> 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.
|
display -window 0xa000de rose:
The window will get tiled with the image.
If you really want to do widnow drawing like this you may also like to
look at the program "xwit" which lets you resize, move, iconize etc etc
existing windows.
I use this in my X window startup to resize and position my firefox
windows, and other programs, especially as Gnome Programs is brain dead
when it comes to basic command line options to its X window commands.
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
All computers wait at the same speed.
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users