Sharon Kimble <[email protected]> writes: > I'm using org-timer via "C-c C-x ;" and setting it for 30 minutes for a > repetitive job that I'm doing. When it ends it has a small popup which > shows its ended but that soon disappears. Is it possible for it to show > a flashing popup that will show even if I'm not an org-mode buffer? Like > in the code block showing at the end? >
The timer code uses org-notify which in turn uses org-show-notification. The latter goes through a sequence of steps, until one succeeds: It first checks whether org-show-notification-handler is defined and either calls it (if a function) or executes it (if a string); so you can define it to be something that does what you want. If that is not defined, it checks whether notifications-notify is bound and is a function, and calls it if so (in my case at least, it's not defined). It then checks whether there is an executable called notify-send on the system and if so, it executes it (that's what happens in my case with Fedora 22 Linux). The appt popup code you quote also uses notify-send (assuming that X is running). BTW, I'm not sure what happens if you execute notify-send on the console. Finally, as a last resort and if everything else has failed, it calls message to put the notification in the echo area. HTH. -- Nick
