You are not logged in.

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