Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:system:localization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
start:system:localization [2024/12/29 07:28] marlonivostart:system:localization [2024/12/29 07:43] (current) – [Network configuration] marlonivo
Line 1: Line 1:
 ====== Artix Linux Localization ====== ====== Artix Linux Localization ======
- 
-Update the system clock 
- 
-Activate the NTP daemon to synchronize the computer's real-time clock: 
-<code> 
- rc-service ntpd start 
-</code> 
- 
-Configure the system clock 
  
 Set the time zone: Set the time zone:
Line 15: Line 6:
 </code> </code>
  
-Run hwclock to generate /etc/adjtime:+Run hwclock to generate ''%%/etc/adjtime%%'':
 <code> <code>
  hwclock --systohc  hwclock --systohc
 </code> </code>
  
-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+Note that this will default to UTC. If you use Windows and you want the time to be synchronized in both Artix and Windows. 
-Localization+ 
 +\\ 
 +====== Localization ====== 
 +----
  
 Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire: Install a text editor of your choice (let's use nano here) and edit /etc/locale.gen, uncommenting the locales you desire:
Line 34: Line 28:
 </code> </code>
  
-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:+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:
 <code> <code>
- export LANG="en_US.UTF-8"     <-- localize in your languages + export LANG="en_US.UTF-8"    
- export LC_COLLATE="C"+
 </code> </code>
  
-Network configuration+\\ 
 +====== Network configuration ====== 
 +----
  
 Create the hostname file: Create the hostname file:
Line 58: Line 53:
 If the system has a permanent IP address, it should be used instead of 127.0.1.1. If the system has a permanent IP address, it should be used instead of 127.0.1.1.
  
-If you use OpenRC you should add your hostname to /etc/conf.d/hostname too:+If you use OpenRC you should add your hostname to ''%%/etc/conf.d/hostname%%'' too with the command:
 <code> <code>
  hostname='myhostname'  hostname='myhostname'
start/system/localization.1735457291.txt.gz · Last modified: 2024/12/29 07:28 by marlonivo

Donate Marlon Ivo's Webpage