Getting KDE to refresh menus

Kevin Krammer kevin.krammer at gmx.at
Wed Dec 14 19:45:33 GMT 2005


On Wednesday 14 December 2005 15:01, Pierre Ossman wrote:
> Kevin Krammer wrote:
> > On Wednesday 14 December 2005 09:03, Pierre Ossman wrote:
> >>I'm working on getting some nice desktop integration of our product, and
> >>as part of that I'm trying to get the application to show up on the
> >>menu. If I do this by the book, putting icons in
> >>/usr/share/icons/hicolor/*/apps, touching the top-dir and place a
> >>.desktop file in /usr/share/applications then it works immediatly in
> >>GNOME. KDE isn't so automatic and I can't find a reliable way to do it.
> >
> > Sounds like there is something wrong with the file change notification
> > setup. KDE should watch the directories it is getting the configuration
> > data from and re-read files that changed.
>
> It seems to notice when I put new files there, but it never picks up on
> files being removed. I'm neither a KDE user nor developer so I could use
> some pointers in how to debug this. :)

Hmm, I'd try something like this:
stop kicker
start kdebugdialog and enable debug output for KDirWatch and KDirLister
(those are the areas involved with watching directory changes IIRC)

start kicker in a console window to see its output


> > dcop --all-users kicker kicker configure
>
> Had no effect...

perhaps
dcop kicker Panel configure

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20051214/8e590f8b/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list