Version 1.4.39
Forward Android notifications to your Linux desktop.
Maintained by Fred Junior. LocalBell is a fork of LaNotifica, originally created by Alessandro Lattao.
- Open LocalBell on Android. In Listener settings, check the port (default
19420) and tap Start listening if needed. Allow local network access if prompted on Android 17 or later. - On Linux, enter the phone's IPv4 address or hostname and port under Phone Configuration, then select Pair. Compare the six-digit numbers. Tap Numbers match on Android, then approve on Linux.
- Grant Notification Access on Android to forward eligible alerts automatically. Use Send Test Notification and check Status to verify delivery.
Linux initiates and maintains an encrypted session; Android makes no delivery attempts while disconnected. Both apps must be updated together when moving from the old HTTPS setup. Pair once again; app filters stay unchanged. See the setup guide for Tailscale.
- Pair by address: Enter the phoneβs IP or hostname, compare a six-digit number, and approve. No QR scan or code entry.
- Encrypted, direct delivery: Notifications travel over certificate-pinned TLS on your LAN or Tailscale network. No account or cloud relay.
- Native Linux notifications: Get alerts through your desktopβs D-Bus notification service. Dismissing an alert on your phone also dismisses it on Linux.
- Test delivery: Send a sample to a ready desktop without granting notification access. Both counters include successful automatic and test deliveries, exclude failures and dismissals, and reset on reconnect. Linux shows its Status card only while authenticated.
- Android app artwork: Compatible Linux notification daemons can display the source app icon without a cloud lookup. Linux sends it directly over the session D-Bus.
- Per-app filters: Choose which Android apps can forward notifications.
Download localbell-X.Y.Z-linux-amd64.tar.gz from GitHub Releases. From a terminal in your desktop session, extract and start it:
tar -xzf localbell-X.Y.Z-linux-amd64.tar.gz
./localbellRun ./localbell --help to list the CLI options or ./localbell --version to print the installed version. Neither command opens a window.
Use ./localbell --start-minimized to start in the system tray without opening the main window. If the tray is unavailable, LocalBell opens the window instead.
Configure the phone address and port in the desktop window. Click the tray icon to show or hide the window. Closing the window keeps the session active when a tray host is available; Quit stops LocalBell. GNOME may require the AppIndicator and KStatusNotifierItem Support extension.
Select About for the installed version and maintainer. Project page opens the LocalBell repository in your default browser.
If LocalBell is running, select Quit in the tray before upgrading. From a LocalBell source checkout, run the installer without sudo. It builds the optimized Linux client first (requires Make and Rust with Cargo), then installs it:
./install.shTo skip compilation, extract a downloaded release archive and pass the binary path to the installer. Run the same command with a newer binary to upgrade:
./install.sh /path/to/extracted/localbellThe installer adds ~/.local/bin/localbell, ~/.local/share/applications/localbell.desktop, and the launcher icon under ${XDG_DATA_HOME:-$HOME/.local/share}/icons/hicolor/128x128/apps/. Open LocalBell from the application menu. If it is already running in the tray, the launcher opens the existing window instead of starting a second client. The installer does not configure startup at login.
If an earlier installer enabled localbell.service, the new scripts leave it untouched. To retire that service, disable and stop it with systemctl --user disable --now localbell.service, remove the old localbell.service from ${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user/, and run systemctl --user daemon-reload.
To remove the installed executable and launcher (including its icon), run from the source checkout:
./uninstall.shUninstalling preserves your pairing and configuration.
The Arch recipe and the Debian and Fedora package builds are maintained here. Check GitHub Releases for the actual .deb and .rpm assets. Older releases may only have the standalone archive. These packages install the executable, desktop launcher, and icon without configuring startup at login.
Arch Linux: After localbell-bin is published in the AUR, install it or upgrade your Arch system and AUR packages with paru (or substitute yay). Remove it with pacman:
paru -S localbell-bin
paru -Syu
sudo pacman -R localbell-binDebian and Ubuntu (amd64): Download localbell_X.Y.Z_amd64.deb from a release. Install it or upgrade by passing the newer file to APT; remove it with apt remove:
sudo apt install ./localbell_X.Y.Z_amd64.deb
sudo apt remove localbellFedora 44 (x86_64): Download localbell-X.Y.Z-1.x86_64.rpm from a release. Use DNF to install it, upgrade using a newer file, or remove it:
sudo dnf install ./localbell-X.Y.Z-1.x86_64.rpm
sudo dnf upgrade ./localbell-X.Y.Z-1.x86_64.rpm
sudo dnf remove localbellThe .deb and .rpm downloads do not add an update repository. Remove a previous per-user install before switching to a native package to avoid launching the older copy. The standalone archive remains available.
Download and install localbell-X.Y.Z.apk from the same release. Android may ask you to allow installation from the app you used to open the APK. The listener binds IPv4 on port 19420 by default and rejects nonlocal peers before TLS. A wildcard bind is not VPN-only.
| Component | Requirement |
|---|---|
| Desktop | Linux x86-64 with a Wayland or X11 desktop, OpenGL, and a D-Bus notification service |
| App | Android 14 or later (API 34+) |
| Network | Both devices reachable on the same LAN or tailnet |
A system tray is needed to start with no window. Opening Project page requires xdg-open (xdg-utils). The installer does not require systemd.
- TLS encrypts notifications in transit. The Linux client pins the Android certificate verified during the numeric comparison.
- Only one desktop pairing is active. Unpair on Android revokes it even while the desktop is offline. Linux stores its paired phone configuration under
~/.config/localbell/by default.
- A current stable Rust toolchain with Cargo, Clippy, and rustfmt, plus GNU Make and the Linux Wayland/X11 and EGL development libraries
- JDK 21 or later supported by the Gradle wrapper, and Android SDK Platform 37
- For local releases: Android SDK Build Tools, Arch
makepkg, and GitHub CLI authenticated as a repository maintainer
Set ANDROID_HOME to your installed SDK. Optionally install the repository's pre-push checks with lefthook install.
make build # Build the development desktop app
make test # Run Rust and Android tests
make lint # Run Rust and Android linters
make format # Format Rust and Kotlin codeOn the release machine, ANDROID_SIGNING_DIR must contain exactly one .p12, .jks, or .keystore. Supply the store password via the environment or a private release-password file in that directory. Set KEY_ALIAS if the store has multiple private keys and KEY_PASSWORD if the key password differs from the store password. Keep the signing material outside Git.
On main, run the version bump with a commit subject and the files for that iteration:
./scripts/bump-version.sh "docs: Clarify Linux installation" -- README.mdThe default bump is patch. Only Fred Junior can authorize minor or major. The script tests and lints locally, commits the selected changes with the synchronized version, and pushes main. It does not build release artifacts, change dist/, tag, publish, or install the APK.
dist/ holds the APK and Linux archive from the last release build, which can be older than the current code version. The publisher retains verified artifacts, checksums, and the commit ID under .git/localbell-releases/vX.Y.Z/ on the build machine.
When ready to publish, run this on the build machine with GitHub CLI authenticated and curl and jq available:
./scripts/publish-release.shLinux release builds compile the desktop binary in Docker with Debian 12 (Bookworm) as the Rust/glibc baseline. The publisher then packages that binary on the host with dpkg-deb and rpmbuild (install dpkg and rpm-tools on Arch Linux). Packaging does not need additional container images. Use make deb or make rpm to build the packages locally without publishing. The release artifacts are published only when the maintainer runs the publisher.
The script detects the version from the current commit and verifies that the commit is on origin/main. If that version is already public, it prints the release URL and exits without uploading or installing anything. To publish a different version from origin/main, pass it explicitly: ./scripts/publish-release.sh vX.Y.Z. The script builds the Linux binary and signed APK from the same isolated commit, verifies that their versions agree, refreshes dist/, then tags and publishes the signed APK, binary-only Linux archive, Debian package, and Fedora package. The publisher reports each assetβs size and transfer progress, then verifies all four assets before publishing. If the upload is interrupted, rerun the same command. It reuses the retained build and matching uploaded assets and never replaces a public release or moves a tag. If GitHub reports a mismatched or incomplete asset, review the draft before retrying. For a retained legacy draft with only two assets, preserve that draft and its local files and publish a new patch instead of replacing the existing artifacts. GitHub Actions only runs CI.
To automatically update an already-paired phone over Wi-Fi, run adb devices -l while the phone is online. Copy its exact serial ending in ._adb-tls-connect._tcp, then save it once in fish (replace the example serial):
set -Ux LOCALBELL_ADB_WIFI_DEVICE 'adb-EXAMPLE._adb-tls-connect._tcp'After confirming that the GitHub release is public with all four verified assets, the publisher updates only that phone without clearing app data or downgrading. An unavailable phone or failed APK install does not invalidate the release.
Run ./localbell --font-licenses for the embedded Linux UI font notices: CaskaydiaCove and Symbols Nerd Font.


