scripts/update-bookmarks
author insilmaril
Thu, 19 Mar 2009 11:48:33 +0000
branchrelease-1-12-maintained
changeset 62 85683324f94a
permissions -rwxr-xr-x
Added traditional chinese and KDE4 support
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