Operations 3 min read

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.

Liangxu Linux
Liangxu Linux
Liangxu Linux
Get Instant Linux Command Completion Alerts with NotiFyre – Install & Configure

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-bin

Test the notification system: notify-send "hello" If no popup appears, reinstall the packages:

sudo apt-get --reinstall install libnotify-bin notify-osd

Download 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.sh

Configure Bash

Add the scripts to the end of ~/.bashrc:

# NotiFyre integration
source ~/notifyre.sh
source ~/bash-preexec.sh

Reload the configuration:

source ~/.bashrc

Result

After reloading, any command executed in the shell will trigger a desktop notification when it completes, providing immediate feedback without monitoring the terminal.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

AutomationBashNotificationNotiFyre
Liangxu Linux
Written by

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.)

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.