moonarch-vpn: duplicate notifications after nmcli migration #4

Closed
opened 2026-04-07 08:14:51 +02:00 by nevaforget · 0 comments
Owner

Problem

moonarch-vpn sends its own notify-send calls on connect/disconnect (lines 45, 47, 55, 59 in defaults/bin/moonarch-vpn). Since the migration to nmcli, NetworkManager (via nm-applet) also sends notifications for VPN state changes. This results in duplicate notifications for every VPN toggle.

Expected behavior

One notification per VPN connect/disconnect action.

Fix options

  1. Remove script notifications — rely on nm-applet's built-in notifications
  2. Remove nm-applet notifications — keep the custom ones from the script (more control over wording/icons)
  3. Disable nm-applet notification category — if nm-applet supports suppressing VPN notifications specifically
## Problem `moonarch-vpn` sends its own `notify-send` calls on connect/disconnect (lines 45, 47, 55, 59 in `defaults/bin/moonarch-vpn`). Since the migration to `nmcli`, NetworkManager (via nm-applet) also sends notifications for VPN state changes. This results in duplicate notifications for every VPN toggle. ## Expected behavior One notification per VPN connect/disconnect action. ## Fix options 1. **Remove script notifications** — rely on nm-applet's built-in notifications 2. **Remove nm-applet notifications** — keep the custom ones from the script (more control over wording/icons) 3. **Disable nm-applet notification category** — if nm-applet supports suppressing VPN notifications specifically
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nevaforget/moonarch#4
No description provided.