Introduction to Wicd

Wicd is a network manager written in Python. It simplifies network setup by automatically detecting and connecting to wireless and wired networks. Wicd includes support for WPA authentication and DHCP configuration. It provides Curses- and GTK-based graphical frontends for user-friendly control. An excellent KDE-based frontend is also available http://projects.kde.org/projects/extragear/network/wicd-kde.

This package is known to build and work properly using an LFS 7.8-systemd platform.



Make sure that you disable the systemd-networkd service or configure it not to manage the interfaces you want to manage with Wicd.

Package Information

Wicd Dependencies


Python-2.7.11, D-Bus Python-1.2.4, Wireless Tools-29, and Net-tools-CVS_20101030 (Wicd needs mii-tool from this package)



pm-utils-1.4.1 (for suspend/resume integration), Urwid (for the Curses-based frontend), and Babel (for internationalization)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/wicd

Installation of Wicd

Install Wicd by running the following commands:

sed -e "/detection failed/ a\                self.init=\'init\/default\/wicd\'" \
    -i.orig setup.py &&
rm po/*.po      &&
python setup.py configure --no-install-kde     \
                          --no-install-acpi    \
                          --no-install-pmutils \
                          --no-install-init    \

This package does not come with a test suite.

Now, as the root user, install the package:

python setup.py install

Command Explanations

sed -e ... -i setup.py: This sed prevents setup.py from failing when used on a LFS system.

rm po/*.po: This command removes the international messages associated with this package. The command is required unless Babel is installed. If it is installed, po/ast.po still needs to be removed in order for the build to complete.

--no-install-kde: Prevent installation of an autostart desktop file for KDE. If you use KDE, you should instead install the Wicd KDE Client.

--no-install-acpi: Prevent installation of suspend and resume scripts for acpid. Omit this option if you use acpid.

--no-install-pmutils: Prevent installation of hooks for pm-utils. Omit this option if you use pm-utils.

--no-install-init: Prevent installation of any init scripts, as a bootscript is installed later in the instructions.

--wicdgroup=<group>: The group that will have permission to use the Wicd client (default is the users group).

LANG=C: This environment variable is needed to allow the installation to complete.

Configuring Wicd

Config Files

/etc/wicd/manager-settings.conf, /etc/wicd/wired-settings.conf and /etc/wicd/wireless-settings.conf

Configuration Information

To automatically start Wicd at boot time, you need to first install the Wicd bootscript, /etc/rc.d/init.d/wicd, included in the blfs-systemd-units-20150310 package (as user root):

make install-wicd

Since Wicd will now handle all configuration of network devices, the network bootscript installed by LFS should be disabled. This can be achieved by either removing any S*network and K*network symlinks in the /etc/rc*.d directories or by setting ONBOOT=no in any /etc/sysconfig/ifconfig.* files.

No manual configuration of Wicd is needed if you use the graphical frontends. If you are only going to use Wicd from command-line, you can configure it using the configuration files in /etc/wicd. For a list of available options, look at the man-pages for: wicd-manager-settings.conf, wicd-wired-settings.conf and wicd-wireless-settings.conf.

Be sure to add all users who are to have rights to open and close network connections with Wicd to the users group (or the group specified with the --wicdgroup configuration option).


Installed Programs: wicd, wicd-cli, wicd-client, wicd-curses, and wicd-gtk
Installed Libraries: None
Installed Directories: /{etc,usr/share,var/lib,var/log,var/run}/wicd, /usr/lib/python2.7/site-packages/wicd and /usr/share/doc/wicd-1.7.4

Short Descriptions


is the wicd daemon.


is a command line interface for configuring the wicd daemon.


is the wicd client. This script attempts to automatically choose the relevant configuration interface.


is a curses interface for configuring the wicd daemon.


is a GTK interface for configuring the wicd daemon

Last updated on 2016-01-30 20:43:56 -0600