Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113885 - Wrong configuration file indicated
Summary: Wrong configuration file indicated
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Localisation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Łukasz Damentko (RETIRED)
URL:
Whiteboard:
Keywords:
: 48820 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-29 02:58 UTC by Hugo
Modified: 2006-01-02 05:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
localization suggestions implemented (guide-localization.xml.patch,2.64 KB, patch)
2005-12-19 05:45 UTC, nm (RETIRED)
Details | Diff
guide-localization.xml.patch (guide-localization.xml.patch,3.19 KB, patch)
2006-01-02 04:55 UTC, nm (RETIRED)
Details | Diff
guide-localization.xml.patch (guide-localization.xml.patch,3.95 KB, patch)
2006-01-02 05:16 UTC, nm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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: 
Comment 1 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.
Comment 2 nm (RETIRED) gentoo-dev 2005-12-18 17:36:31 UTC
> 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.
Comment 3 Hugo 2005-12-18 23:31:37 UTC
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.


Comment 4 nm (RETIRED) gentoo-dev 2005-12-19 05:45:22 UTC
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! :)
Comment 5 Hugo 2005-12-27 01:55:52 UTC
Shouldn't this be closed?
Comment 6 nm (RETIRED) gentoo-dev 2006-01-02 04:55:34 UTC
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 :)
Comment 7 nm (RETIRED) gentoo-dev 2006-01-02 05:16:25 UTC
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...
Comment 8 Łukasz Damentko (RETIRED) gentoo-dev 2006-01-02 05:43:05 UTC
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).
Comment 9 Łukasz Damentko (RETIRED) gentoo-dev 2006-01-02 05:48:13 UTC
*** Bug 48820 has been marked as a duplicate of this bug. ***