Initial commit for nm-applet-fix
This commit is contained in:
commit
96c1842898
21
README.md
Normal file
21
README.md
Normal file
@ -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
|
||||||
|
```
|
||||||
19
install.sh
Normal file
19
install.sh
Normal file
@ -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 &"
|
||||||
Loading…
Reference in New Issue
Block a user