scripts/update-bookmarks
author insilmaril
Fri, 05 Mar 2010 20:16:46 +0000
branchrelease-1-12-maintained
changeset 80 5c5b4464b24f
parent 62 85683324f94a
permissions -rwxr-xr-x
Some changes by Tagg for Win version
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