Better notifications with xosd and the at daemon
Here is a neat little application which extends the UNIX at daemon with the XOSD (X on screen display) for very effective, non-blocking, and simple notifications.
I am assuming the following:
- You know what the at daemon is and how to use it
- You are running X and logged in at the time of the notification
- The X display is hardwired to :0.0
- You agree that command line apps properly strung together are infinitely superior to clunky GUI apps
Obviously, you'll need xosd-bin and at installed.
Usage is simple: notify.sh "Feed the cats" 22:54
#!/bin/bash
echo "echo $1 | DISPLAY=\":0.0\" \
osd_cat --align="center" --pos="middle" \
-f \"-microsoft-verdana-medium-r-*-*-24-*-*-*-*-*-*-*\"" | \
at $2
Trackback URL for this post:
http://sancairodicopenhagen.com/joe/trackback/57
Tag Cloud
Popular content
All time:
- KDE 5.0 Available
- The iptables Rate-Limiting Module
- Cavalier Egyptian Attitudes to Trademarks
- Five tips to better variable naming practises
- New Windows!
- Software Requirements Specification: A Modern Look at How the Enterprise Determines What It Thinks It Needs
- pycurl CurlMulti mini-HOWTO
- UNJobs.org Screenscraper and RSS Generator
- My Resumé
