Linux Candy

Linux Candy: xcowsay – displays a cow on your desktop with message

Last Updated on May 25, 2022

In Operation

xcowsay
Click for full size image

Here’s an example of the output from xcowsay. The position of the cow appears in a (fairly) random place on your desktop. The program determines the amount of time to display the text based on its length, although you can override this setting. The bubble is anti-aliased. And there’s automatic word wrapping.

There’s 3 different sizes of cow. xcowsay has a –cow-size option that lets you select from small, medium, and large cow images.

There’s a think mode which outputs a thought bubble instead of the usual speech bubble.

Some jokes are just too dreadful to air in public!

xcowsay - thinking
Click for full size image

There’s many other options available such as the ability to make the bubble appear to the left of the cow, change the message font, add a reading speed, and more.

The latest release has added a new feature where you can replace the text with an image. This uses the –dream flag. The cow below is having some bad thoughts indeed.

xcowsay - tux
Click for full size image

And you can even replace the cow image with an alternative non-cow image. Or you might be interested in ponysay, a cowsay reimplemention for ponies.

Next page: Page 3 – Summary

Pages in this article:
Page 1 – Introduction / Installation
Page 2 – In Operation
Page 3 – Summary

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Please read our Comment FAQ before posting a comment.

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
John Piers Cilliers
John Piers Cilliers
4 years ago

Followed your instructions to the T and not really sure if this is working or not ? How will I know? Can I run something to invoke it? On Arch Linux.

Bertie B
Bertie B
4 years ago

That’s an exercise for the reader.