Howto: Remove Fortune messages in the Terminal
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
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Re: Howto: Remove Fortune messages in the Terminal
Thanks, wayne128. I was 99.9% sure what to do, but bashrc is NOT something I'd want to mess up. Belt & suspenders for me all the way.
Mint17 KDE
Re: Howto: Remove Fortune messages in the Terminal
In LMDE to remove the fortunes just type "gksudo gedit /etc/bash.bashrc" and remove the last "paragraph" to fi, save and close.
Re: Howto: Remove Fortune messages in the Terminal
Can you replace the default fortunes with a custom file?
I like most of the fortunes, but sometimes you just feel like a change.
I like most of the fortunes, but sometimes you just feel like a change.
Re: Howto: Remove Fortune messages in the Terminal
Add any fortunes you want into /usr/share/games/fortunes/, and look at the existing fortunes in there to have an idea of how to format your own fortunes.
Re: Howto: Remove Fortune messages in the Terminal
There is no mint-fortune line in .bash_rc for mint 10 kde. I use the gnome version mostly and I disable it in gnome all the time. I was just trying out kde and can't find where it is hidden. Looked under /etc/profile, bash_completion, bash.rc and there is no reference to mint-fortune in any of the files. any clues here? Testing kde for our company and need to disable it.
Re: Howto: Remove Fortune messages in the Terminal
The easy way, open a terminal and copy/paste. or click the SELECT ALL, or type this command :
regards,
Code: Select all
touch .disable-mint-fortunes
Re: Howto: Remove Fortune messages in the Terminal
thanks richyrich. created empty file in home directory and it did not work, opened /usr/bin/mint-fortune wih nano as superuser and the last line pipes your fortune to your terminal. commented it out and restarted terminal. fortune is disabled. don't know why they took it out of bashrc in KDE.
Re: Howto: Remove Fortune messages in the Terminal
Actually I'm using LM 10 and that line is nowhere in the relevant file. But there is ......
" .. # /usr/bin/mint-fortune ... "
Which appears to be the equal of what was suggested, so I commented it out. My problem was/is not on the "how" but on the here of the relevent file. Just couldn't find it anywhere.
So in LM 10, comment out that line and it goes away.
In answer to "Who hates animals"? I for one don't. I try to eat as many of them as I can every day. I just don't like them popping up and making silly remarks in my terminal.
So thank you for your help.
" .. # /usr/bin/mint-fortune ... "
Which appears to be the equal of what was suggested, so I commented it out. My problem was/is not on the "how" but on the here of the relevent file. Just couldn't find it anywhere.
So in LM 10, comment out that line and it goes away.
In answer to "Who hates animals"? I for one don't. I try to eat as many of them as I can every day. I just don't like them popping up and making silly remarks in my terminal.
So thank you for your help.
Re: Howto: Remove Fortune messages in the Terminal
A very valid point here, the very fact that putting fortunes in has spawned a thread on how to remove them is a strong indicator in itself.telic wrote:Why on Earth is this sophomoric preference (still) a default for Mint users? Should it caution me to think twice about entrusting my enterprise environment to a collegiate OS mindset?
Fortunes do nothing to increase the functionality of a terminal, or increase workflow, and some of us (myself included) just find them irritating.
Of course, I believe in choice. But in this case I'd strongly suggest this as being a case of opt-in rather than opt-out so as not to irritate some users
Re: Howto: Remove Fortune messages in the Terminal
I'm sure Mint used to ask whether you wanted them or not... I think the check mark was ticked by default, but it was easy to say "no". Personally, I'd love to see them on a startup or login screen, but not every time I bring up a terminal.
Re: Howto: Remove Fortune messages in the Terminal
You can also disable this for a single user using gconf:
Or set the default for users who don't have a setting for this yet (e.g. root, future users):
Or you can use the GUI tool gconf-editor.
NB. I have only tried this in LM 11 (that is the only LM I have ever used).
BTW, I don't mind the fortunes myself but I'm not a big fan of the Husse ones (it appears mostly to be direct quotes from his forum posts) - I'm not a big fan of these fortunes, they seem to be direct quotes from his forum posts and many of them appear pointless out of context (I suspect they are just there as a posthumous tribute?). What I don't understand is why there are 8 packages which depend on fortunes-husse - that is, so far as the package manager is concerned, I can't see any real dependency.
Code: Select all
gconftool-2 --type bool /
--set /desktop/linuxmint/terminal/show_fortunes false
Code: Select all
sudo gconftool-2 --direct /
--config-source xml:readwrite:/etc/gconf/gconf.xml.defaults /
--type bool /
--set /desktop/linuxmint/terminal/show_fortunes false
NB. I have only tried this in LM 11 (that is the only LM I have ever used).
BTW, I don't mind the fortunes myself but I'm not a big fan of the Husse ones (it appears mostly to be direct quotes from his forum posts) - I'm not a big fan of these fortunes, they seem to be direct quotes from his forum posts and many of them appear pointless out of context (I suspect they are just there as a posthumous tribute?). What I don't understand is why there are 8 packages which depend on fortunes-husse - that is, so far as the package manager is concerned, I can't see any real dependency.
Re: Howto: Remove Fortune messages in the Terminal
"/usr/bin/mint-fortune" to be removed in you're on LM11.
Re: Howto: Remove Fortune messages in the Terminal
Thanks for that mate... was starting to annoy me every time I opened the terminal.
Sorted now though
Sorted now though
Re: Howto: Remove Fortune messages in the Terminal
Hello. I am really brand-spankin' new to all of this, as a dearly beloved grandson put Linux Mint 10 on my computer, to help me, after our hard drive was "fried". I used my "terminal" for the very first time, today, attempting to research and resolve a problem with my right-click function.
My blood ran "cold" when I opened up the terminal. Greeting me, was a moose? cow? elk? - something - with a message that I guess someone thought was amusing, that said - "You will be divorced within a year."
I was not amused. After being a widow for over 10 years, and gratefully being remarried for about 2½ years...that message was about the last thing that I wanted to have greet my gaze. Frankly, I was horrified....briefly.
Remembering reading something somewhere about "fortune cookies". I thought I would look through the forums, to see why that was there. I was hoping it wasn't someone's idea of a "joke". Well, I guess it was, or is. I was not offended, but I was "taken back".
Seems to me, that those type of "fortunes" oppose the Linux Mint's own "Rules of Conduct".
Not only that, but I personally find them:
- inappropriate
- unnecessary
- unprofessional
- unworthy of a tremendously designed operating system
I heartily agree with some other posts, that they should be optional, and, I believe they should be witty, encouraging, unusual, enlightening, and uplifting.
Was really glad to find this posting, about removing the fortune cookie messages. Followed instructions, and mission accomplished.
Pardon the long "first post", however, I did wish to voice my "take" on them.
My blood ran "cold" when I opened up the terminal. Greeting me, was a moose? cow? elk? - something - with a message that I guess someone thought was amusing, that said - "You will be divorced within a year."
I was not amused. After being a widow for over 10 years, and gratefully being remarried for about 2½ years...that message was about the last thing that I wanted to have greet my gaze. Frankly, I was horrified....briefly.
Remembering reading something somewhere about "fortune cookies". I thought I would look through the forums, to see why that was there. I was hoping it wasn't someone's idea of a "joke". Well, I guess it was, or is. I was not offended, but I was "taken back".
Seems to me, that those type of "fortunes" oppose the Linux Mint's own "Rules of Conduct".
Not only that, but I personally find them:
- inappropriate
- unnecessary
- unprofessional
- unworthy of a tremendously designed operating system
I heartily agree with some other posts, that they should be optional, and, I believe they should be witty, encouraging, unusual, enlightening, and uplifting.
Was really glad to find this posting, about removing the fortune cookie messages. Followed instructions, and mission accomplished.
Pardon the long "first post", however, I did wish to voice my "take" on them.
Re: Howto: Remove Fortune messages in the Terminal
I agree about the fortunes: uplifting please, we get enough hard knocks in life as it is
To remove: click on Menu/Preferences/Desktop Settings/Terminal, uncheck "fortunes".
Cheers.
To remove: click on Menu/Preferences/Desktop Settings/Terminal, uncheck "fortunes".
Cheers.
Re: Howto: Remove Fortune messages in the Terminal
That's only in Mint 11.kmstarhawk wrote:I agree about the fortunes: uplifting please, we get enough hard knocks in life as it is
To remove: click on Menu/Preferences/Desktop Settings/Terminal, uncheck "fortunes".
Cheers.
Re: Howto: Remove Fortune messages in the Terminal
Why would anybody want to remove those fortune cookies. I simply want to know how I can add more.
Re: Howto: Remove Fortune messages in the Terminal
Sure about that?... http://forums.linuxmint.com/viewtopic.p ... 15&start=0mthees wrote: ..I simply want to know how I can add more.
Re: Howto: Remove Fortune messages in the Terminal
If you search "fortunes" in Package Manager you will find some extra packs available