forked from enderofwings/NexusOS
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
f46e53de15
commit
4bfa979ee8
@@ -26,6 +26,9 @@ ln -sf "$NEXUS/management/autostart/nexus-popup.desktop" \
|
|||||||
"$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.desktop" "$AUTOSTART/nm-tray.desktop"
|
||||||
cp -f "$NEXUS/management/autostart/nm-tray-autostart.desktop" "$AUTOSTART/nm-tray-autostart.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
|
# Suppress blueman-applet autostart (both the system blueman.desktop and the
|
||||||
# user blueman-applet.desktop). blueman always forces its own tray icon, which
|
# 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
|
# the panel renders too small; the Bluetooth genmon (plugin-16) replaces it and
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user