Summary: | Wrong configuration file indicated | ||
---|---|---|---|
Product: | [OLD] Docs-user | Reporter: | Hugo <hmf> |
Component: | Localisation Guide | Assignee: | Łukasz Damentko (RETIRED) <rane> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | docs-team, newsgroup, nightmorph, xoen.gnu |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
localization suggestions implemented
guide-localization.xml.patch guide-localization.xml.patch |
Description
Hugo
2005-11-29 02:58:52 UTC
Hi, I am installing Gentoo on a laptop with a Portuguese keyboard and noticed an inconsistencies and have a suggestion or two. In section 3 [Locale system] the file /etc/env.d/02locale is indicated as the place to set the locale related variables. Would it be possible to include here and indication to: 1. touch /etc/env.d/02locale : to create the file 2. nano -w /etc/env.d/02locale : to edit the file 3. env-update : to update the /etc/profile.env file 4. source /etc/profile : to update the variables and finally to check via "env" that the variables are correct so: 5. env | grep -i LC_ Section 5 [keyboard layout for X Server] the file indicated is "/etc/rc.conf". This is not correct. The changes should be made to "/etc/conf.d/consolefont". Just as in the above case it would be nice to indicate: 1. nano -w /etc/conf.d/consolefont" : to edit the file 2. rc-update -s : to check that consolefont is being set at "default" run-level otherwise one can set this via "rc-update add consolefont" It would also make following this guide easier if the latter section (Section 5) was place just after section 4 [keyboard layout console]. The explanation on rc-update could then be the same for both cases. Finally in section 5 [keyboard layout for X Server] a nice supplement for those of us that have to deal with extended keyboards is to explain that: 1. Deadkeys allow one to press keys that will not show immediately but will be combined with another letter to produce a single character such as: é,è,á,à, etc. It makes sense to use the option 'XkbVariant "nondeadkeys"' for example to allow input in terminals (xterm, gterm) where the use of composed keys is not required/essential. 2. The option 'XkbModel "pc102"' or 'XkbModel "pc105"' should be used by those that use international keyboards layouts. It will also allow the mapping of additional keys specific to a given keyboard. Regards, Hugo F. Reproducible: Always Steps to Reproduce: 1. 2. 3. > Section 5 [keyboard layout for X Server] the file indicated is "/etc/rc.conf". > This is not correct. The changes should be made to "/etc/conf.d/consolefont". > Just as in the above case it would be nice to indicate: Er, which guide are you referring to? Are you referring to the handbook, or to the Localization guide? (http://www.gentoo.org/doc/en/guide-localization.xml). It might be a problem if the translation is not up-tp-date. The English localization guide, at least, has all the proper steps and configs that you've mentioned. Sorry for not being more precise. I am referring to the Localization guide (http://www.gentoo.org/doc/en/guide-localization.xml). I am using the english version so translation is not an issue. Note that only the file name is wrong. The rest of the info is correct. Created attachment 75090 [details, diff]
localization suggestions implemented
1) Added env-update and verification for /etc/env.d/02locale
2) Fixed consolefont location and added verification
3) Added XkbModel option and explanation
4) Added deadkeys info to X config.
Enjoy! :)
Shouldn't this be closed? Created attachment 75990 [details, diff] guide-localization.xml.patch This makes a couple of needed changes. Specifically, a user needs to kill their X server and logout/login after env-update && source /etc/profile. Also, turns out the original patch had a couple of faulty bits of XML (the patch was faulty, not the doc on /doc/en/ !) If rane ever makes the keymap switch trick work, then that can be added in the future (see bug 48820 and its multiple settings--"us, ru"). Supposedly one can do Alt-Shift, but . . . Anyway, new improved patch ready to go out, if ya wants it :) Created attachment 75992 [details, diff]
guide-localization.xml.patch
All right! rane found out how to do the keyboard layout toggle. Thanks Jakub!
I added a section on multiple keyboard layouts to the previous patch. Here we go...
Fixed in CVS, thanks for reporting and all the input made here (and special thanks for all the work done to provide us with the patch). |