I'm trying to write a script that will create an entry in the messaging menu that shows your to-do list. This way, each item would be a shortcut, and clicking on an item would mark it as done.
I know how to add an entry to the menu, and I know how to add shortcuts below it. My problem right now is having them update in real time. As it is, if edit /usr/share/applications/foo.desktop
to include more shortcuts, my messaging menu entry for foo only updates after I log out and back in again.
How can I change that? Is there a command I can run to update the messaging menu? Is there some other workaround?