Get Instant Linux Command Completion Alerts with NotiFyre – Install & Configure
Learn how to install and set up NotiFyre on Ubuntu so that long‑running Linux commands trigger desktop notifications, letting you focus on other tasks while the system alerts you when each command finishes.
NotiFyre is a lightweight Bash utility that sends a desktop notification when a command finishes, useful for long‑running commands on Linux.
Installation
On Ubuntu install the required packages:
sudo apt-get install notify-osd pulseaudio-utils libnotify-binTest the notification system: notify-send "hello" If no popup appears, reinstall the packages:
sudo apt-get --reinstall install libnotify-bin notify-osdDownload NotiFyre scripts
The project is hosted at https://github.com/kaustubhhiware/NotiFyre. Retrieve the two required scripts:
curl https://raw.githubusercontent.com/kaustubhhiware/NotiFyre/master/notifyre.sh -o ~/notifyre.sh
curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/bash-preexec.shConfigure Bash
Add the scripts to the end of ~/.bashrc:
# NotiFyre integration
source ~/notifyre.sh
source ~/bash-preexec.shReload the configuration:
source ~/.bashrcResult
After reloading, any command executed in the shell will trigger a desktop notification when it completes, providing immediate feedback without monitoring the terminal.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
