They offer different flash templates with latest features.
Login

Forgot password
Register
Back
Written by:
wolfprint
Score: 2
votes: 14
Format: Article

 Remove ASCII cow from the fortunes in the Terminal


With the enlightment of a reply a few edits and additions.

This is to just remove the cowsay ascii characters but still keeping the random fortunes.

To remove the cow ascii but to preserve the file just in case you have a change of heart:

Open a terminal (CTRL+ALT+T) if you haven't already.
Type in: sudo gedit /usr/bin/mint-fortune
Find the line at the bottom that looks like:
/usr/games/fortune | $command -f $cow
Make it look like:
#/usr/games/fortune | $command -f $cow
then put this at the bottom:
/usr/games/fortune

SAVE

Thats it no more cow ASCII, and if you ever want it back to the way it was just undo what you did.

To maybe have a more permanent change but not a guarentee you could instead do the following:

Open a terminal (CTRL+ALT+T) if you haven't already.
Type in: sudo gedit /etc/bash.bashrc
Find the line at the bottom that looks like:
/usr/bin/mint-fortune
Make it look like:
#/usr/bin/mint-fortune
then put this at the bottom:
fortune

SAVE

Again, no more cow ASCII, and if you ever want it back to the way it was just undo what you did.

Be aware however an update may also overwrite that file as well giving you back your cow ascii.

Some of you might think why not just remove cowsay, I am one of those people. However if you remove cowsay you also remove three other packages (mint-artwork-common, mint-artwork-gnome, and mintsystem) and as of right now I am not 100% sure you want to do that as it might mess up your panels among a few other things.


Tags: fortune, ascii, terminal art
Created: 3 years ago.
Last edited: 3 years ago.
Read 2418 times.

Comments
2 years ago

blueXrider
Hummm.
As current Distro Katya this is handled via Menu> Preferences> Desktop Settings> Terminal> un-tick Show Fortune Cookies.

Not sure of earlier distros.
 
2 years ago

Vinterskog
It's a silly joke to make the half of GUI dependent on such nonsence.  
3 years ago

gorade
First thing I do when installing Linux Mint. Deer or cow they are a thret to sanity.  
3 years ago

mr_yurka
> ... if you remove cowsay you also remove three other packages...

To disable cowsay without removing it's dependencies, just open /etc/bash.bashrc :
$ sudo gedit /etc/bash.bashrc

, find the line (it's usually near the very bottom) similiar to
/usr/bin/mint-fortune

and comment it out:
#/usr/bin/mint-fortune

Save, restart the terminal, and you're done!
--
http://forums.linuxmint.com/viewtopic.php?f=90&t=26342#p154095
 
3 years ago

trans
Which cow are you talking about?  
3 years ago

Diego9000
Poor cow, i love that cow, makes the terminal so lovely T.T  
3 years ago

remoulder
This will get overwritten if the file is updated.  

Other tutorials from wolfprint

No other tutorials.