- Timestamp:
- 06/29/2004 05:05:35 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- de471fc
- Parents:
- 4f6275fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/profile.xml
r4f6275fd r0ca9f97 277 277 fi 278 278 <command>EOF</command></userinput></screen> 279 </sect3> 280 281 <sect3> 282 <title><filename>/etc/profile.d/i18n.sh</filename></title> 283 284 <para>This script shows how to set some environment variables necessary for 285 <application>Bash</application> to accept keystrokes properly, even in 286 non-English locales. Replace <replaceable>[ll]</replaceable> with the 287 two-letter code for your language (e.g., <quote>en</quote>) and 288 <replaceable>[cc]</replaceable> with the two-letter code for your country 289 (e.g., <quote>GB</quote>). Also you may need to specify (and this is actually 290 the preferred form) your character encoding (e.g., <quote>iso8859-1</quote>) 291 after a dot (so that the result is <quote>en_GB.iso8859-1</quote>). Issue the 292 following command for more information:</para> 293 294 <screen><userinput><command>man 3 setlocale</command></userinput></screen> 295 296 <para>The list of all locales supported by <application>Glibc</application> 297 can be obtained by running the following command:</para> 298 299 <screen><userinput><command>locale -a</command></userinput></screen> 300 301 <para>Now, when you are sure about your locale settings, create the 302 <filename>/etc/profile.d/i18n.sh</filename> file:</para> 303 304 <screen><userinput><command>cat > /etc/profile.d/i18n.sh << "EOF"</command> 305 # Set up i18n variables 306 export LC_ALL=<replaceable>[ll]</replaceable>_<replaceable>[cc]</replaceable> 307 export LANG=<replaceable>[ll]</replaceable>_<replaceable>[cc]</replaceable> 308 <command>EOF</command></userinput></screen> 279 309 280 310 <para>Other initialization can easily be added to the <filename>profile</filename> … … 282 312 <filename class='directory'>/etc/profile.d</filename> directory.</para> 283 313 </sect3> 314 284 315 </sect2> 285 316
Note:
See TracChangeset
for help on using the changeset viewer.