Well, I figured it out. Here is the dcop commandline for reloading the bookmark.xml file in KDE desktop so it can be used as a mouse menu: dcop kdesktop KBookmarkManager-/home/username/.kde/share/apps/konqueror/bookmarks.xml notifyChanged '' The above is all on one line, "/home/username" should be the path to your home directory, and the last item on the line is two single quotes, i.e. a quoted empty string which is needed so notifyChanged doesn't complain about a missing argument..
Alternatively, is it possible to create a hierarchical menu for "CustomMenu1"? All I can find is info on a flat menu without submenus.
Hello, I am using Konqueror Bookmarks to create a custom rightclick menu for the desktop. I have a perl script running over a directory tree to construct the XML file. How can I get Konqueror to re-load the bookmarks.xml file when I have rebuilt it? Thanks, Wolf Paul
Thank you, this answered my question, if not quite the way I had hoped:-( Wolf
Why do you assume that I didn't read the link you provided? It simply does not address my problem, neither does kservicemenu. I am not concerned with the menu which you get when right-clicking on a directory in Konqueror, but with the menu you get when right-clicking on the Desktop. A quick look at share/apps/konqueror/servicemenus shows that entries on the desktop right-click menu do not come from the files in that directory -- so where do they come from? And for the same reason "kservicemenu" ...
Fedora Core 2 DOES have that menu, just not the "open terminal" entry. I know that one can manually redefine this menu, but as far as I can figure out only from scratch, not adding one entry, as I would like to do. So if the default right-click desktop menu is indeed generated from a directory at runtime, I would appreciate someone telling me where it is. Alternatively, I don't mind rebuilding it from scratch, but there are entries in the default which I wouldn't know how to create, such as Icon...
I have just upgraded to Fedora Core 2 with KDE 3.2.2 and I miss the entry for opening a terminal from the desktop right-click menu. Where is this menu defined? Is this a compile-time or a run-time configuration item? Thanks, Wolf