<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Cowsay]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=37903&amp;type=atom" />
	<updated>2015-03-13T08:42:57Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=37903</id>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448948#p448948" />
			<content type="html"><![CDATA[<p>И не забудьте удалить пакет cowsay. Я думаю он вам не нужен...)))<br />Если нужен, то ставьте xcowsay - графика наше все!</p>]]></content>
			<author>
				<name><![CDATA[Харитон]]></name>
				<uri>https://linuxforum.ru/profile.php?id=627</uri>
			</author>
			<updated>2015-03-13T08:42:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448948#p448948</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448346#p448346" />
			<content type="html"><![CDATA[<p><strong>drBatty</strong> И правда, нашёл строку в ~/.bashrc<br />Спасибо, я учту на будущее ))</p>]]></content>
			<author>
				<name><![CDATA[KuckucL#]]></name>
				<uri>https://linuxforum.ru/profile.php?id=37310</uri>
			</author>
			<updated>2015-03-09T08:05:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448346#p448346</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448338#p448338" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>KuckucL# пишет:</cite><blockquote><p>В /etc/bash.bashrc</p></blockquote></div><p>что-то вы куда-то не туда смотрели<br /></p><div class="codebox"><pre><code>FILES
       /bin/bash
              The bash executable
       /etc/profile
              The systemwide initialization file, executed for login shells
       ~/.bash_profile
              The personal initialization file, executed for login shells
       ~/.bashrc
              The individual per-interactive-shell startup file
       ~/.bash_logout
              The individual login shell cleanup file, executed when a login shell exits
       ~/.inputrc
              Individual readline initialization file</code></pre></div>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2015-03-08T23:37:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448338#p448338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448301#p448301" />
			<content type="html"><![CDATA[<p>Любопытства ради, создал папку mint-fortune...</p><p>Теперь ошибка выглядит совсем уж очевидно: </p><div class="codebox"><pre><code>bash: /usr/bin/mint-fortune Это каталог</code></pre></div><p> <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /></p><div class="quotebox"><cite>m@xim пишет:</cite><blockquote><p>лучше сделай так <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">sudo apt-get install --reinstall mintsystem</div></p></blockquote></div><p>Вот это то, что надо! Спасибо, ошибка ушла в небытие )<br /></p>]]></content>
			<author>
				<name><![CDATA[KuckucL#]]></name>
				<uri>https://linuxforum.ru/profile.php?id=37310</uri>
			</author>
			<updated>2015-03-08T15:04:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448301#p448301</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448298#p448298" />
			<content type="html"><![CDATA[<p>лучше сделай так <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">sudo apt-get install --reinstall mintsystem</div></p>]]></content>
			<author>
				<name><![CDATA[m@xim]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13058</uri>
			</author>
			<updated>2015-03-08T14:40:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448298#p448298</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448297#p448297" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>m@xim пишет:</cite><blockquote><p>понятно, а такая беда где галку снять есть у тебя <a href="http://beginlinux.com/desktop/linux-mint/remove-the-fortune-messages-in-the-linux-mint-terminal">http://beginlinux.com/desktop/linux-min … t-terminal</a></p></blockquote></div><p>Честно говоря, не нашёл такого.<br />Когда удалял, добил этот fortune через синаптик. Почистил всё, что связано с fortune cookies.</p><p>Попробовать заново что ли поставить...</p>]]></content>
			<author>
				<name><![CDATA[KuckucL#]]></name>
				<uri>https://linuxforum.ru/profile.php?id=37310</uri>
			</author>
			<updated>2015-03-08T14:34:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448297#p448297</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448295#p448295" />
			<content type="html"><![CDATA[<p>понятно, а такая беда где галку снять есть у тебя <a href="http://beginlinux.com/desktop/linux-mint/remove-the-fortune-messages-in-the-linux-mint-terminal">http://beginlinux.com/desktop/linux-min … t-terminal</a></p>]]></content>
			<author>
				<name><![CDATA[m@xim]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13058</uri>
			</author>
			<updated>2015-03-08T14:17:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448295#p448295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448290#p448290" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>m@xim пишет:</cite><blockquote><p>а покажи нам сам файлик gedit /etc/bash.bashrc под спойлер</p></blockquote></div><p>Вот, пожалуйста.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code># System-wide .bashrc file for interactive bash(1) shells.

# To enable the settings / commands in this file for login shells as well,
# this file has to be sourced in /etc/profile.

# If not running interactively, don&#039;t do anything
[ -z &quot;$PS1&quot; ] &amp;&amp; return

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

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


# set a fancy prompt (non-color, overwrite the one in /etc/profile)
#PS1=&#039;${debian_chroot:+($debian_chroot)}\u@\h:\w\$ &#039;

use_color=false

# Set colorful PS1 only on colorful terminals.
# dircolors --print-database uses its own built-in database
# instead of using /etc/DIR_COLORS.  Try to use the external file
# first to take advantage of user additions.  Use internal bash
# globbing instead of external grep binary.
safe_term=${TERM//[^[:alnum:]]/?}   # sanitize TERM
match_lhs=&quot;&quot;
[[ -f ~/.dir_colors   ]] &amp;&amp; match_lhs=&quot;${match_lhs}$(&lt;~/.dir_colors)&quot;
[[ -f /etc/DIR_COLORS ]] &amp;&amp; match_lhs=&quot;${match_lhs}$(&lt;/etc/DIR_COLORS)&quot;
[[ -z ${match_lhs}    ]] \
        &amp;&amp; type -P dircolors &gt;/dev/null \
        &amp;&amp; match_lhs=$(dircolors --print-database)
[[ $&#039;\n&#039;${match_lhs} == *$&#039;\n&#039;&quot;TERM &quot;${safe_term}* ]] &amp;&amp; use_color=true


if ${use_color} ; then

        # enable color support of ls and also add handy aliases
        if [ -x /usr/bin/dircolors ]; then
        # test -r ~/.dircolors &amp;&amp; eval &quot;$(dircolors -b ~/.dircolors)&quot; || eval &quot;$(dircolors -b)&quot;
        eval `dircolors`
        LS_COLORS=&quot;$LS_COLORS*.JPG=01;35:*.GIF=01;35:*.jpg=01;35:*.gif=01;35:*.jpeg=01;35:*.pcx=01;35:*.png=01;35:*.pnm=01;35:*.bz2=01;31:*.mpg=01;38:*.mpeg=01;38:*.MPG=01;38:*.MPEG=01;38:*.m4v=01;038:*.mp4=01;038:*.swf=01;038:*.avi=01;38:*.AVI=01;38:*.wmv=01;38:*.WMV=01;38:*.asf=01;38:*.ASF=01;38:*.mov=01;38:*.MOV=01;38:*.mp3=01;39:*.ogg=01;39:*.MP3=01;39:*.Mp3=01;39&quot;
        fi
        # Enable colors for ls, etc.  Prefer ~/.dir_colors #64489
        #if type -P dircolors &gt;/dev/null ; then
        #        if [[ -f ~/.dir_colors ]] ; then
        #                eval $(dircolors -b ~/.dir_colors)
        #        elif [[ -f /etc/DIR_COLORS ]] ; then
        #                eval $(dircolors -b /etc/DIR_COLORS)
        #        fi
        #fi

        if [[ ${EUID} == 0 ]] ; then
                PS1=&#039;\[\033[0;37m\]\[\033[0;35m\]${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] &#039;
        else
                PS1=&#039;\[\033[0;37m\]\[\033[0;35m\]${debian_chroot:+($debian_chroot)}\[\033[0;35m\]\u@\h\[\033[0;37m\]:\[\033[0;36m\]\w &gt;\[\033[0;00m\] &#039;
        fi

        alias ls=&#039;ls --color=auto&#039;
        alias grep=&#039;grep --colour=auto&#039;
        alias fgrep=&#039;fgrep --colour=auto&#039;
        alias egrep=&#039;egrep --colour=auto&#039;
        alias ll=&#039;ls -lF&#039;
        alias la=&#039;ls -A&#039;
        alias l=&#039;ls -CF&#039;
else
        if [[ ${EUID} == 0 ]] ; then
                # show root@ when we don&#039;t have colors
                PS1=&#039;\u@\h \W \$ &#039;
        else
                PS1=&#039;\u@\h \w \$ &#039;
        fi
fi

# Try to keep environment pollution down, EPA loves us.
unset use_color safe_term match_lhs

# Commented out, don&#039;t overwrite xterm -T &quot;title&quot; -n &quot;icontitle&quot; by default.
# If this is an xterm set the title to user@host:dir
#case &quot;$TERM&quot; in
#xterm*|rxvt*)
#    PROMPT_COMMAND=&#039;echo -ne &quot;\033]0;${USER}@${HOSTNAME}: ${PWD}\007&quot;&#039;
#    ;;
#*)
#    ;;
#esac

# enable bash completion in interactive shells
if [ -f /etc/bash_completion ] &amp;&amp; ! shopt -oq posix; then
    . /etc/bash_completion
fi

# sudo hint
#if [ ! -e $HOME/.sudo_as_admin_successful ]; then
#    case &quot; $(groups) &quot; in *\ admin\ *)
#    if [ -x /usr/bin/sudo ]; then
#    cat &lt;&lt;-EOF
#    To run a command as administrator (user &quot;root&quot;), use &quot;sudo &lt;command&gt;&quot;.
#    See &quot;man sudo_root&quot; for details.
#    
#    EOF
#    fi
#    esac
#fi

# if the command-not-found package is installed, use it
if [ -x /usr/lib/command-not-found ]; then
    function command_not_found_handle {
            # check because c-n-f could&#039;ve been removed in the meantime
                if [ -x /usr/lib/command-not-found ]; then
           /usr/bin/python /usr/lib/command-not-found -- $1
                   return $?
        else
           return 127
        fi
    }
fi</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[KuckucL#]]></name>
				<uri>https://linuxforum.ru/profile.php?id=37310</uri>
			</author>
			<updated>2015-03-08T14:00:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448290#p448290</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448287#p448287" />
			<content type="html"><![CDATA[<p>а покажи нам сам файлик gedit /etc/bash.bashrc под спойлер</p>]]></content>
			<author>
				<name><![CDATA[m@xim]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13058</uri>
			</author>
			<updated>2015-03-08T13:56:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448287#p448287</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Cowsay]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=448276#p448276" />
			<content type="html"><![CDATA[<p>Mint 17.1 Rebecca</p><p>Удалил cowsay и fortune. Теперь при запуске терминала выдаёт ошибку:<br /></p><div class="codebox"><pre><code>bash: /usr/bin/mint-fortune: Нет такого файла или каталога</code></pre></div><p>В /etc/bash.bashrc смотрел, строки вида /usr/bin/mint-fortune нету.</p><p>Плюс ко всему, выделив мышью строку в терминале и нажав ПКМ, дабы вызвать контекстное меню, терминал вешается насмерть. </p><p>Подскажите куда капать?</p>]]></content>
			<author>
				<name><![CDATA[KuckucL#]]></name>
				<uri>https://linuxforum.ru/profile.php?id=37310</uri>
			</author>
			<updated>2015-03-08T13:42:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=448276#p448276</id>
		</entry>
</feed>
