How to avoid duplicate entries in desktop system menu?

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Sun Feb 6 12:49:31 CET 2005


Brian J. Tarricone wrote:
> Benedikt Meurer wrote:
> 
>> Christian wrote:
>>
>>>>> Hmm, I have moved /usr/share/applications/qalculate.desktop to
>>>>> kde-qalculate.desktop and executed an "xfdesktop -reload", but the two
>>>>> entries are still there.
>>>>
>>>>
>>>>
>>>> Try rm -rf ~/.cache/xfce4/menu-cache/ and restarting xfdesktop
>>>> afterwards. If that doesn't fix the problem, then we have a bug 
>>>> here. ;-)
>>>
>>>
>>>
>>> Ok, I have done that... The two entries are still there :-(
>>
>>
>>
>> Yap, indeed, you triggered a bug here. That one will be fixed, when 
>> its imported/rewritten for Xfce 4.4.
> 
> i don't think so.  i specifically started checking desktop-ids after you 
> (benedikt) mentioned it to me.  i quickly ran through the code, and it 
> is indeed doing that for both normal files and legacy location files.  
> perhaps there's another file floating around somewhere?

We're talking about the xfdesktop-ng code; the bug is in 
xdg-desktop-support, where the desktop-id for legacy dirs includes the 
subdirs as well, which it shouldn't (atleast if I understood the spec 
correctly), e.g.

  /usr/share/applnk/Utilities/qalculator.desktop

will result in kde-Utilities-qalculator.desktop, which isn't correct.

>    -brian

Benedikt



More information about the Xfce mailing list