Re: Duvida alterar output no terminal por usuario
Em 28 de setembro de 2016 13:01, Antonio Terceiro
<terceiro@debian.org> escreveu:
> On Wed, Sep 28, 2016 at 10:11:28AM -0300, Éderson Almeida de Jesus wrote:
>> Funcionou na sessão atual, mas se eu faço logoff o LC_MESSAGES volta
>> para pt_BR.utf8. Já tentei via sudo dpkg-reconfigure locales, mas se
>> altero o padrão do sistema, todos os locales são alterados.
>>
>> Como altero somente o LC_MESSAGES e faço com que essa mudança seja permanente?
>
> coloca `export LC_MESSAGES=C` no ~/.bashrc
Obrigado Terceiro, funcionou!! :)
_,met$$$$$gg. ederson@Inspiron-14R-5437
,g$$$$$$$$$$$$$$$P. OS: Debian 8.6 jessie
,g$$P"" """Y$$.". Kernel: x86_64 Linux 3.16.0-4-amd64
,$$P' `$$$. Uptime: 1d 5h 40m
',$$P ,ggs. `$$b: Packages: 2459
`d$$' ,$P"' . $$$ Shell: bash 4.3.30
$$P d$' , $$P Resolution: 1366x768
$$: $$. - ,d$$' DE: Gnome 3.14.0
$$\; Y$b._ _,d$P' WM: GNOME Shell
Y$$. `.`"Y$$$$P"' WM Theme: Adwaita
`$$b "-.__ GTK Theme: Adwaita [GTK2/3]
`Y$$ Icon Theme: gnome
`Y$$. Font: Ubuntu 11
`$$b. CPU: Intel Core i7-4500U CPU @ 3GHz
`Y$$b. GPU: Mesa DRI Intel(R) Haswell Mobile
`"Y$b._ RAM: 1754MiB / 7908MiB
`""""
ederson@Inspiron-14R-5437:~$ locale
LANG=pt_BR.utf8
LANGUAGE=
LC_CTYPE="pt_BR.utf8"
LC_NUMERIC="pt_BR.utf8"
LC_TIME="pt_BR.utf8"
LC_COLLATE="pt_BR.utf8"
LC_MONETARY="pt_BR.utf8"
LC_MESSAGES=C
LC_PAPER="pt_BR.utf8"
LC_NAME="pt_BR.utf8"
LC_ADDRESS="pt_BR.utf8"
LC_TELEPHONE="pt_BR.utf8"
LC_MEASUREMENT="pt_BR.utf8"
LC_IDENTIFICATION="pt_BR.utf8"
LC_ALL=
ederson@Inspiron-14R-5437:~$ cat /nao/existe
cat: /nao/existe: No such file or directory
ederson@Inspiron-14R-5437:~$
Atenciosamente;
Éderson A. Jesus
E-mail.: ederjesus at gmail dot com
Reply to: