For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > April 2004 > Help: raising x-window on top of a display through HPUX shell command?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Help: raising x-window on top of a display through HPUX shell command?
cbfk23

2004-04-28, 1:51 pm

Does anyone know anyway to raise an x-window on top of a display
through any shell commands or shell script?
Information about the particular x-window I'd like to raise should be
anything can be got by "ps" command.

Your help is very much appreciated.

Neil
cbfk23

2004-04-29, 8:10 am

Chuck Dillon <spam@nimblegen.com> wrote in message news:<c6ouhm$rtq$1@grandcanyon.binc.net>...
> cbfk23 wrote:
>
>
> To raise the window you need to determine it's window id. If you can
> reliably determine the name/title of the window from ps you can look up
> the id using that string (see man xwininfo and the -name feature).
>
> Play with "xwininfo -root -tree", xlswins and xlsclients to
> characterize what you can determine about the application's X properties.
>
> Can you use one of those X clients to identify the window rather than ps?
>
> Assuming you can identify the id, there's no standard X client for
> raising the window. Does HP-UX include the dtksh (which is a ksh with
> built in X call support)? If so, you could call XRaiseWindow from it.
> Otherwise you probably need to write a little X application to do the
> raise.
>
> You might want to follow-up to comp.windows.x and/or an HP-UX specific
> group.
>
> -- ced


Thanks a lot for the information which is helpful for me. I can't
control the name of the X-window and the name seems to be not unique.
I tried to run dtksk and I got "command not found".

Any information on the little application" to do the raise?

Neil
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com