scripts/update-bookmarks
author insilmaril
Mon, 08 Jun 2009 11:36:56 +0000
changeset 776 25e634a7e1dc
parent 746 ee6b0f3a4c2f
child 781 6cbf3c9cbd21
permissions -rwxr-xr-x
Images basically work (again)
     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