[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    Re: [Cooker] KDE3: Panel crashes
From:       Borsenkow Andrej <Andrej.Borsenkow () mow ! siemens ! ru>
Date:       2002-04-14 18:19:06
[Download RAW message or body]

   ñê, 14.04.2002, â 21:01, Alexander Skwar íàïèñàë:
> »Danny Tholen« sagte am 2002-04-14 um 14:12:32 +0200 :
> > another reason can be: duplicate entries in /usr/lib/menu, read about it here:
> > http://www.pclinuxonline.com/modules.php?name=News&file=article&sid=1850
> 
> Hm, he says:
> 
> In my case there were 2 files who wrote in the same foobar.desktop file.
> 
> Where is the output file specified?  Is it the entry for "kde_filename"?
> 

Indirectly. It is here (/etc/menu-methods/kde3 and resp.
simplified/kde3; everything is actually one line):

genmenu=parent($section) "/" ifeqelse($kde_filename, "", $title,
$kde_filename) ifeqelse($command, "", "/.directory", ".desktop") ""


Yes. usually it is a problem of mixed installation (both KDE2 and KDE3)
that specify the same output file.

One fix is somewhat deep modification of files in /usr/lib/menu (so that
KDE2 menu methods process only KDE2 files and KDE3 menu methods process
only KDE3 files). But may be you are right ... assuming we change it to
something like

genmenu=parent($section) "/" ifeqelse($kde_filename, "", $title,
$kde_filename) "-kde3" ifeqelse($command, "", "/.directory", ".desktop")
""

this will result in e.g. konsole.desktop for KDE2 and
konsole-kde3.desktop for KDE3.

-andrej

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic