Howto: Remove Fortune messages in the Terminal

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

Howto: Remove Fortune messages in the Terminal

Postby clem on Wed Jan 31, 2007 10:47 am

- 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
clem
Level 15
Level 15
 
Posts: 5559
Joined: Wed Nov 15, 2006 8:34 am

Linux Mint is funded by ads and donations.
 

Postby Iain on Fri Feb 09, 2007 11:05 am

Thanks!
User avatar
Iain
Level 1
Level 1
 
Posts: 18
Joined: Tue Dec 26, 2006 6:16 pm
Location: UK

Postby JohnH on Fri Feb 23, 2007 7:07 pm

I also thank you.
John
User avatar
JohnH
Level 4
Level 4
 
Posts: 215
Joined: Wed Nov 22, 2006 4:15 am
Location: Caboolture, Oz

Postby mumbo719 on Sun Feb 25, 2007 1:58 pm

While you have the terminal open remove the fortune program.

Code: Select all
sudo apt-get remove fortune
User avatar
mumbo719
Level 3
Level 3
 
Posts: 144
Joined: Sun Jan 21, 2007 12:07 pm
Location: Tampa Bay, Florida

Postby will on Sat Mar 24, 2007 2:22 pm

Went to remove the Fortune messages.... opened a terminal and got:

"Cheer Up! Things are getting worse at a slower rate."

Couldn't do it!... just had to keep them :-D

-Will
will
Level 2
Level 2
 
Posts: 86
Joined: Thu Feb 15, 2007 10:28 pm

Postby Sanchopinky on Mon May 28, 2007 11:29 pm

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

I personally love 'em!
Sanchopinky
Level 1
Level 1
 
Posts: 22
Joined: Sat May 26, 2007 10:08 pm

Postby accel on Tue Jun 19, 2007 9:46 am

Just put a # in front of the line /usr/games/fortune
has the same effect.
Desktop:
MSI K8N Neo2 with AMD Athlon 64 3500+ with 1GB RAM
nVidia GeForce 6800XT (XFX)
Laptop:
Acer Aspire 3628AWXMi
User avatar
accel
Level 1
Level 1
 
Posts: 1
Joined: Sun Dec 03, 2006 5:41 pm
Location: Netherlands

Postby Sorensei on Tue Jun 19, 2007 10:23 am

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.
User avatar
Sorensei
Level 4
Level 4
 
Posts: 254
Joined: Tue Jan 16, 2007 8:24 am
Location: Switzerland

Postby kcirick on Sat Aug 04, 2007 10:03 pm

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

Code: Select all
sudo apt-get remove fortune


You would still have to edit the /etc/bash.bashrc file and remove the fortune line, otherwise you'll get an error message every time you open a new command line.
kcirick
Level 1
Level 1
 
Posts: 36
Joined: Sat Aug 04, 2007 9:03 pm

Verse

Postby sonofmoog on Wed Sep 26, 2007 5:18 pm

If you're religiously inclined as I am, you can download and install the Verse package from the repositories. When you (#) comment out the fortune command, substitute
Code: Select all
verse


Now when you login to a shell, instead of a fortune, you'll get a Bible verse ..
User avatar
sonofmoog
Level 1
Level 1
 
Posts: 8
Joined: Wed Sep 26, 2007 4:41 pm

Re: Howto: Remove Fortune messages in the Terminal

Postby OnlyMe on Sun Jul 20, 2008 2:10 am

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

Postby wierdo124 on Fri Aug 08, 2008 3:49 pm

They're awesome!
Gigabyte P35 DS3L
E8400 @ 4GHz stable | Thermalright Ultra 120 eXtreme
4GB Crucial Ballistix 800 @ 1.4GHz
XFX 8800GT 512MB
CM690
Linux Mint, Vista 64 bit H.P., XP Pro triple boot
Hanns G 21.6"
User avatar
wierdo124
Level 1
Level 1
 
Posts: 8
Joined: Fri Aug 08, 2008 3:47 pm
Location: Minnesota, USA

Re: Howto: Remove Fortune messages in the Terminal

Postby msuggs on Fri Aug 08, 2008 4:07 pm

wierdo124 wrote:They're awesome!

Agreed, how can you go past gems like this

____________________________________
( You are confused; but this is your )
( normal state. )
------------------------------------
msuggs
Level 5
Level 5
 
Posts: 882
Joined: Thu Jul 10, 2008 8:25 am
Location: non-local

Re: Howto: Remove Fortune messages in the Terminal

Postby fredbird67 on Fri Oct 30, 2009 5:32 pm

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
fredbird67
Level 1
Level 1
 
Posts: 31
Joined: Fri Jan 18, 2008 11:20 am

Re:

Postby Aevum on Tue Jan 12, 2010 4:07 pm

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!
User avatar
Aevum
Level 4
Level 4
 
Posts: 461
Joined: Sun Jan 10, 2010 7:31 am
Location: Milan, Italy

Re: Howto: Remove Fortune messages in the Terminal

Postby Husse on Tue Jan 12, 2010 5:01 pm

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

Re: Howto: Remove Fortune messages in the Terminal

Postby Aevum on Tue Jan 12, 2010 5:25 pm

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
Aevum
Level 4
Level 4
 
Posts: 461
Joined: Sun Jan 10, 2010 7:31 am
Location: Milan, Italy

Re: Howto: Remove Fortune messages in the Terminal

Postby ibm450 on Thu Jan 28, 2010 11:05 pm

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:
Image
Asus UL50VT laptop ~ LM10 - Unity 12.04 - Win 7
Image
User avatar
ibm450
Level 5
Level 5
 
Posts: 604
Joined: Sun Jan 11, 2009 6:56 am
Location: Kwinana, Western Australia

Re: Howto: Remove Fortune messages in the Terminal

Postby Mintylamb on Sat Jan 30, 2010 5:25 am

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.
Mintylamb
Level 1
Level 1
 
Posts: 16
Joined: Sun Nov 15, 2009 1:31 pm

Re: Howto: Remove Fortune messages in the Terminal

Postby Husse on Sat Jan 30, 2010 9:53 am

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

Linux Mint is funded by ads and donations.
 
Next

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 9 guests