[SOLVED] KDE: Terminal phrases.

Forum rules
Before you post please read how to get help
Post Reply
danielninja
Level 1
Level 1
Posts: 30
Joined: Sun Oct 03, 2010 4:09 pm

[SOLVED] KDE: Terminal phrases.

Post 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.
Last edited by danielninja on Mon Jan 10, 2011 10:51 am, edited 1 time in total.

dawgdoc
Level 9
Level 9
Posts: 2741
Joined: Mon Oct 05, 2009 12:53 am
Location: Formerly of Kentucky, the land of Mint Juleps

Re: KDE: Terminal phrases.

Post 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
Last edited by dawgdoc on Wed Nov 03, 2010 9:01 am, edited 3 times in total.
SYSTEMS:
HP 15-bw0017cl -- Mint 19.3 Cinnamon
Compaq Presario CQ62 -- Mint 17 Cinnamon (support for 80 y/o family members 1st install)
READING:
The Secret of the Ninth Planet by Donald A. Wollheim

User avatar
richyrich
Level 19
Level 19
Posts: 9063
Joined: Mon May 04, 2009 8:31 pm

Re: KDE: Terminal phrases.

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

Greg-NZ
Level 1
Level 1
Posts: 7
Joined: Mon Oct 19, 2009 6:23 am
Location: Dunedin, New Zealand

Re: KDE: Terminal phrases.

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

danielninja
Level 1
Level 1
Posts: 30
Joined: Sun Oct 03, 2010 4:09 pm

Re: KDE: Terminal phrases.

Post by danielninja »

Thanks Greg-NZ, my .bashrc file with the line /usr/games/fortune was also in home folder.

User avatar
ibm450
Level 5
Level 5
Posts: 600
Joined: Sun Jan 11, 2009 6:56 am
Location: Hamilton Hill, Western Australia

Re: KDE: Terminal phrases.

Post by ibm450 »

danielninja wrote:Thanks Greg-NZ, my .bashrc file with the line /usr/games/fortune was also in home folder.
+1
same here
Sony i3 - VPCEB13FG laptop ~ LM19.2 - ZorinOS 15 - Win 10
Image

Post Reply

Return to “KDE”