xcowsay(6)
๐ฎโจ xcowsay โจ๐ฎ
okay bestie, welcome to the Games Manual section of your terminal, and today we're talking about xcowsay from the xcowsay(6) page ๐ it's a whole vibe, it's a whole cow, let's go ๐ซถ
๐ธ NAME ๐ธ
xcowsay โ Display a cute cow and speech bubble. (yes that's literally the whole job and she EATS ๐
)
โจ SYNOPSIS โจ
xcowsay [-h] [-t time] [-r speed] [-d] [-f font] [text]...
๐ DESCRIPTION ๐
So here's the tea: xcowsay displays a cow ๐ with a speech bubble containing some text. If text is specified it will be displayed in the bubble. Otherwise the text will be read from the standard input and displayed when end of file is encountered. no cap.
The cow is displayed for either a fixed amount of time, or an amount of time calculated from the size of the text. Click on the cow to dismiss it immediately (she respects your boundaries โ๐).
If xcowsay is started with --daemon it will fork away from the terminal and run in daemon mode. The daemon provides a DBus service uk.me.doof.Cowsay that responds to ShowCow requests. The daemon can queue up any number of requests and displays them in order. it's giving very organized, very main character energy ๐
When xcowsay starts it checks to see if a daemon is running, and if it is, sends a ShowCow request and returns immediately. Otherwise xcowsay will block until the cow has disappeared. she's either fast or she's committed, no in-between ๐
๐ CONFIGURATION FILE ๐
xcowsay reads a configuration file on startup. The configuration file can be stored in the XDG compliant location $XDG_CONFIG_HOME/xcowsayrc (which will default to $HOME/.config/xcowsayrc) or in your home directory at $HOME/.xcowsayrc. If the --config=FILE command line option is passed FILE will be processed after your personal configuration file.
The configuration file consists of 'option = value' pairs, one per line. The valid keys are given in the next section. For example, the following line sets display time to 10 seconds:
display_time = 10000
The character '#' begins a comment which lasts until the end of the line. (self care: comment out your chaos ๐)
Values containing spaces should be enclosed in quotes. For example:
font = "mono 28"
๐ OPTIONS ๐
Note that these options override any settings in the config file. she said command line wins, periodt ๐
-h,--helpโ Display usage information. the little "here's how you use me" moment ๐ฅบ-t time,--time=timeโ Display the cow for time seconds. This overrides any value set forreading_speed. Setting time to zero displays the cow until it is clicked. The corresponding config file option isdisplay_time. This can also be set to a fractional value like0.5. yes bestie,0.5seconds, we do not gatekeep precision โฑ๏ธโจ-r speed,--reading-speed=speedโ Number of milliseconds to display the cow for each word in the input text. This is clamped to a minimum ofmin_display_timeand a maximum ofmax_display_time. The defaults are 1 second and 30 seconds respectively. The corresponding config file option isreading_speed. she reads at exactly your pace fr fr ๐-f font,--font=fontโ Font for the speech bubble text. Accepts Pango font strings. The corresponding config file option isfont. make her fancy ๐-d file,--dream=fileโ Display an image instead of text in the cow's bubble. Thedream_timeconfig file option sets the numer of milliseconds to display the image for. The default is 10 seconds. she's dreaming ๐ญ (yes, the manpage says "numer", we are leaving that exactly as it is, it's iconic)--thinkโ Display a thought bubble instead of a speech bubble. introvert mode activated ๐ง--daemonโ Runxcowsayin daemon mode if DBus support has been enabled. See the DESCRIPTION section above for more information. background cow, always on duty ๐--cow-size=sizeโ Size of the cow image. Current choices aresmall,med, orlarge. The corresponding config file option iscow_size. pick your cow's era ๐ธ--image=fileโ Use a different image instead of the cow. The corresponding config file option isalt_image. not feeling the cow today? valid ๐ซถ--monitor=Nโ Make the cow appear on monitorN. multi-monitor besties rise ๐--at=X,Yโ Force that cow to appear at screen location (X,Y). The config file options areat_xandat_y. she goes exactly where you tell her, no cap ๐--bubble-at=X,Yโ Change position of bubble relative to where it would normally appear. This is most useful when combined with thealt_imageoption to create your own characters. The config file options arebubble_xandbubble_y. custom character arc unlocked โจ--no-wrapโ Disable word wrapping when the bubble is too wide to fit on the screen. The config file optionwrapcan be set totrueorfalseto set this explicitly. she will simply Not wrap, your problem now ๐ญ-l,--leftโ Make the bubble appear on the left hand side of the cow. This is useful if you are using your own image. left-leaning bubble, she's an icon ๐--debugโ Print messages about whatxcowsayis doing. Useful for finding out why the daemon fails. detective mode ๐--releaseโ Close window on release event instead of press. The corresponding config file option isclose_event=button-release-event. she waits for you to let go ๐ฅบ-v,--versionโ Print version information. the "who even am I" moment โญ
๐ AUTHOR ๐
Written by Nick Gasson. king behavior ๐
๐ญ REPORTING BUGS ๐ญ
Report all bugs to nick@nickg.me.uk The xcowsay home page is <http://www.doof.me.uk/xcowsay>
pls be nice when you report them, it's giving constructive ๐
๐ฆ SEE ALSO ๐ฆ
and that's the whole page bestie!! this came out of the Games Manual for xcowsay(6) and honestly? iconic. mwah ๐ go make a cow say something weird, you deserve it ๐๐โจ
๐ฆ where this page comes from
- debian bookworm: xcowsay 1.6-1 ยท GPL-3.0-or-later
- debian trixie: xcowsay 1.6-1+b1 ยท GPL-3.0-or-later
- fedora 43: xcowsay 1.6-9.fc43 ยท GPL-3.0-or-later
- fedora 44: xcowsay 1.6-9.fc43 ยท GPL-3.0-or-later
- nixos 26.05: xcowsay 1.6
- nixpkgs unstable: xcowsay 1.6
- opensuse-leap 16.0: xcowsay 1.6-bp160.1.12 ยท GPL-3.0-or-later
- opensuse-leap 16.0: xcowsay 1.6-bp160.1.12 ยท GPL-3.0-or-later
- opensuse-leap 16.0: xcowsay 1.6-bp160.1.12 ยท GPL-3.0-or-later
- opensuse-leap 16.0: xcowsay 1.6-bp160.1.12 ยท GPL-3.0-or-later
- ubuntu jammy: xcowsay 1.6-1 ยท GPL-3.0-or-later
- ubuntu noble: xcowsay 1.6-1build2 ยท GPL-3.0-or-later
- ubuntu questing: xcowsay 1.6-1build2
- ubuntu resolute: xcowsay 1.6-1build3 ยท GPL-3.0-or-later
- ubuntu stonking: xcowsay 1.6-1build3 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms