[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde
Subject:    Re: [kde] Automatic proxy configuration for KDE (cont.)
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2005-07-13 7:40:28
Message-ID: 200507130940.28430.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org

[Attachment #5 (application/pgp-signature)]

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic