From 96c18428987bdfd6fd70bdfde1a3c1c4d3b90cfa Mon Sep 17 00:00:00 2001 From: laki Date: Thu, 29 Jan 2026 22:13:03 +0000 Subject: Initial commit for nm-applet-fix --- README.md | 21 +++++++++++++++++++++ install.sh | 19 +++++++++++++++++++ nm-applet | Bin 0 -> 1033912 bytes 3 files changed, 40 insertions(+) create mode 100644 README.md create mode 100644 install.sh create mode 100755 nm-applet diff --git a/README.md b/README.md new file mode 100644 index 0000000..fd115bf --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# nm-applet Styling Fix + +This package contains a fixed version of the **Network Manager Applet**, patched to include the `LibAyatana-AppIndicator` which enables consistent tray icon styling in MATE and XFCE, on some themes like DarkMint, DarkCold, etc. + +## Installation +Run the installation script as root: +```bash +sudo bash install.sh +``` + +## Applying Changes +Restart the network icon: +```bash +killall nm-applet +nm-applet & +``` + +## Uninstallation +```bash +sudo apt-get install --reinstall network-manager-applet +``` diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..32b2cbe --- /dev/null +++ b/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# nm-applet-fix - Installation Script +set -e + +if [ "$EUID" -ne 0 ]; then + echo "Please run as root (use sudo)." + exit 1 +fi + +echo "Installing patched nm-applet..." + +NM_APPLET_BIN="/usr/bin/nm-applet" + +cp -v nm-applet "$NM_APPLET_BIN" +chmod +x "$NM_APPLET_BIN" + +echo "Installation complete!" +echo "To apply the changes: killall nm-applet; nm-applet &" diff --git a/nm-applet b/nm-applet new file mode 100755 index 0000000..58e39c1 Binary files /dev/null and b/nm-applet differ -- cgit v1.2.3-70-g09d2