scripts/update-bookmarks
author insilmaril
Thu, 26 Mar 2009 07:49:17 +0000
changeset 746 ee6b0f3a4c2f
parent 744 94ed4372ef08
child 781 6cbf3c9cbd21
permissions -rwxr-xr-x
Notes work again (to some degree)
     1 #!/bin/bash
     2 
     3 # Look for running konquerors and notify them of changed bookmarks file
     4 dcop | grep konqueror- |  xargs -iKONQUI dcop KONQUI KBookmarkManager-$HOME/.kde/share/apps/konqueror/bookmarks.xml notifyCompleteChange "dcop"
     5 
     6 
     7 # And now the same using QDBUS in KDE 4:
     8 
     9 qdbus| grep konqueror- |  xargs -iOBJECT qdbus OBJECT /KBookmarkManager/konqueror org.kde.KIO.KBookmarkManager.notifyCompleteChange
    10 #qdbus| grep konqueror- |  xargs -iOBJECT qdbus OBJECT /KBookmarkManager/kfilePlaces org.kde.KIO.KBookmarkManager.notifyCompleteChange