scripts/update-bookmarks
author insilmaril
Wed, 06 May 2009 09:50:08 +0000
branchrelease-1-12-maintained
changeset 67 6c6aa8d5e9b6
parent 62 85683324f94a
permissions -rwxr-xr-x
Fixed wrong linenumber in error message of XML parser
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