A lightweight, Python-based graphical user interface for managing network interfaces on Linux systems using GTK+ 3.
⚠️ Work in Progress: This project is currently under active development. Features may change or be unstable.
- Interface Management: View status, MAC, and IP addresses. Toggle interfaces UP/DOWN.
- DHCP & Static IP: Easily switch between DHCP and manual configuration (IP, Subnet, Gateway).
- DNS Configuration: Set primary and secondary DNS servers.
- Auto-Sudo: Automatically requests privileges when needed.
- Linux with Python 3.x
- GTK+ 3.0 & PyGObject (
python3-gi) iproute2
git clone https://github.com/samyabdellatif/netui-gtk
cd netui-gtk
# Install dependencies (Debian/Ubuntu example)
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 iproute2
# Run
python3 -m netui-gtkCreate a single executable file that runs on most Linux distributions (Fedora, Arch, etc.) without requiring Python installation.
-
Install PyInstaller:
pip3 install pyinstaller
-
Build the binary:
chmod +x netui-gtk/build.sh ./netui-gtk/build.sh
The executable will be located in
netui-gtk/dist/netui-gtk.
For native installation on Debian, Ubuntu, Linux Mint, and Kali Linux.
-
Run the build script:
chmod +x netui-gtk/build_deb.sh ./netui-gtk/build_deb.sh
-
Install the package:
sudo apt install ./netui-gtk/dist/netui-gtk_*.deb
This project is licensed under the MIT License.
Created by Samy Abdellatif. Includes code from pynetlinux.