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.
What adds mint-fortune to bash.bashrc?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
What adds mint-fortune to bash.bashrc?
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: What adds mint-fortune to bash.bashrc?
mintsystem does this.
Look for it in synaptic then look at 'properties'.
Look for it in synaptic then look at 'properties'.
Re: What adds mint-fortune to bash.bashrc?
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.viking777 wrote:mintsystem does this.
Look for it in synaptic then look at 'properties'.
Re: What adds mint-fortune to bash.bashrc?
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?
Re: What adds mint-fortune to bash.bashrc?
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
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