On Oct 03, 2017, at 10:29 PM, DJ Lucas <[email protected]> wrote:



On 10/03/2017 10:08 PM, Hans Malissa wrote:
I'm a little confused about chapters 7.6 and 7.7: the configuration of
the linux console and the system locale: there are some examples given
for other languages, but what would the "default" setting for
/etc/vconsole.conf and /etc/locale.conf for standard English (US) be,
with a standard keyboard be?
Thanks a lot,

Hans


English (anything) is hardly standard. :-)


/etc/vconsole.conf: From the book...
KEYMAP
This variable specifies the key mapping table for the keyboard. If unset, it defaults to us.

All of the variables are optional. Unless you need/want a different console font or need international keys, don't create the file. The lower-case "us" is not a typo, and is what would appear in the file if it weren't the default.

/etc/locale.conf: Read a bit further. An example is given on the page for US English. If you don't already know that you need @<modifiers> or additional LC* settings, you do not need @<modifier> or additional LC* settings. The note "UTF-8 based locales are not supported well by many programs..." should probably be rewritten to include the text "A few programs still have difficulty with UTF-8 locales..." but we really should be *encouraging* UTF-8 locales in the book.

HTH

--DJ

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Thanks for the explanation, that helps a lot. I have now put 'LANG=en_US.UTF-8' 
into my /etc/locale.def.
What is not yet clear to me: there is the locale definition (1) in 
/etc/locale.def, (2) via localectl [as described in 8.1-systemd 7.7] and (3) in 
the Bash startup files [as mentioned briefly in 8.1-systemd 7.7 and in 
BLFS-8.1-systemd chapter 3 'The Bash Shell Startup Files'. Are those three 
redundant and doing the same thing? Is localectl changing /etc/locale.def? Why 
is it necessary to define the locale separately in /etc/profile.d/i18n.sh again?
Thanks a lot,

Hans
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to