a couple of minor but annoying issues: mate-terminal and firefox
Polytropon
freebsd at edvax.de
Thu Jul 23 12:16:02 UTC 2015
On Wed, 22 Jul 2015 20:11:16 -0700, David Benfell wrote:
> Quoting Polytropon <freebsd at edvax.de>:
>
> > On Wed, 22 Jul 2015 18:11:14 -0700, David Benfell wrote:
> >> First, mate-terminal keeps coming up with a default encoding of ASCII.
> >> I want UTF-8. Desperately. The menu option is there and works, but the
> >> default is wrong. I don't ever want ASCII. I always want UTF-8. Having
> >> to remember to change this every single time is annoying.
> >
> > Set the environmental variables LC_ALL, maybe LANG, and MM_CHARSET
> > to "en_US.UTF-8". You can do that via your ~/.cshrc or ~/.login_conf.
>
> In my case, I think .zshrc (I settled on zsh over a decade ago).
If zsh is your login shell (and all X programs are somewhat
"descendants" of that shell), this will work. My login shell
is the C shell, and I have set LC_* globally for all accounts.
Also note that there's a certain "precedence" of the LC_*
"fine grained" variables and LANG.
> I set
> all of the above, restarted my X session, and that seems to have
> worked. I had LANG set by way of /etc/login.conf, so I'm guessing that
> mate-terminal responds either to LC_ALL or MM_CHARSET.
If I remember correctly, LANG will be ignored if LC_ALL is
set. Or was it the other way round? I remember that setting
LC_ALL allowed UTF-8 for regular UTF-8-capable programs, but
I think inside Gnome (and Gnome-derived Mate) MM_CHARSET is
important.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list