Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:localization

This is an old revision of the document!


Artix Linux Localization

Update the system clock

Activate the NTP daemon to synchronize the computer's real-time clock:

 rc-service ntpd start

Configure the system clock

Set the time zone:

 ln -sf /usr/share/zoneinfo/Region/City /etc/localtime

Run hwclock to generate /etc/adjtime:

 hwclock --systohc

Note that this will default to UTC. If you use Windows and you want the time to be synchronized in both Artix and Windows, follow System_time#UTC_in_Windows:ArchWiki for instructions to enable UTC in there also. Localization

Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire:

 pacman -S nano
 nano /etc/locale.gen

Generate your desired locales running:

 locale-gen

To set the locale systemwide, create or edit /etc/locale.conf (which is sourced by /etc/profile) or /etc/bash/bashrc.d/artix.bashrc or /etc/bash/bashrc.d/local.bashrc; user-specific changes may be made to their respective ~/.bashrc, for example:

 export LANG="en_US.UTF-8"     <-- localize in your languages
 export LC_COLLATE="C"
start/system/localization.1735456855.txt.gz · Last modified: 2024/12/29 07:20 by marlonivo

Donate Marlon Ivo's Webpage