scripts/update-bookmarks
author insilmaril
Tue, 01 Dec 2009 11:06:41 +0000
branchrelease-1-12-maintained
changeset 78 1a72c8f24c6e
parent 62 85683324f94a
permissions -rwxr-xr-x
Fixed selection which didn't show sometimes
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