dhcpcd-ui

From Gentoo Wiki
Jump to: navigation, search

This article is a stub. You can help by expanding it.
Resources

dhcpcd-ui[1] provides the user interface and the graphical gtk and gtk3 (qt5 is under development[2][3]) user interfaces for the net-misc/dhcpcd package.

Installation

USE flags

To get one of the graphical user interfaces enable the respective USE flag.

USE flags for net-misc/dhcpcd-ui Desktop notification and configuration for dhcpcd

debug Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces global
gtk Add support for x11-libs/gtk+ (The GIMP Toolkit) global
gtk3 Add support for x11-libs/gtk+ (The GIMP Toolkit) local
libnotify Enable desktop notification support global

Support for qt4 has been removed with commit 43f5c510450633d249f596fcc4f74255df76bb73 bug #630638.

Emerge

Then install dhcpcd-ui and remove dhcpcd from the world file:

root #emerge --ask net-misc/dhcpcd-ui
root #emerge --ask --deselect=y net-misc/dhcpcd

Building from source

Alternatively, for installing the bleeding edge[4] of dhcpcd-ui you can use the live ebuild from the bar overlay[5].

root #USE=git emerge app-portage/layman
root #layman -a bar
root #emerge --ask =net-misc/dhcpcd-ui-9999:bar
root #emerge --ask --deselect=y net-misc/dhcpcd

Configuration

Uncomment the controlgroup line in /etc/dhcpcd.conf:

FILE /etc/dhcpcd.conf
# Allow users of this group to interact with dhcpcd via the control socket.
controlgroup wheel

Change group and permissions of /etc/dhcpcd.conf in order to make it writable for the user interface:

root #chgrp wheel /etc/dhcpcd.conf
root #chmod g+w /etc/dhcpcd.conf


Usage

tbd

External resources

References