author | insilmaril |
Tue May 26 11:24:51 2009 +0000 (2009-05-26) | |
changeset 774 | 2f002657dada |
parent 744 | 94ed4372ef08 |
child 781 | 6cbf3c9cbd21 |
permissions | -rwxr-xr-x |
insilmaril@305 | 1 |
#!/bin/bash |
insilmaril@305 | 2 |
|
insilmaril@305 | 3 |
# Look for running konquerors and notify them of changed bookmarks file |
insilmaril@305 | 4 |
dcop | grep konqueror- | xargs -iKONQUI dcop KONQUI KBookmarkManager-$HOME/.kde/share/apps/konqueror/bookmarks.xml notifyCompleteChange "dcop" |
insilmaril@744 | 5 |
|
insilmaril@744 | 6 |
|
insilmaril@744 | 7 |
# And now the same using QDBUS in KDE 4: |
insilmaril@744 | 8 |
|
insilmaril@744 | 9 |
qdbus| grep konqueror- | xargs -iOBJECT qdbus OBJECT /KBookmarkManager/konqueror org.kde.KIO.KBookmarkManager.notifyCompleteChange |
insilmaril@746 | 10 |
#qdbus| grep konqueror- | xargs -iOBJECT qdbus OBJECT /KBookmarkManager/kfilePlaces org.kde.KIO.KBookmarkManager.notifyCompleteChange |