Page 1 of 1

[SOLVED] KDE: Terminal phrases.

Posted: Fri Oct 08, 2010 7:14 pm
by danielninja
Hi, i do not remeber where is the option to disable those text who apper when u open the terminal, could someone please tell me?
thanks for u'r time.

Re: KDE: Terminal phrases.

Posted: Fri Oct 08, 2010 7:27 pm
by dawgdoc
- 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
Howto: Remove Fortune messages in the Terminal

EDIT: as noted below: use kdesu kate /etc/bash.bashrc for the kde desktop

Re: KDE: Terminal phrases.

Posted: Fri Oct 08, 2010 8:59 pm
by richyrich
MHA, please use kdesu instead of gksu if you are using the KDE Desktop.
by viking777 on Fri Aug 13, 2010 10:49 am
Try gksu (if you use Gnome) or kdesu (if you use Kde) and you will get what you want.

Re: KDE: Terminal phrases.

Posted: Wed Nov 03, 2010 4:32 am
by Greg-NZ
Regarding removing the fortune messages in the terminal, I tried to follow Clem's instruction
open a terminal
- type "gksu gedit /etc/bash.bashrc"
- in the end of the file, remove the line /usr/games/fortune
- save the file.
But the /usr/games/fortune line was not found in my /etc/bash.bashrc file. Instead it was found in the hidden file in my home directory:
~/.bashrc

Commenting out that line has worked fine, i.e.
- open a terminal
- type sudo kate ~/.bashrc
- in the end of the file, remove (or comment out with #) the line /usr/games/fortune
- save the file.

I thought this experience might be useful for others.
Incidentally, I'm using the KDE version of Mint 9, hence the kate rather than gedit editor.

Re: KDE: Terminal phrases.

Posted: Mon Jan 10, 2011 10:50 am
by danielninja
Thanks Greg-NZ, my .bashrc file with the line /usr/games/fortune was also in home folder.

Re: KDE: Terminal phrases.

Posted: Fri Feb 04, 2011 5:58 am
by ibm450
danielninja wrote:Thanks Greg-NZ, my .bashrc file with the line /usr/games/fortune was also in home folder.
+1
same here