У меня установлена Linux Mint. Это по сути Ubuntu.
Так вот при запуске терминала (любого, даже по Ctrl+Alt+F1) на экран выводятся какие то цитаты и "умные мысли". Иногда довольно крупного размера.
Это не мешает, но немного бесит.
Как отключить, не подскажите?
Решено: [Linux Mint] Терминал плюётся "умными мыслями" (как отключить?)
Модератор: Модераторы разделов
-
Rmic
- Сообщения: 87
- ОС: Linux
Решено: [Linux Mint] Терминал плюётся "умными мыслями"
Пингвин - друг человека!
-
mczim
- Сообщения: 665
- ОС: Debian/Ubuntu
Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"
может быть вы покажете что конкретно он вам говорит?
Я странный...
-
broom
- Бывший модератор
- Сообщения: 1629
- Статус: мизантроп.ка
- ОС: Gentoo
Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"
это, наверно, программка fortune.
надо убрать ее запуск из ~/.bashrc
надо убрать ее запуск из ~/.bashrc
but in the darkness, behind your smile, you scream... © Dio
-
Rmic
- Сообщения: 87
- ОС: Linux
Re: Решено: [Linux Mint] Терминал плюётся "умными мыслями"
Показывает следующее:
и т.п.
Вот этот файл. Что нужно закомментить?
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] Терминал плюётся "умными мыслями"
все-таки вам немного в другой файл - /etc/bash.bashrc
http://www.linuxmint.com/wiki/index.php/Re...ges_in_Terminal
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] Терминал плюётся "умными мыслями"
Странно, что я это раньше у них на сайте не нашёл, хотя и искал.
Всё получилось, спасибо.
Тему можно закрыть.
Всё получилось, спасибо.
Тему можно закрыть.
Пингвин - друг человека!