Date: Thu, 23 Jul 2015 14:15:57 +0200 From: Polytropon <freebsd@edvax.de> To: David Benfell <benfell@parts-unknown.org> Cc: freebsd-questions@freebsd.org Subject: Re: a couple of minor but annoying issues: mate-terminal and firefox Message-ID: <20150723141557.d943b953.freebsd@edvax.de> In-Reply-To: <20150722201116.Horde._Fra3QBcrvZHU_pB9keBlwC@mail.parts-unknown.org> References: <20150722181114.Horde.CZ2ks0U4JAR-nKAr2SXroZz@mail.parts-unknown.org> <20150723033718.3539c5be.freebsd@edvax.de> <20150722201116.Horde._Fra3QBcrvZHU_pB9keBlwC@mail.parts-unknown.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Jul 2015 20:11:16 -0700, David Benfell wrote: > Quoting Polytropon <freebsd@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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150723141557.d943b953.freebsd>