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

From: cbfk23 (cbfk23_at_usa.com)
Date: 04/29/04


Date: 29 Apr 2004 02:24:39 -0700

Chuck Dillon <spam@nimblegen.com> wrote in message news:<c6ouhm$rtq$1@grandcanyon.binc.net>...
> cbfk23 wrote:
>
> > 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
>
> 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



Relevant Pages

  • Re: Help: raising x-window on top of a display through HPUX shell command?
    ... > through any shell commands or shell script? ... To raise the window you need to determine it's window id. ... You might want to follow-up to comp.windows.x and/or an HP-UX specific ...
    (comp.unix.programmer)
  • Re: bug or feature - obscured modal dialogs?
    ... Bryan Oakley wrote: ... I specifically have a binding that tells the main window to raise when you click in ".". ...
    (comp.lang.tcl)
  • Re: [kde] Kopete and its notifications
    ... but I dont like the sound even I am writing in the window that produce ... It doesn't look like you can raise the taskbar, ... Another option would be to out the system tray applet onto a child panel ...
    (KDE)
  • Re: Events dont work using C# & SetNotifyWindow
    ... If you need extra info, ... raise the thread from the thread which created it. ... the atl dll which contains the ds code a CWindow. ... message to that window when the DS event is raised, ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Problem with My Documents
    ... but I have no idea how to do a system restore. ... "neil" wrote: ... > taskbar and desktop icons dissapear for a little while, ... > the open window came up, Photoshop crashed. ...
    (microsoft.public.windowsxp.help_and_support)