Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Mar 2005 13:12:02 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Radek Kozlowski" <radek@raadradd.com>
Cc:        gnome@freebsd.org
Subject:   Re: Is something wrong with gnome-menus-2.10.1?
Message-ID:  <opsn5oychv9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20050324183451.GI18583@werd>
References:  <20050324163006.GG18583@werd> <opsn5id5029aq2h7@mezz.mezzweb.com> <opsn5jhdqr9aq2h7@mezz.mezzweb.com> <20050324173748.GH18583@werd> <opsn5lijap9aq2h7@mezz.mezzweb.com> <20050324183451.GI18583@werd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Mar 2005 19:34:51 +0100, Radek Kozlowski <radek@raadradd.com>  
wrote:

> On Thu, Mar 24, 2005 at 11:57:45AM -0600, Jeremy Messenger wrote:
>> On Thu, 24 Mar 2005 18:37:48 +0100, Radek Kozlowski <radek@raadradd.com>
>> >The weird thing is that there are some apps shown by Menu Editor that  
>> do
>> >not appear in the menu:
>> >
>> >Office -> Abiword
>> >Internet -> Firefox
>> >Sound and Video -> VideoLAN Media Player
>>
>> Try to do the 'killall -HUP gnome-panel" or restart your desktop to see  
>> if
>> those will appear again.
>
> Tried that already, didn't help.
>
>> >and there are apps and categories not shown by Menu Editor that appear
>> >in the menu, like KDE category, the second Internet category, .hidden
>> >stuff and also Internet -> Kadu.
>>
>> I don't think the ~/.hidden is a standard. I am not sure why gnome-menus
>> finds it, but I will have to install KDE to find out what 3.4 has  
>> changed.
>> As for Kadu, I took a look at port and it looks like it doesn't pick up
>> because kadu.desktop doesn't has any of 'Categories' entry or maybe it
>> doesn't know about different paths yet. You can try to add
>> "Categories=Application;Network;" in your kadu.desktop and see what  
>> happen
>> when you restart menu-editor.
>
> Ok so it looks like the double entries and the Internet category in the
> Desktop menu could be caused by this:

No, it's not. It's just because it has two kadu.desktop. There are few  
ports that has support both KDE/GNOME like wesnoth, opera, opera-devel,  
linux-opera and etc. I bet those will be appear in the menu double.

>> pkg_info -L pl-kadu\* | grep .desktop
> /usr/local/share/applnk/Internet/kadu.desktop
> /usr/X11R6/share/gnome/apps/Internet/kadu.desktop
>
> and also the lack of Categories in the desktop file itself (adding it
> makes the Internet category disappear from the Desktop menu - thanks for
> the tip; however, menu-editor still doesn't show kadu). The only thing I
> don't get is why it broke after upgrading gnome-menus from 2.10.0 to
> 2.10.1.

It's not broke. It's fixed that was a LegacyDir bug. If there are two  
.desktop and it will display two in the menu, so it's why I made my  
comment about two prefixes. We need to get any DE/WM to share single  
${LOCALBASE}/share/applications/ for all .desktop files.

As for menu-editor, it looks like it doesn't understand the LegacyDir or  
maybe it's py-xdg that don't understand LegacyDir  
(${X11BASE}/share/gnome/apps/).

> The .hidden categories, on the other hand, appear probably because of  
> those two files:
>
>> pkg_info -L k3b\* | grep desk
> /usr/local/share/applnk/.hidden/k3b-cue.desktop
> /usr/local/share/applnk/.hidden/k3b-iso.desktop
> [..]

This is nasty, KDE needs to fix this. I can't find anything about .hidden  
in the standard over at http://standards.freedesktop.org/ .

Cheers,
Mezz

> Now to figure out why some stuff disappeared from the menu..
>
> -Radek


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsn5oychv9aq2h7>