From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-amd64+bounces-12095-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1N3aN6-0007As-D5
	for garchives@archives.gentoo.org; Thu, 29 Oct 2009 19:09:26 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 51B70E0996;
	Thu, 29 Oct 2009 19:09:07 +0000 (UTC)
Received: from mail-yw0-f191.google.com (mail-yw0-f191.google.com [209.85.211.191])
	by pigeon.gentoo.org (Postfix) with ESMTP id 331F0E0996
	for <gentoo-amd64@lists.gentoo.org>; Thu, 29 Oct 2009 19:09:07 +0000 (UTC)
Received: by ywh29 with SMTP id 29so1967116ywh.32
        for <gentoo-amd64@lists.gentoo.org>; Thu, 29 Oct 2009 12:09:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:received:in-reply-to
         :references:date:x-google-sender-auth:message-id:subject:from:to
         :content-type;
        bh=Psbs4H+lhlyELftKs4EqJDNcQp0rT2PNzqzdpUs1JLs=;
        b=BehdMomLMo0oGyi6DblOcPZBOx7XTFzShOVB0AZ9Bu9i0dn+z17vZYHJ0SiV7f9f/O
         GOkQNNVCjb71FLePmYb6h229nX52XrhwO7X8UwVVrObGbHvytF2/c5IA2/IcRjK4GQ/V
         5pyG73cBHIQG8kftF/wMXzH5T0hWew1C74JP0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:date
         :x-google-sender-auth:message-id:subject:from:to:content-type;
        b=neMgbshtEuRf2t3rvvru3SsOKwK3nDQUbGC+5r0GzI8X8ooq4oxCVE7LABtDel0c6k
         +euuF9jVfIeKrQ03+7e/07YuLD0ZFKuNW4OS+l+qllwAgSxykHuAxDvFJsacsoQvbcMb
         EYwfnOjkdQq7dLzOPPTFSp8hJGB+eOFLl3JMo=
Precedence: bulk
List-Post: <mailto:gentoo-amd64@lists.gentoo.org>
List-Help: <mailto:gentoo-amd64+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-amd64+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-amd64+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-amd64.gentoo.org>
X-BeenThere: gentoo-amd64@lists.gentoo.org
Reply-to: gentoo-amd64@lists.gentoo.org
MIME-Version: 1.0
Sender: paul.hartman@gmail.com
Received: by 10.150.119.23 with SMTP id r23mr1016143ybc.169.1256843346880; 
	Thu, 29 Oct 2009 12:09:06 -0700 (PDT)
In-Reply-To: <hcco0e$5vs$1@ger.gmane.org>
References: <1256829938.31600.61.camel@caguiar-gentoo.madeiratecnopolo.pt>
	 <hcco0e$5vs$1@ger.gmane.org>
Date: Thu, 29 Oct 2009 14:09:06 -0500
X-Google-Sender-Auth: d7abbc83ba250d5a
Message-ID: <58965d8a0910291209r11c7048fib0bc2e7dc4307a6c@mail.gmail.com>
Subject: Re: [gentoo-amd64] Re: Wine menus
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
X-Archives-Salt: 5903aefd-2611-4cc6-9a27-7206e00e4895
X-Archives-Hash: 542defac20e5896bd744a2e45928a8bb

On Thu, Oct 29, 2009 at 1:47 PM, Nikos Chantziaras <realnc@arcor.de> wrote:
> On 10/29/2009 05:25 PM, Clemente Aguiar wrote:
>>
>> Ever since the upgrade of Gnome to 2.2.6 I have had a problem with the
>> Wine menus.
>>
>> Actually the Wine menus are gone and the individual icons for the
>> windoze apps, such as Winamp, are now scatter under the menu "Others".
>>
>> One interesting bit, is that if I delete the
>> $HOME/.config/menus/gnome-applications.menu file, I get the correct Wine
>> menu structure, but the moment I open the Menu Editor (alacarte), it
>> creates a new $HOME/.config/menus/gnome-applications.menu and the Wine
>> menu structure disappears and the icons all end up in the "Others"
>> category.
>>
>> Does anybody else have this problem? Can anybody help me?
>
> That is quite peculiar since the same happens with KDE4 (where it was
> working OK in KDE3).

I haven't tried it, but this looks like it may contain a solution/workaround:

http://wiki.archlinux.org/index.php/Wine#KDE_4_Menu_Fix.5B1.5D

(quoting that page from here on)

 KDE 4 Menu Fix[1]

The Wine menu items may appear in "Lost & Found" instead of the Wine
menu for KDE 4. This is because kde-applications.menu is missing the
MergeDir option.

Edit /etc/xdg/menus/kde-applications.menu

At the end of the file add <MergeDir>applications-merged</MergeDir>
after <DefaultMergeDirs/>, it should look like this:

        <Include>
                <And>
                        <Category>KDE</Category>
                        <Category>Core</Category>
                </And>
        </Include>
        <DefaultMergeDirs/>
        <MergeDir>applications-merged</MergeDir>
        <MergeFile>applications-kmenuedit.menu</MergeFile>
</Menu>

Alternatively you can create a symlink to a folder that KDE does see:

ln -s ~/.config/menus/applications-merged
~/.config/menus/kde-applications-merged

This has the added bonus that an update to KDE won't change it, but is
per user instead of system wide.