Difference between revisions of "Locale.conf"

From ArchWiki
Jump to: navigation, search
(Gnome 3 doesn't like this configuration)
m (fix link fragment)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Lowercase title}}
+
#REDIRECT [[Locale#Setting the locale]]
[[Category:About Arch]]
+
[[Category:Boot process]]
+
[[es:Locale.conf]]
+
[[zh-CN:Locale.conf]]
+
{{Article summary start}}
+
{{Article summary text|Details the locale configuration file.}}
+
{{Article summary heading|Related}}
+
{{Article summary wiki|Arch Boot Process}}
+
{{Article summary wiki|Locale}}
+
{{Article summary end}}
+
 
+
{{ic|/etc/locale.conf}} is the system configuration file for [[Locale|locale settings]]. Its {{ic|LANG}} variable takes precedence over the {{ic|LOCALE}} variable from {{ic|[[rc.conf|/etc/rc.conf]]}}.
+
 
+
If {{ic|DAEMON_LOCALE=no}} (deprecated) is set in {{ic|rc.conf}}, then the settings in {{ic|locale.conf}} do not apply to daemons started via {{ic|rc.d}}.
+
 
+
==Overview==
+
 
+
{{ic|/etc/locale.conf}} contains a new-line separated list of environment variable assignments. It supports {{ic|LANG}} as well as all the {{ic|LC_*}} variables, with the exception of {{ic|LC_ALL}}. The format is shared with [[systemd]].
+
 
+
The following is a sample file:
+
 
+
{{hc|/etc/locale.conf
+
|2=<nowiki>LANG=de_DE.UTF-8
+
</nowiki>}}
+

Latest revision as of 07:54, 13 April 2015