You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, May 25th 2007, 1:24pm

[SOLVED] Reload Konqueror Bookmarks via DCOP?

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

This post has been edited 1 times, last edit by "wnp" (May 25th 2007, 10:15pm)


2

Friday, May 25th 2007, 1:49pm

Alternatively, is it possible to create a hierarchical menu for "CustomMenu1"? All I can find is info on a flat menu without submenus.

3

Friday, May 25th 2007, 10:15pm

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..