NetPulse is a GNOME Shell extension for watching your local network and internet connection. It shows router and internet status in the top bar, measures response time, can run an on-demand speed test (latency, download, upload), and plays a sound when connectivity changes.
- Periodic checks of a configurable router address and internet host (IP addresses or DNS names).
- Separate router and internet state, so a router/Wi-Fi issue can be distinguished from an upstream outage.
- Configurable check interval, consecutive failures before declaring an outage, and alert sound.
- Choose the top bar section (left, center, or right) and show a dot, label, or both.
- Optional live receive/send rates in the top bar, with selectable direction, labels, units, and a 1–60 second update interval.
- Optional local CSV traffic history with hourly totals and configurable retention.
- Monitor all activated NetworkManager interfaces with an assigned address or select one Wi-Fi, wired, USB tether, Bluetooth, or mobile broadband interface.
- Read-only connection monitoring; NetPulse does not disconnect, reconnect, or change NetworkManager profiles.
- On-demand speed test per link (latency, download, upload): test Auto, one interface or all of them, with a live dial, Arc / Dial / Compact result styles, selectable units (Mb/s, MB/s, Gb/s, GB/s, Kb/s, KB/s) and saved speed history.
- Interface binding (
curl --interface) so each link is measured on its own even with several default routes; automatic fallback if a test server is busy. - In-menu Data usage view (Today / Yesterday) from the traffic pill.
- Inline speed-test failure details in the menu.
- Optional startup notification, separate internet loss/recovery notifications, and different sound files for each transition.
- No service, account, or external monitoring server required.
- GNOME Shell 45 or 46 (ES module extensions); developed against GNOME Shell 46.
curlandping(iputils) for the speed test; both are standard on Ubuntu.glib-compile-schemasis needed only when installing manually from a source checkout.
See INSTALL.md for complete installation, removal, and troubleshooting steps.
./scripts/package.sh
gnome-extensions install --force dist/netpulse@local.shell-extension.zipAfter installing or updating code, restart GNOME Shell so it reloads the extension. On X11, press Alt+F2, enter r, then press Enter; on Wayland, log out and back in. Then enable it in the Extensions app, or run gnome-extensions enable netpulse@local.
Download the release archive and install its contents under the extension UUID:
gnome-extensions install --force netpulse@local.shell-extension.zip./scripts/install.shRestart GNOME Shell once so it discovers or reloads the copied extension. On X11, press Alt+F2, enter r, then press Enter; on Wayland, log out and back in. Then enable NetPulse in the Extensions app, or run:
gnome-extensions enable netpulse@localClick the NetPulse indicator in the top bar. Its menu has a traffic pill and check/settings buttons at the top, collapsed-by-default interface rows (tap one for details; nothing stays open next time), and a 52px split speed-test pill. Choose one of the two palettes (Ubuntu Yaru or GNOME Adwaita) and dark/light mode; the system color scheme is followed by default. Network targets, check interval, failure threshold, indicator placement, and alert behavior remain configurable in Settings.
Live traffic rates are off by default. Enable them on the Top bar settings page to show incoming, outgoing, both, total, or both directions plus total. Choose arrows or text labels, automatic or fixed B/s through TB/s units, and the font family, weight, and size. Font selectors list installed system fonts. The main status indicator has independent font, weight, and size controls. Text that exceeds the panel space is clipped with an ellipsis; the full directions and values remain available to screen readers. Sampling reads Linux interface byte counters and includes only the interface or active interfaces NetPulse monitors. If NetworkManager is unavailable, it limits sampling to the active default-route interfaces from the kernel route tables.
Choose the status indicator position as left or right of Activities, left or right of the calendar, or left of Quick Settings. The About settings page shows extension information and contains a confirmed Reset all settings to defaults action.
Traffic history is independently optional and off by default. Enable Record traffic history on the History settings page to store hourly inbound and outbound totals in ~/.local/share/netpulse/traffic-history.csv; the menu shows today's combined received and sent totals in a pill (tap it for an in-menu history view with Today/Yesterday/All days, totals and per-hour bars), while the History page shows separate retained received/sent totals and the 48 most recent hour ranges. History can use the system timezone automatically or any selectable timezone. Malformed CSV rows are skipped and reported in the History page and Shell log while readable totals remain available. Use Refresh to dismiss the saved warning after checking the file. Choose a retention period from 1 to 365 days. Turning tracking off pauses recording and hides the menu total; existing CSV data remains viewable on the History page and can be resumed later. When history is the only feature using traffic samples, NetPulse reads counters once per minute; showing live rates uses the selected 1–60 second interval. History is flushed at most once per minute and on extension shutdown. Samples separated by more than five minutes are recorded as one total in the selected timezone hour they are observed, since the counters cannot show how those bytes were distributed across the gap. Older UTC-aligned CSV rows are normalized to the selected timezone's clock hours when read.
By default, NetPulse reads each active interface's gateway from NetworkManager and checks internet reachability separately using 1.1.1.1:443. Gateway detection does not assume 192.168.x.x; USB tethering and other links can use any IPv4 or IPv6 subnet. If NetworkManager provides no gateway, the router check is skipped instead of guessing 192.168.1.1. A failed TCP check against a gateway only means the configured router port did not respond; it does not mark internet access as down. Turn off automatic gateway selection to enter a manual router target. Probes bind to that interface and use the matching address family. On an IPv6-only link, set the internet host to a reachable IPv6 address. NetPulse uses a short TCP connection attempt to the configured host/port as its reachability probe, so select a host and port that accept connections. This lets it compare multiple active links independently, including Wi-Fi and tethering connections exposed by NetworkManager.
Tap the speed pill to run a speed test. With several online links it asks what to test (Auto, one interface, or All) and starts immediately. Each link is measured for latency (ping), download and upload, bound to that interface so it is measured on its own even when another link is the default route. The dial follows live throughput and the result is shown as an Arc, Dial or Compact card in your chosen unit; closing the popup clears it. Finished results are saved to ~/.local/share/netpulse/speed-history.jsonl (viewable and clearable under Settings → Speed test). If a test server is busy (HTTP 429) NetPulse falls back to another public file. A full test can transfer well over 100 MB per link, so avoid it on metered connections; the downloaded data is discarded.
Monitoring is active while GNOME Shell is running and the extension is enabled, including while its menu is closed. It checks only activated NetworkManager interfaces with an assigned address; disconnected devices are hidden and do not trigger outage alerts. It stops when the extension is disabled or the user session ends. Configure notification and sound master switches, internet down/up alerts, and a 1–60 second maximum sound duration in the extension's Alerts preferences page. Internet loss and recovery notifications and sounds can be controlled independently, with an optional separate sound file for each transition. With multiple active links, internet alerts follow the aggregate state: a failed link does not trigger a loss alert while another monitored link still has internet access. GNOME does not require a separate sound permission prompt. Notifications follow the desktop notification settings, and sound follows the system's alert sound and output settings; Do Not Disturb can suppress notifications. NetPulse starts the offline duration at the first failed probe in a confirmed outage, or when the last monitored interface disappears. It waits for the configured consecutive failure threshold before reporting an internet outage alert. The visible timer updates once per second while the menu is open; it stops ticking when the menu closes. Recovery clears the duration; recovery alerts can be enabled or disabled in Settings.
The settings are stored in GSettings. Examples:
gsettings set org.gnome.shell.extensions.netpulse router-use-gateway false
gsettings set org.gnome.shell.extensions.netpulse router-host '10.0.0.1'
gsettings set org.gnome.shell.extensions.netpulse interval-seconds 5
gsettings set org.gnome.shell.extensions.netpulse sound-alerts trueRun gsettings list-recursively org.gnome.shell.extensions.netpulse to see all current values.
Run the complete automated checks with Node.js 18 or newer and GNOME build tools installed:
npm run checkThis runs the regression tests, syntax checks, GJS helper smoke checks, strict schema compilation, extension packaging, and archive integrity validation. The Node test suite itself runs without GNOME or network access. Use npm test to run only that suite. See test/README.md for the manual GNOME Shell scenarios and the full check details.
After changing JavaScript, disable and enable the extension or reload the Shell session. Inspect errors with journalctl -f -o cat /usr/bin/gnome-shell (the exact journal filter varies by distribution).
- Latency is measured by timing TCP connection establishment, not ICMP ping. It can include routing, firewall, and service-acceptance effects.
- The download test reports received bytes over elapsed time and can be influenced by caching, server load, and other traffic.
- Shell extensions share GNOME Shell's process. A bug can affect the desktop shell; keep the extension updated and disable it if Shell becomes unstable.
- NetPulse detects reachability from this computer; it cannot prove that every website or application is reachable.
See LICENSE.