YUM, or RPM package command to update desktop menu

Jan Zelený jzeleny at redhat.com
Tue Dec 11 07:28:30 UTC 2012


Hi, 
I think your best option now is to contact maintainer of the package in 
question and ask him to adjust the post-installation scriptlet to do what you 
suggest (if it's possible). However I'm not sure CentOS is actually doing this 
kind of changes against RHEL.

Thanks
Jan

On 11. 12. 2012 at 13:18:05, jupiter wrote:
> Thanks Panu. It doesn't seem work.
> 
> On 12/8/12, Panu Matilainen <pmatilai at laiskiainen.org> wrote:
> > On 12/08/2012 07:53 AM, jupiter wrote:
> >> Hi,
> >> 
> >> Sorry for an off topic subject, I installed an rpm package on CentOS
> >> 6.2, which requires some configuration before all items on the menu
> >> can be seen. After configuration, if I install another package, or if
> >> I reboot the machine, the desktop menu item would be refreshed. Is
> >> there any command in yum or rpm which can be called to update the
> >> desktop menu without installing another package or rebooting 
machine?
> > 
> > Rpm and yum dont know anything about desktop menus and the like, 
its up
> > to individual packages to perform the tasks they need to become usable
> > in their scriptlets (%post etc).
> > 
> > Refreshing the desktop menus typically involves invoking some 
commands
> > to refresh related caches. I dont recall whether this applies to Centos
> > 6.x but at least in recent Fedora versions it's typically
> > 'update-desktop-database' for the menus and 'gtk-update-icon-cache' if
> > the package adds icons. The other package whose installation makes 
your
> > menu item appear is doing these things, check out its scripts to see
> > what exactly its doing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20121211/cdc63b90/attachment.asc>


More information about the Rpm-list mailing list