Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've created a menu item using xdg-desktop-menu install mycompany-myapp.desktop. Unfortunately, the menu item does not occur immediately on Ubuntu 11.10, but I need to log out and in again. Is there a possibility to force a menu refresh, so it occurs immediately?

share|improve this question
add comment

2 Answers

xdg-desktop-menu has an forceupdate option according to the man page.

share|improve this answer
1  
"This command is only useful if the last call to xdg-desktop-menu included the --noupdate option." –  Mike L. Dec 30 '11 at 8:48
add comment
up vote 0 down vote accepted

Don't know what caused the changes, but now when I invoke xdg-desktop-menu install mycompany-myapp.desktop or xdg-desktop-menu uninstall mycompany-myapp.desktop the menu is automatically refreshed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.