Решено: [Linux Mint] Терминал плюётся "умными мыслями" (как отключить?)

Kubuntu, Xubuntu и другие

Модератор: Модераторы разделов

Аватара пользователя
Rmic
Сообщения: 87
ОС: Linux

Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение Rmic »

У меня установлена Linux Mint. Это по сути Ubuntu.
Так вот при запуске терминала (любого, даже по Ctrl+Alt+F1) на экран выводятся какие то цитаты и "умные мысли". Иногда довольно крупного размера.
Это не мешает, но немного бесит.

Как отключить, не подскажите?
Пингвин - друг человека!
Спасибо сказали:
Аватара пользователя
mczim
Сообщения: 665
ОС: Debian/Ubuntu

Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение mczim »

может быть вы покажете что конкретно он вам говорит?
Я странный...
Спасибо сказали:
Аватара пользователя
broom
Бывший модератор
Сообщения: 1629
Статус: мизантроп.ка
ОС: Gentoo

Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение broom »

это, наверно, программка fortune.
надо убрать ее запуск из ~/.bashrc
but in the darkness, behind your smile, you scream... © Dio
Спасибо сказали:
Аватара пользователя
Rmic
Сообщения: 87
ОС: Linux

Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение Rmic »

Показывает следующее:
You'll never be the man your mother was!

For courage mounteth with occasion.
-- William Shakespeare, "King John"

Q: Why did the chicken cross the road?
A: To see his friend Gregory peck.

Q: Why did the chicken cross the playground?
A: To get to the other slide.

Courage is resistance to fear, mastery of fear--not absence of fear. Except a
creature be part coward it is not a compliment to say it is brave; it is merely
a loose misapplication of the word. Consider the flea!--incomparably the
bravest of all the creatures of God, if ignorance of fear were courage.
Whether you are asleep or awake he will attack you, caring nothing for the fact
that in bulk and strength you are to him as are the massed armies of the earth
to a sucking child; he lives both day and night and all days and nights in the
very lap of peril and the immediate presence of death, and yet is no more
afraid than is the man who walks the streets of a city that was threatened by
an earthquake ten centuries before. When we speak of Clive, Nelson, and Putnam
as men who "didn't know what fear was," we ought always to add the flea--and
put him at the head of the procession.
-- Mark Twain, "Pudd'nhead Wilson's Calendar"

и т.п.

Вот этот файл. Что нужно закомментить?

Код: Выделить всё

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

# make less more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"

# set variable identifying the chroot you work in (used in the prompt below)
if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then
    debian_chroot=$(cat /etc/debian_chroot)
fi

# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color)
    PS1='${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\h\[33[00m\]:\[33[01;34m\]\w\[33[00m\]\$ '
   ;;
*)
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
   ;;
esac

# Comment in the above and uncomment this below for a color prompt
#PS1='${debian_chroot:+($debian_chroot)}\[33[01;32m\]\u@\h\[33[00m\]:\[33[01;34m\]\w\[33[00m\]\$ '

# If this is an xterm set the title to user@host:dir
case "$TERM" in
xterm*|rxvt*)
    PROMPT_COMMAND='echo -ne "33]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}
Пингвин - друг человека!
Спасибо сказали:
Аватара пользователя
broom
Бывший модератор
Сообщения: 1629
Статус: мизантроп.ка
ОС: Gentoo

Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение broom »

все-таки вам немного в другой файл - /etc/bash.bashrc
http://www.linuxmint.com/wiki/index.php/Re...ges_in_Terminal
but in the darkness, behind your smile, you scream... © Dio
Спасибо сказали:
Аватара пользователя
Rmic
Сообщения: 87
ОС: Linux

Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"

Сообщение Rmic »

Странно, что я это раньше у них на сайте не нашёл, хотя и искал.
Всё получилось, спасибо.
Тему можно закрыть.
Пингвин - друг человека!
Спасибо сказали: