Speak to us, oh great and wise computer

In the category of “silly tricks that you can do at the console that don’t really make any progress but are kind of fun anyway,” here are two things you might not normally combine: the fortune package inherited from the Unix of Long Ago, and the espeak tool.

You can probably see where I’m going with this. Technically this is the bare minimum of what’s needed. Type:

fortune | espeak

Chant “Speak to us, oh great and mighty computer,” press return, and your computer will sing to you with the wisdom of the ancients — or the perversity of a stand-up comic, if you enable the off-color fortunes. Remember if you don’t like the default voice you can change that as well, and espeak supports a lot of different language types.

Now you can’t say your computer never talks to you any more. :)

About these ads

6 Responses to “Speak to us, oh great and wise computer”


  1. 1 LeoSolaris 2010/04/26 at 9:31 PM

    The Monty Python’s mod with a British accent from espeak is priceless!

  2. 2 awhan 2010/04/28 at 3:30 PM

    the pronunciation is not very clear … i mean i tried the sample over at this page http://espeak.sourceforge.net/samples.html but it was not clear at all

  3. 3 johnraff 2010/04/29 at 12:30 PM

    Agreed that’s not easy to listen to. “The Raven”, or ‘fortune’ for that matter, might be pushing it a bit but espeak is very handy for getting some feedback from a script without having to keep your eyes glued to a terminal window.

    This is fun too:
    ‘tail -f -n 1 /var/log/messages | espeak’
    …for a short time. :)

  4. 4 Katie Tam 2010/05/04 at 1:59 PM

    fortune | espeak .
    ‘tail -f -n 1 /var/log/messages | espeak’

    How do i use both command?

  5. 5 eric 2010/05/07 at 3:13 AM

    Thank you! Made my day ;-) (and given that it’s election day in the UK, I needed this…)


  1. 1 Links 26/4/2010: Scientific Linux Reviewed; More Linux Tablets | Techrights Trackback on 2010/04/27 at 4:24 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,645 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: