Getting KDE to refresh menus
Pierre Ossman
ossman at cendio.se
Wed Dec 14 14:01:14 GMT 2005
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. :)
>
>>kbuildsycoca refreshes the menu and gets KDE to pick up any changes. But
>>most users will do a su in a console when installing the package, so it
>>will refresh root's menu, not the current user (or any other users
>>currently logged on).
>
>
> You could try to tell Kicker (the panel) to re-configure by DCOP
> dcop --user username kicker kicker configure
>
> in case of a script run by root
>
> dcop --all-users kicker kicker configure
>
Had no effect...
--
Rgds
Pierre Ossman Telephone: +46-13-21 46 00
Cendio AB Web: http://www.cendio.com
___________________________________________________
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