From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GCLaF-0002Yh-QB for qemu-devel@nongnu.org; Sun, 13 Aug 2006 15:25:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GCLaD-0002Tp-MY for qemu-devel@nongnu.org; Sun, 13 Aug 2006 15:25:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GCLaD-0002TC-54 for qemu-devel@nongnu.org; Sun, 13 Aug 2006 15:25:13 -0400 Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GCLfq-0007ne-LZ for qemu-devel@nongnu.org; Sun, 13 Aug 2006 15:31:02 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GCLa2-0003uK-Ag for qemu-devel@nongnu.org; Sun, 13 Aug 2006 21:25:02 +0200 Received: from cm74-32.liwest.at ([212.241.74.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Aug 2006 21:25:02 +0200 Received: from danny.milo by cm74-32.liwest.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Aug 2006 21:25:02 +0200 From: "Danny Milosavljevic" Date: Sun, 13 Aug 2006 19:10:36 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: news Subject: [Qemu-devel] freedesktop integration Reply-To: danny.milo@scratchpost.org, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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