What adds mint-fortune to bash.bashrc?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
maxmir

What adds mint-fortune to bash.bashrc?

Post by maxmir »

Not the normal I love/hate the fortune cookie that comes up when starting an interactive bash shell. I'm just curious.

What magically adds the call of mint-fortune to the end of the /etc/bash.bashrc file, which it does not have when it arrives from Ubuntu Land?

Environment -- Linux Mint 10, 64-bit, Gnome.

PS OK, since you ask, I comment out that line. If I'm opening a terminal window I'm probably doing something useful and not playing so I don't want to be distracted. I imagine it would make any suit thinking of switching their business from Windows to Linux think twice. Anyway, unless I misread the code, it seems that not only will it be configurable soon, but also the default will be off.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
viking777

Re: What adds mint-fortune to bash.bashrc?

Post by viking777 »

mintsystem does this.

Look for it in synaptic then look at 'properties'.
maxmir

Re: What adds mint-fortune to bash.bashrc?

Post by maxmir »

viking777 wrote:mintsystem does this.

Look for it in synaptic then look at 'properties'.
Thanks for the reply, but I still couldn't see it. In "mintsystem_7.7.3_all.deb" I can see mint-fortune and rtfm being added, and a synaptic glade file being replaced on package installation. I can also see the init.d addition that'll overwrite a whole bunch of files on each system startup. What I can't see is what appends the last line to /etc/bash.bashrc (i.e. the call to mint-fortune) once only.
maxmir

Re: What adds mint-fortune to bash.bashrc?

Post by maxmir »

So I guess nobody knows what adds this? Perhaps it'll at least be guarded by a check for the executable in Linux Mint 11?
wyrdoak

Re: What adds mint-fortune to bash.bashrc?

Post by wyrdoak »

Howto: Remove Fortune messages in the Terminal
by 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
Locked

Return to “Software & Applications”