Changing the Web browsers cache setting through dcop

Kevin Krammer kevin.krammer at gmx.at
Wed Nov 22 00:30:33 GMT 2006


On Tuesday 21 November 2006 21:06, Michael Stucki wrote:
> Hi folks,
>
> I have written a small script that checks for a network connection during
> suspend/resume.
>
> If there is no network, kmail will be configured to be offline, for
> example.
>
> This works pretty good using these commands:
> | /usr/bin/dcop --user <myuser> kmail KMailIface stopNetworkJobs
> | /usr/bin/dcop --user <myuser> kmail KMailIface resumeNetworkJobs
>
> Now I would like to configure the konqueror cache in a same way. I can
> change this setting through
>
> kcontrol -> Internet & Network -> Web Browser -> Cache
>
> However, I didn't find a way to control this via dcop. Does anybody know if
> it is possible?

Cache settings could be part of a configuration file, possibly one for the IO 
slaves.

One can use kwriteconfig to change values in those files, however having 
application reload them might be difficult (possible though, there is a 
script on kde-apps.org which does this to re-read proxy settings)

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20061122/60f6ef4a/attachment.sig>
-------------- next part --------------
___________________________________________________
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.


More information about the kde mailing list