You are not logged in.

#1 2006-08-19 22:34:21

Askadar
Member
Registered: 2004-08-10
Posts: 10

qnetcfg - a network profile switching GUI

I have created a small Python/PyQT front end to /usr/bin/netcfg. The script offers the user a list of all detected profiles. The actual profile switching is left to netcfg. If you put a shortcut on your desktop or on your taskbar qnetcfg offers a convenient way for fast profile switching.


The script needs to be run as root because the access to /etc/network-profiles is restricted. I recommend using sudo.

Feedback very welcome!

Download:
http://user.cs.tu-berlin.de/~askadar/qn … fg-0.1.tgz

Screenshots:

Choose a profile:
qnetcfg.png

Make the switch:
qnetcfg_switching.png

Offline

#2 2006-08-20 08:19:32

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,432
Website

Re: qnetcfg - a network profile switching GUI

Yeah, great stuff!  I think a gtk one might have been more popular though tongue

Offline

#3 2006-08-20 15:23:17

Askadar
Member
Registered: 2004-08-10
Posts: 10

Re: qnetcfg - a network profile switching GUI

dtw wrote:

I think a gtk one might have been more popular though tongue

Well, I just happen to use (and like) KDE. wink

Offline

#4 2006-09-13 23:32:33

VLegacy
Member
From: Vienna, VA, USA
Registered: 2005-01-29
Posts: 40

Re: qnetcfg - a network profile switching GUI

Another possible way to get it to run as root would be to make a KDE desktop or menu shortcut to the script and set it to run as root. For a menu item:

Run kmenuedit -> new shortcut -> fill in the appropriate fields about the name and command, then check "Run as a different user" and enter "root" in the text field.

For a desktop shortcut:

Right click on the desktop -> new -> Link to application -> Application tab -> fill in fields -> Advanced Options -> check "Run as a different user" and enter "root" in the text field.

Offline

Board footer

Powered by FluxBB