Howto: Remove Fortune messages in the Terminal

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
clem
Level 12
Level 12
Posts: 4170
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
Level 2
Level 2
Posts: 58
Joined: Sun Mar 16, 2008 4:00 pm
Location: Florida - USA

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
Level 5
Level 5
Posts: 878
Joined: Thu Jul 10, 2008 8:25 am
Location: non-local

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. )
------------------------------------

User avatar
fredbird67
Level 1
Level 1
Posts: 36
Joined: Fri Jan 18, 2008 11:20 am

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! :-)

User avatar
Aevum
Level 4
Level 4
Posts: 458
Joined: Sun Jan 10, 2010 7:31 am
Location: Milan, Italy
Contact:

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
Level 23
Level 23
Posts: 18677
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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 :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
Aevum
Level 4
Level 4
Posts: 458
Joined: Sun Jan 10, 2010 7:31 am
Location: Milan, Italy
Contact:

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: 611
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:
Sony i3 - VPCEB13FG laptop ~ LM 20 Cinnamon - Ubuntu 20.04 - Win 10
Image

Mintylamb
Level 1
Level 1
Posts: 16
Joined: Sun Nov 15, 2009 1:31 pm
Contact:

Re: Howto: Remove Fortune messages in the Terminal

Post by Mintylamb »

Could you please respect each others opinions?
Linux Mint 8 Helena KDE CE running on pentium 4 and 1 gig of ram + 500gig HD and ECS P4M800PRO-M moby.

Husse
Level 23
Level 23
Posts: 18677
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

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:
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

User avatar
ibm450
Level 5
Level 5
Posts: 611
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????
Sony i3 - VPCEB13FG laptop ~ LM 20 Cinnamon - Ubuntu 20.04 - Win 10
Image

Mintylamb
Level 1
Level 1
Posts: 16
Joined: Sun Nov 15, 2009 1:31 pm
Contact:

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.
Linux Mint 8 Helena KDE CE running on pentium 4 and 1 gig of ram + 500gig HD and ECS P4M800PRO-M moby.

Husse
Level 23
Level 23
Posts: 18677
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Howto: Remove Fortune messages in the Terminal

Post by Husse »

Careful....
Image
Don't fix it if it ain't broken, don't break it if you can't fix it

x0fx3
Level 1
Level 1
Posts: 18
Joined: Tue Feb 09, 2010 12:23 pm

Re: Howto: Remove Fortune messages in the Terminal

Post by x0fx3 »

Thanks for the howto. :)

Mr. Alex
Level 3
Level 3
Posts: 152
Joined: Tue Mar 02, 2010 4:29 am

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
Level 1
Level 1
Posts: 1
Joined: Sat Mar 06, 2010 8:40 pm

Re: Howto: Remove Fortune messages in the Terminal

Post by rius64 »

Very useful, thanks

Totenglocke
Level 1
Level 1
Posts: 19
Joined: Sun Feb 01, 2009 10:23 pm

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”