On Tuesday 12 July 2005 18:29, Andy Teijelo Pérez wrote: > Kevim Krammer said: > > Try this > > dcop $(dcopfind -a konqueror-*) KIO::Scheduler reparseSlaveConfiguration > > http > > Although I didn't know about dcopfind (which... wow, it's great), I did > send that dcop message to the Konqueror instance I had opened, and it > didn't work. But, I have just tried it now and it works. I must have done > something wrong the last time. Anyway, that's a Konqueror only solution. > But I need Amarok, Akregator and maybe others to know about the change. Is > there a way, using dcopfind or anything else, to find all open applications > with a > KIO::Scheduler object to send the message to? A brute force method would be ---------- #!/bin/bash APPS=$(dcop) for app in $APPS; do dcop $app KIO::Scheduler reparseSlaveConfiguration http; done; --------- > > Another possibility might be to use the output of a script instead of a > > value > > in the configuration file. > > KDE's config system supports that. > > Not sure though how often this would be evaluated. > > Sorry, I didn't understand that. Would that be something like > httpProxy=$(something) in ~/.kde/share/config/kioslaverc? Almost. Look for Shell expansion in this document; http://www.kde.org/areas/sysadmin/config_file.php Cheers, Kevin -- Kevin Krammer <kevin.krammer@xxxxxx> Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org
Attachment:
pgpUeZMcPFnC9.pgp
Description: PGP signature
___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.