Howto: Remove Fortune messages in the Terminal

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
User avatar
clem
Level 12
Level 12
Posts: 4303
Joined: Wed Nov 15, 2006 8:34 am
Contact:

Howto: Remove Fortune messages in the Terminal

Post by clem »

- open a terminal
- type "gksu gedit /etc/bash.bashrc"
- in the end of the file, remove the line /usr/games/fortune
- save the file.

Clem
Last edited by xenopeek on Wed Jan 09, 2013 12:55 pm, edited 1 time in total.
Reason: Unstickied
User avatar
JohnH
Level 4
Level 4
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Post by JohnH »

I also thank you.
John
accel

Post by accel »

Just put a # in front of the line /usr/games/fortune
has the same effect.
User avatar
Sorensei
Level 4
Level 4
Posts: 257
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Post by Sorensei »

Sanchopinky wrote:What kind of ruthless animal would want them gone? :wink:

I personally love 'em!
Yeah... me too. :wink:
But we've had a sensitive few who'd felt offended... or simply annoyed. So it's better to provide a mean to remove them before someone blows a fuse (ugly, ugly, let me tell you)...
I don't have a solution, but I do admire the problem.
OnlyMe

Re: Howto: Remove Fortune messages in the Terminal

Post by OnlyMe »

Okay, so I am late to this party but when I saw the How To topic here I just couldn't believe my eyes :shock: and simply had to read this thread. I love those fortunes.

Here is another example of Linux and choice! Gotta love it.
msuggs

Re: Howto: Remove Fortune messages in the Terminal

Post by msuggs »

wierdo124 wrote:They're awesome!
Agreed, how can you go past gems like this
____________________________________
( You are confused; but this is your )
( normal state. )
------------------------------------
fredbird67

Re: Howto: Remove Fortune messages in the Terminal

Post by fredbird67 »

SonOfMoog, from one Christian to another, thanks for the tip about replacing fortunes with a Bible verse. :-)

Don't get me wrong here, I love a good laugh, but I did run across a fortune once that offended me, and in fact, I went back to straight Ubuntu for a while because of it, that's how much it offended me. As a married man, it offended me greatly when one day I saw a message saying "you will be divorced within a year". That deeply offended me, because it took me 35 years to find the lady who is now my wife, and by golly, I intend to keep her as long as we both shall live.

Here while back, I ran across where one can stop the fortunes from appearing, and I have heard of the "Verse" program, but I had never put two and two together like you did, with replacing the fortunes with a Bible verse. I currently use Ubuntu 9.04, but when Mint 8 comes out in about a month or so, I plan to return to that, and that's one of the first things I'll be doing with my Mint installation when that time comes. Thanx for the tip! :-)
Aevum

Re:

Post by Aevum »

Sanchopinky wrote:What kind of ruthless animal would want them gone? :wink:

I personally love 'em!
I got kind of surprised when, after installing Mint (I used to have Ubuntu) I discovered those animals in there in the terminal, but I do personally love 'em as well, also because Mark Twain is one of my favorite writers and also Shakespeare is, so.. mix it with some fortune telling quotations and.. I just love 'em!
Husse

Re: Howto: Remove Fortune messages in the Terminal

Post by Husse »

And they are not really Mint specials as I think they are there in a normal bash - only waiting to be activated :)
Aevum

Re: Howto: Remove Fortune messages in the Terminal

Post by Aevum »

Husse wrote:And they are not really Mint specials as I think they are there in a normal bash - only waiting to be activated :)
Cool! This means I'm gonna run them on my Ubuntu partition as well :P
User avatar
ibm450
Level 5
Level 5
Posts: 650
Joined: Sun Jan 11, 2009 6:56 am
Location: Hamilton Hill, Western Australia

Re: Howto: Remove Fortune messages in the Terminal

Post by ibm450 »

clem wrote:- open a terminal
- type "gksu gedit /etc/bash.bashrc"
- in the end of the file, remove the line /usr/games/fortune
- save the file.

Clem
-o0o-
  • excellent - the fortune messages were starting to give me the ***** :mrgreen:
HP EILITE FOLIO 9470M i7-3667u x 4
GitHub: tolgaerok
Image Image
Mintylamb

Re: Howto: Remove Fortune messages in the Terminal

Post by Mintylamb »

Could you please respect each others opinions?
Husse

Re: Howto: Remove Fortune messages in the Terminal

Post by Husse »

I don't find any disrespect in this topic - different opinions, yes - disrespect no ... but I may have overlooked something :shock:
User avatar
ibm450
Level 5
Level 5
Posts: 650
Joined: Sun Jan 11, 2009 6:56 am
Location: Hamilton Hill, Western Australia

Re: Howto: Remove Fortune messages in the Terminal

Post by ibm450 »

-o0o-
  • im sorry, but im not being disrespecting of opinions here, just expression my own opinion that i found that the fortune s*** very annoying and took up unnecessary space and time to load up terminal time? btw alot of people have requested of removing the stupid fortune thing any ways?????????????

    so whats so dis-respectful of my own opinion????
HP EILITE FOLIO 9470M i7-3667u x 4
GitHub: tolgaerok
Image Image
Mintylamb

Re: Howto: Remove Fortune messages in the Terminal

Post by Mintylamb »

Actually I wasn't saying this to you specificaliy. If I had I would PM you.
Husse

Re: Howto: Remove Fortune messages in the Terminal

Post by Husse »

Careful....
x0fx3

Re: Howto: Remove Fortune messages in the Terminal

Post by x0fx3 »

Thanks for the howto. :)
Mr. Alex

Re:

Post by Mr. Alex »

mumbo719 wrote:While you have the terminal open remove the fortune program.

Code: Select all

sudo apt-get remove fortune
Does it delete fortune database with all the quotes? Or after this command quotes are still in the system?
rius64

Re: Howto: Remove Fortune messages in the Terminal

Post by rius64 »

Very useful, thanks
Totenglocke

Re: Howto: Remove Fortune messages in the Terminal

Post by Totenglocke »

Well crap. I did sudo apt-get remove fortune, and it messed up my themes (default ones included in Mint). Any ideas on how to fix this?
Post Reply

Return to “Tutorials”