qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Danny Milosavljevic" <danny.milo@scratchpost.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] freedesktop integration
Date: Sun, 13 Aug 2006 19:10:36 +0000 (UTC)	[thread overview]
Message-ID: <ebntfb$4uo$1@sea.gmane.org> (raw)

Hi,

I suggest you add the files from 

http://www.scratchpost.org/patches/desktop.zip

or something to that extent to enable proper UNIX desktop integration to
qemu.

I'm sure my patches are still lacking, but it's just to hint at what is
still needed.

The file "qemu.desktop" registers the application. Since it is not useful
to display an application that doesn't run without parameters in the
menus, "NoDisplay=true" is set. However, it is still useful because the
"MimeType" key denotes which file types can be handled and so a file
manager knows that for example an ISO9660 image file can be "opened"
(booted) with qemu.

I also hinted at "Desktop Action"s in there. It is commented out, but if
you want, you can add additional actions that make sense that the
file manager will show to the user to select from (i.e. if you want it to
say "Boot" instead of/in addition to "Open" :)).

I added a (very creative ;)) icon, in both a image/png version (used by
most of UNIX) and a image/x-ms-bmp file (seems to be preferred by SDL).

I patched "sdl.c" to set the window icon accordingly (which is nice since
I have an icon-only taskbar) and added a very naive "qemu-launch" program
(that currently only handles ISO9660 files properly).

Enjoy :)

cheers,
  Danny

                 reply	other threads:[~2006-08-13 19:25 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='ebntfb$4uo$1@sea.gmane.org' \
    --to=danny.milo@scratchpost.org \
    --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).