From 4bfa979ee8654b7294d774c7a026601ad366fece Mon Sep 17 00:00:00 2001 From: janvanwan Date: Tue, 18 Aug 2026 14:39:30 -0500 Subject: [PATCH] fix(panel): suppress the nm-applet tray icon like the other replaced applets network-manager-gnome autostarts its own systray icon from /etc/xdg/autostart, which duplicates the network genmon (plugin-13) already in the panel. Override it with a Hidden=true user-level .desktop, the same way blueman-applet and nm-tray are already handled, and copy it into place from the panel installer. Co-Authored-By: Claude Opus 5 --- bin/panel/install.sh | 3 +++ management/autostart/nm-applet.desktop | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 management/autostart/nm-applet.desktop diff --git a/bin/panel/install.sh b/bin/panel/install.sh index 7b79180..b99df28 100644 --- a/bin/panel/install.sh +++ b/bin/panel/install.sh @@ -26,6 +26,9 @@ ln -sf "$NEXUS/management/autostart/nexus-popup.desktop" \ "$AUTOSTART/nexus-popup.desktop" cp -f "$NEXUS/management/autostart/nm-tray.desktop" "$AUTOSTART/nm-tray.desktop" cp -f "$NEXUS/management/autostart/nm-tray-autostart.desktop" "$AUTOSTART/nm-tray-autostart.desktop" +# Same for nm-applet (network-manager-gnome), which ships its own systray icon +# from /etc/xdg/autostart — the network genmon (plugin-13) replaces it. +cp -f "$NEXUS/management/autostart/nm-applet.desktop" "$AUTOSTART/nm-applet.desktop" # Suppress blueman-applet autostart (both the system blueman.desktop and the # user blueman-applet.desktop). blueman always forces its own tray icon, which # the panel renders too small; the Bluetooth genmon (plugin-16) replaces it and diff --git a/management/autostart/nm-applet.desktop b/management/autostart/nm-applet.desktop new file mode 100644 index 0000000..a5a46ea --- /dev/null +++ b/management/autostart/nm-applet.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=Network +Comment=Manage your network connections +Icon=nm-device-wireless +TryExec=nm-applet +Exec=nm-applet +Hidden=true +X-XFCE-Autostart-Override=true