scripts/update-bookmarks
author insilmaril
Wed, 22 Jul 2009 11:47:03 +0000
branchrelease-1-12-maintained
changeset 70 e3a85616dbc5
parent 62 85683324f94a
permissions -rwxr-xr-x
Empty branches are always unscrolled after import, relinking to scrolled branch doesn't open branch
insilmaril@62
     1
#!/bin/bash
insilmaril@62
     2
insilmaril@62
     3
# Look for running konquerors and notify them of changed bookmarks file
insilmaril@62
     4
dcop | grep konqueror- |  xargs -iKONQUI dcop KONQUI KBookmarkManager-$HOME/.kde/share/apps/konqueror/bookmarks.xml notifyCompleteChange "dcop"
insilmaril@62
     5
insilmaril@62
     6
insilmaril@62
     7
# And now the same using QDBUS in KDE 4:
insilmaril@62
     8
insilmaril@62
     9
qdbus| grep konqueror- |  xargs -iOBJECT qdbus OBJECT /KBookmarkManager/konqueror org.kde.KIO.KBookmarkManager.notifyCompleteChange