qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ryan Rempel <rgrempel@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] A shell script to bring the qemu window to the front in KDE?
Date: Tue, 5 Apr 2005 16:54:38 -0500	[thread overview]
Message-ID: <fb5ec423050405145417c7d648@mail.gmail.com> (raw)

I'm writing a little wrapper-style shell script to start qemu up with
the appropriate parameters for my setup -- the idea would be to insert
this into a KDE menu. One thing I'd like the wrapper to do is figure
out whether qemu is currently running, and if so, simply bring its
window to the front (rather than launching a second instance -- which
is kind of impressive in its own way, but ...).

Figuring out whether qemu is currently running isn't that hard, but
I'm having trouble figuring out how to bring its window to the front.
I guess this may really be a KDE question or an X Window question, or
an SDL question, but I figured I'd ask here, as someone must have
solved it before (I hope).

I hunted around a little for answers, and found some stuff that
applies to "native" KDE applications (i.e. using dcop), but I didn't
find a more general X Window (or SDL) answer -- but I'm not at all
sure I was looking in the right places.

                 reply	other threads:[~2005-04-05 21:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fb5ec423050405145417c7d648@mail.gmail.com \
    --to=rgrempel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).