kproxyswitch

Network

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
6.1

Available as/for:
Description:
kproxyswitch

is a simple bash script, which makes setting the proxy server easier. The setting applies to Konqueror and all other applications that use the global proxy setting.

If you have to change proxies from time to time - or switch the proxy off and on again - you'll like the possibilty to bind this script to a keyboard/menu/... shortcut and thus be able to switch the proxy faster than going through the menus of Konqueror or System Settings.
Last changelog:

0.1: Initial release.
0.2: Small changes: added two apps (randr, nspluginviewer) to blacklist, made output more verbose.
0.3: Ported to KDE4 by Abhijit Bhopatkar (thanks!); Added error handling in case the configuration file does not exist (thanks to mlogic)


Ratings & Comments

9 Comments

Lexei

Will be there new features, such as autochange proxy every X minutes using a custom list of addresses in the future? It could be very usefull...

mlogic

kproxyswitch is a good script and I've been used it for a long time. Thanks! I've met a problem with kproxyswitch today, on a new machine. kproxyswitch simply changes proxy settings in "~/.kde/share/config/kioslaverc". However, if the user hadn't set proxy before, there's no proxy settings in "~/.kde/share/config/kioslaverc", then running kproxyswitch looks OK but actually no proxy is set anywhere. This happens often on newly installed machines. Perhaps we need to handle this situation.

atordo

This script is very useful for those of us who prefer the speed and simplicity of command line to GUI menus. Thanks for it.

Ludootje
padde

Yes, sorry for that :( I changed the folder structure of my webserver without remembering this page linking to my script.

bugmenot

nice bash script. I use it every week. Thank you. Suggestion: I have to change the proxy of firefox (here 2.0), too. Can you implement it in you bashs script as an option.

Ludootje

I *think* it shouldn't be too hard to do this. I have exams now, but if you want I can have a look at this afterwards. If you're still interested, send me an e-mail in February (ludootje at linux dot be).

padde

I just looked into it... I don't find a way to "tell" Firefox to change settings like it's possible with KDE apps through dcop. Editing the config file would be possible for the script, but then Firefox would have to be closed while executing the script, which is not very convenient. I guess a Firefox extension (ProxySwitcher or something like that) would be a more feasible solution.

Ludootje

Hmm you're right. I was actually thinking about changing the config file. But like you said - that would require firefox to be closed. I didn't consider that to be a big problem, but I guess you're right.

Pling
0 Affiliates
Details
license
version 0.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Network:

NzbPower
thejol
last update date: 19 years ago

Score 5.0

nzb
mnordstr
last update date: 13 years ago

Score 5.0

KNewz
ChaosWars
last update date: 17 years ago

Score 5.0

KLibido (Usenet binaries downloader)
bauno
last update date: 19 years ago

Score 5.0

Kwooty
kwooty
last update date: 11 years ago

Score 7.7

PANDO for Linux
Sephiroth6779
last update date: 18 years ago

Score 5.0



System Tags