Re:Awesome but commonly unknown Linux Commands
by sigil on Wednesday August 10, 2011 @11:30AM
(#2868675)
With tmux, you can monitor the window for activity (^A M) and do:
make -j3 >make.log 2>&1 ; echo $?
When make finishes, your prompt is printed again (activity!) and the window's caption is highlighted. I use the same mechanism to watch for new mail and chats in other windows. It's like Growl for your terminal.
Re:Awesome but commonly unknown Linux Commands
by icebraining on Wednesday August 10, 2011 @09:47AM
(#2868138)
I just have a script called 'bell':
echo -n "\a"
My terminal (urxvt) will detect the bell and set the 'urgent' flag on the window, which is detected by Awesome, which sets the appropriate tag* icon to red.
* Tag in Awesome is more or less akin to a virtual desktop.
Re:Awesome but commonly unknown Linux Commands
by sunburnt on Wednesday August 10, 2011 @08:35AM
(#2867889)
I do just that, but I also add audible notifications using "play" for when I am not looking at the screen.
Use "--expire-time" argument to "notify-send" to control how long the message is displayed.
Re:Awesome but commonly unknown Linux Commands
by nooneelse on Wednesday August 10, 2011 @05:18PM
(#2870245)
I just use a few aliased beep sequences so I can have an audio notification. I never have much need for more than a few at a time, so I've only written three such aliased beep tunes. Well, four really, I always have a special keyboard shortcut set to immediately run the one named "little_melody". By pressing down... well you get the idea.
Re:Awesome but commonly unknown Linux Commands
by jankassens on Wednesday August 10, 2011 @12:04PM
(#2868825)
On a mac I use the `say` command.
make && say "I'm done."
Re:Awesome but commonly unknown Linux Commands
by xtacy on Wednesday August 10, 2011 @11:19AM
(#2868622)
On a mac, you could also use growlnotify.
growlnotify -m "Hey I am done!" -t "Done!"
Re:Awesome but commonly unknown Linux Commands
by LiveTheDream on Thursday August 11, 2011 @01:17AM
(#2871511)
Also useful is the `-s` option to make the notification sticky
growlnotify -s -t 'Done!' -m 'And I'm not going away until you click me'
notify-success:
notify-failure: When I want to run a long-running command and don't want to have to keep checking on it, I'll do something like this: