• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

dunstify Command Examples in Linux

by Deepika

“dunstify” is a command line tool for creating desktop notifications on Linux systems using the Dunst notification daemon. Dunst is a lightweight and customizable notification daemon for Linux, and dunstify is a command line interface for creating and manipulating notifications.

The basic syntax for creating a notification with dunstify is:

# dunstify [options] "message"

The “message” parameter is the text that will be displayed in the notification. Dunstify also accepts several options such as:

  • -u or –urgency to set the urgency level of the notification.
  • -r or –replace to replace an existing notification with the same ID.
  • -i or –icon to specify an icon that will be displayed in the notification.
  • -t or –timeout to set the duration of the notification.

Dunstify is a part of Dunst package, it’s not a built-in command in all Linux distributions, you may need to install Dunst package first before you can use dunstify command.

dunstify Command Examples

1. Show a notification with a given title and message:

# dunstify "Title" "Message"

2. Show a notification with specified urgency:

# dunstify "Title" "Message" -u low|normal|critical

3. Specify a message ID (overwrites any previous messages with the same ID):

# dunstify "Title" "Message" -r 123

4. To see other possible options:

# notify-send --help

Filed Under: Linux

Some more articles you might also be interested in …

  1. ctrlaltdel: command not found
  2. CentOS / RHEL : How to remove used Physical Volume(PV) from Volume Group (VG) in LVM
  3. fzf: Command-line fuzzy finder
  4. deborphan Command Examples in Linux
  5. git annex: Manage files with Git, without checking their contents in
  6. trash: command not found
  7. bpftrace Command Examples in Linux
  8. http-server-upload Command Examples
  9. How to copy directories recursively using rsync while excluding specific files
  10. printf Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright