[CS-FSLUG] set awarning when finished?

Josiah Ritchie josiah at josiahritchie.com
Sun Jun 19 09:30:01 CDT 2011


I'm pretty sure you'll reach the end of the Internet before you'll
reach the end of the power of the commandline. :-)

JSR/

On 6/19/11, davidm at hisfeet.net <davidm at hisfeet.net> wrote:
> Wow! that's simple, and I'm sure it will work in many situations. But I
> wonder about the one I'm working on right now:  The script  might look
> like this:
> "recordmydesktop --no-sound --no-cursor -o 6ch.ogv && mpg123 ldc.mp3"
> And I'm tryng it out right now.  The problem here might be that in order
> to get "recordmydesktop" to finish (doing it's encoding) requires a
> Ctrl-c. Then it proceeds to encode what it has recorded.  The end of that
> encoding is where I'd like to hear an mp3.
>
> That worked really well! Thanks a  lot brother.
>
> I came into DOS before Windows existed, so I learned command line. But
> coming to Linux after nearly everything can be done with a GUI (and being
> perhaps just a tad lazy:) I'm having a little harder time learning command
> line in Linux. Besides, it's both different and more powerful (which is
> from my viewpoint more complicated). But I am learning something now and
> then.
>
> Dave
>
>> Well if you want to play an mp3 file then do `mpg123 songfile.mp3` within
>> bash.
>>
>> --
>> claytoncapers.blogspot.com
>> www.mark-clayton.com
>>
>>
>>
>>
>> On Sat, Jun 18, 2011 at 11:54, <davidm at hisfeet.net> wrote:
>>
>>> Looks interesting.  Probably got me going down a profitable trail.
>>> Thanks
>>> Beep doesn't do anything (not even give me an error) on my computer.
>>> Maybe
>>> it needs to be taught to use the normal audio output.
>>>
>>> inotifywait seems like alikely prospect. I'd like to get it to play an
>>> mp3
>>> file after finishing another bash command. I'll explore further.
>>> Dave
>>>
>>> > Perhaps you'd be interested in the beep command. 'sudo apt-get install
>>> > beep'
>>> > 'man beep' and you'll find lots of options for integrating this into
>>> cli
>>> > stuff. You may also be able to plug into the desktop's notification
>>> system
>>> > using notify-send (
>>> >
>>> http://www.linuxjournal.com/content/tech-tip-get-notifications-your-scripts-notify-send
>>> )
>>> > assuming your desktop linux of choice is Ubuntu or another that
>>> > uses NotifyOSD. I'm not sure that will allow it to beep though.
>>> >
>>> > Hope that is helpful.
>>> >
>>> > JSR/
>>> >
>>> > On Fri, Jun 17, 2011 at 8:10 PM, <davidm at hisfeet.net> wrote:
>>> >
>>> >> Thamks, Mark.
>>> >>
>>> >> Although I mention ed Windows, I hardly use it anymore. I feel much
>>> more
>>> >> comfortable in Linux, so I'm really looking for something that I can
>>> use
>>> >> in Linux. I rather think that when I find it, it will be a command
>>> line
>>> >> tool, but that's just fine provided it's not too complicated.
>>> >> Dave
>>> >>
>>> >> > Have you looked at Growl for Windows? It's probably a sledgehammer
>>> >> where
>>> >> a
>>> >> > ball peen would do. One web site there is a list of applications
>>> that
>>> >> use
>>> >> > growl for visual and audiable notifications. And it comes with a
>>> >> comand
>>> >> > line tool, growlnotify, that can be called from batch/command
>>> files.
>>> >> >
>>> >> > Mark
>>> >> > --
>>> >> > claytoncapers.blogspot.com
>>> >> > www.mark-clayton.com
>>> >> >
>>> >> >
>>> >> > On Jun 17, 2011, at 14:52, davidm at hisfeet.net wrote:
>>> >> >
>>> >> >> Before Windows existed (in DOS) I used to be able to tell the
>>> >> computer
>>> >> >> to
>>> >> >> ring a bell several times when it got done with a job.
>>> >> >>
>>> >> >> I there some way to set windows so that when it finishes some
>>> lengthy
>>> >> >> job
>>> >> >> unsupervised it will give me an audible advisory that the job is
>>> >> >> finished?
>>> >> >>
>>> >> >> I'm thinking of (for instance) a long download, or converting
>>> several
>>> >> >> different formats of short movies and making an iso out of it for
>>> a
>>> >> DVD.
>>> >> >>
>>> >> >> These are jobs that take long enough.  I'd like to go get a cup of
>>> >> >> coffee,or take a bath, or eat, etc.  But it would be nice if the
>>> >> >> computer
>>> >> >> would inform me when it has done it's job.
>>> >> >>
>>> >> >> A few programs have it built in (eg. K3B) but many don't.
>>> >> >>
>>> >> >> any suggestions?
>>> >> >>
>>> >> >>
>>> >> >> _______________________________________________
>>> >> >> ChristianSource FSLUG mailing list
>>> >> >> Christiansource at ofb.biz
>>> >> >> http://cs.uninetsolutions.com
>>> >> >
>>> >> > _______________________________________________
>>> >> > ChristianSource FSLUG mailing list
>>> >> > Christiansource at ofb.biz
>>> >> > http://cs.uninetsolutions.com
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> ChristianSource FSLUG mailing list
>>> >> Christiansource at ofb.biz
>>> >> http://cs.uninetsolutions.com
>>> >>
>>> > _______________________________________________
>>> > ChristianSource FSLUG mailing list
>>> > Christiansource at ofb.biz
>>> > http://cs.uninetsolutions.com
>>>
>>>
>>>
>>> _______________________________________________
>>> ChristianSource FSLUG mailing list
>>> Christiansource at ofb.biz
>>> http://cs.uninetsolutions.com
>>>
>> _______________________________________________
>> ChristianSource FSLUG mailing list
>> Christiansource at ofb.biz
>> http://cs.uninetsolutions.com
>
>
>
> _______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://cs.uninetsolutions.com
>


-- 
Our Mission
Technology and Hospitality for God's Workmen
http://missions.ritchietribe.net




More information about the Christiansource mailing list