They offer different flash templates with latest features.
Login

Forgot password
Register
Latest changes

The idea module was updated:

  • We now have 10 statuses instead of 5
  • The review process now involves both moderators and developers
  • Moderators can now review form and content separately
  • Moderators can now delegate decisions to developers when they are unable to assess the pertinence or feasibility of an idea
Improve this website
  • Report bugs here.
  • Register ideas for improvements using the idea module on this website.
Back
Written by:
Karolina
Score: 64
votes: 93
Format: Article

 How to remove fortunes tfrom Your console


For version Mint 9

Fortunes is the wisecrack program that comes packaged with console.
To get rid of this irritant, go to:

Menu => Accesories => Terminal, and type the command:

gksu gedit /etc/bash.bashrc

This will open an editor window with the file /etc/bash.bashrc
Go all the way to the bottom and remove the last line:

/usr/bin/mint-fortune

Then click on Save and close the window.
That's all.
After re-opening the console there are no more wisecracks.


Tags: fortunes, appendix, console
Created: 3 years ago.
Last edited: 2 years ago.
Read 9219 times.

Comments
1 year ago

jkotesh
I'm looking for this from few days and found , i really hate this fortune,, and it occupies more space especially while opening it in small size terminal
 
1 year ago

miami592
Many thanks for this simple tutorial!  
1 year ago

joroxrd
Thank you!  
1 year ago

alleyoopster
Remove Fortunes, how would I get through the day?  
1 year ago

ingvars84
On Mint 12 I clicked on Control Center in my Menu. Then click Desktop Settings and choose terminal. Here I turned of the fortune cookies...  
1 year ago

linXea
personally I find 'sudo chmod -x /usr/games/fortune' much easier.  
1 year ago

ianxl
Nice! - Thank you!  
1 year ago

LONNIEFUTURE
Thanks thats another anoying peice gone!  
1 year ago

blueXrider
never have liked cowsay  
1 year ago

plume
no one should turn it off =(  
1 year ago

clem
Since Mint 11:

Menu->Preferences->Desktop Settings->Terminal->Show fortune cookies
 
1 year ago

schendstok
In Linux Mint 11 you can just change the gconf setting:

gconftool-2 -s -t bool /desktop/linuxmint/terminal/show_fortunes false
 
2 years ago

NickJB61
I have just installed LMDE on my netbook and surprisingly this was the first bit of editing I did. Commenting out is preferable to deletion in case you change your mind.  
2 years ago

jackads
Better comment the line! I'm "removing" it because it don't run properly here, but I will fix it soon, for now the line is commented.
God bless your all!
 
2 years ago

sayan_acharjee
I don't mind having fortune but still its good to have another choice :)  
2 years ago

maxmir
The main annoyance for me is that whoever added the fortune cookie call to the system bash.bashrc file never even bothered to guard it with a -x test.  
2 years ago

kannabix
thanks!
I prefer comment the line:

# /usr/bin/mint-fortune
 
2 years ago

dagon
About husse:
http://forums.linuxmint.com/viewtopic.php?f=90&t=47947
 
2 years ago

tumelo
Who is this wise guy name Husse?  
2 years ago

fliteshare
Why fortunes should be eradicated from Linux:

Initially I didn't mind to be presented with a quote or remark. I assumed that the writer of the software intended to entertain or possibly enlighten his/her audience with random snippets of wisdom.

Until I was issued the following fortune:

"Tomorrow you will die"

Good thing is that I am not superstitious, however, I did decide that this example of infantile bad taste doesn't belong in a community that pertains to disseminate superior "knowledge and wisdom" amongst all humanity.

That's why I will not let an opportunity to remove fortunes from a computer go by without swift and decisive action.

I hope to have informed you sufficiently,

Kind regards, Arend Rietkerk.
 
2 years ago

wanda
No because I don't know why some people are tryin' remove fortune or Husse quotes, fortune is cool, so wazzup?
Husse was a very fine person who was always ready to help someone.
He had a heart for Mint, so I let it stand in Honor Of Friend Husse.
 
2 years ago

tenlegger
In Mint 10 KDE, the file to edit is ~/.bashrc  
2 years ago

Tonya
I like these fortunes very much and have no wish to remove them at all.
But I agree with tdockery97 that it's good to have a choice...
 
2 years ago

Elisa
Remoulder advice is the best I do suppose :-) because I don't know why some people are tryin' remove fortune or Husse quotes, fortune is cool, so wazzup? :O
;-)
 
2 years ago

mikefreeman
Thank you! I've been trying to figure that one out for a while now. Fortunes are fun and all, but not every time I open a terminal.  
2 years ago

dagon
@vimodchandran

This is how I percieve it.
That piece of code looks for a file named .disable-mint-fortunes in your home. If it can't find the file it will execute the fortunes part of the sequence.
My /etc/bash.bashrc didn't have that line (well, it does now :P )

If you do you can simply go:
cd #takes you home
touch .disable-mint-fortunes #creates an empty file.

no need to go sudo and you just erase the file or rename it to activate the fortunes.
 
2 years ago

tdockery97
Personally I think the fortunes are a nice distraction. But like everything in Linux, it's good that you have the choice whether to keep them.  
2 years ago

Boringbytes
I must confess, I like the fortunes. That said, I'm sure they could get irritating if I used the console many times a day. ( the first time I saw the fortune in the console window it scared me...lol. I didnt know if it would affect my console entries or not.) Now I just enjoy them..but its good to know I can be rid of them if I ever want to be.  
2 years ago

gorade
Ahhh..!
What a relief!
Thank you!
Thank you!
 
2 years ago

French
This tribute to Mats Geier also known as Husse,I would say don´t touch it :),but if you do so comment the line using #,instead of removing
http://www.linuxmint.com/blog/?p=1322
 
2 years ago

vimodchandran
Karolina, thank you very much. Instead of deleting the line "/usr/bin/mint-fortune", I hashed all the three lines which, I guess, corresponding to "fortunes" that appear on the console.

This is what I did, and everything seems working fine.

#if [ ! -f ~/.disable-mint-fortunes ]; then
# /usr/bin/mint-fortune
#fi

'am I right ? Please do guide me if am wrong.
 
2 years ago

morbidtourus
@ Karolina : thx for share, coz sumtime fortunes bother me
@ remoulder : i like ur way to do this... thx..
 
2 years ago

Jac978
I promote this tutorial with comments. Please update.  
2 years ago

fragus
Perhaps it is an interesting tutorial, but I must admit that I like those corny "fortunes". You have a choice of not using said "fortunes" when you install.  
2 years ago

cologne
In latest editions the file ends with the lines:

if [ ! -f ~/.disable-mint-fortunes ]; then
/usr/bin/mint-fortune
fi

So a way without modifying a system file is to create an empty file with the name ".disable-mint-fortunes" in your home folder, and that´s it. And if you should change your mind, just delete this file.
 
2 years ago

fliteshare
How to remove fortunes from your console

Fortunes is the wisecrack program that comes packaged with console.
To get rid of this irritant, go to:

Menu => Accesories => Terminal, and type the command:

gksu gedit /etc/bash.bashrc

This will open an editor window with the file /etc/bash.bashrc
Go all the way to the bottom and remove the last line:

/usr/bin/mint-fortune

Then click on Save and close the window.
That's all.
After re-opening the console there are no more wisecracks.

P.S. corrected for English.
 
3 years ago

remoulder
You might want to comment the line using # rather than removing it in case you change your mind later.  

Other tutorials from Karolina

No other tutorials.