Frage

I like to let my builds run in the background while I continue problem solving my code, but I find it annoying to not know when my build has finished. I already know how to play a sound after a build is done, but was wondering if there is another way to approach this problem.

Is it possible to make the taskbar blink from the terminal? That way I could use it at the end of my build scripts and I would get a friendly blinking task bar icon to alert me.

Desktop environment is gnome

War es hilfreich?

Lösung

http://www.stealthcopter.com/blog/2010/02/utilising-the-notification-system-in-kde-or-gnome-in-bash-scripts-ubuntu-9-10-linux/

For gnome:

sudo apt-get install libnotify-bin

then

notify-send "notification title" "notification text"

From my testing, supplying -u critical seems to give it an infinite timeout.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top