Yet another linux trick I keep on forgetting…

To display a notification on the desktop from the command-line:

# apt-get install libnotify-bin

$ notify-send “hello world”

obv. “from the command-line” really means “from a script”, unless you’re in some Evil Dead situation of independently-mobile hands

[reason for looking: trying to get xmonad+dmenu to notify me when I mistype a command, rather than just failing silently]

Leave a comment

Your email address will not be published. Required fields are marked *