On 23/11/12 13:02, Sergio wrote:
--- Em sex, 23/11/12, jupiter <[email protected]> escreveu:
De: jupiter <[email protected]>
Assunto: Command for updating or refreshing desktop menu
Para: "xdg" <[email protected]>
Data: Sexta-feira, 23 de Novembro de 2012, 6:38
Hi,
Is there any command which can be used to updating or
refreshing desktop menu?
When I install my applications which were added to xfce
desktop menu
on CentOS 6.2, showing the application icon on menu were
not
immediately, sometime I have to close the desktop and start
it again
to see new icons showing on the menu. Not clear if there was
cache to
hold the update or if I need to run some commands to force
the menu
update to be effected immediately. Appreciate any helps.
Thank you.
Kind regards.
Jupiter
It's a job for the package maintainer / package manager to take care of
running update-desktop-database when a .desktop file contains a
MimeType= line
And update-mime-database when /usr/share/mime file is installed
But you can run those too, just run them both, as root to
/usr/share/applications and /usr/local/share/applications and possible
as a user to ~/.local/share/applications, or whatever $XDG_DATA_DIRS
paths you are using
Then if your kernel is properly configured to include INOTIFY support,
and the system glib is compiled properly with a support for inotify,
file changes are immediately picked up
- Samuli
_______________________________________________
xdg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xdg