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:41] marlonivostart:system:localization [2024/12/29 07:43] (current) – [Network configuration] marlonivo
Line 1: Line 1:
 ====== Artix Linux Localization ====== ====== Artix Linux Localization ======
- 
-Configure the system clock 
  
 Set the time zone: Set the time zone:
Line 8: Line 6:
 </code> </code>
  
-Run hwclock to generate /etc/adjtime:+Run hwclock to generate ''%%/etc/adjtime%%'':
 <code> <code>
  hwclock --systohc  hwclock --systohc
Line 16: Line 14:
  
 \\ \\
-==== 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 30: 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"      export LANG="en_US.UTF-8"    
Line 36: Line 34:
  
 \\ \\
-===== Network configuration =====+====== Network configuration =====
 +----
  
 Create the hostname file: Create the hostname file:
 <code> <code>
- nano /etc/hostname                <-- Add you name in there+ nano /etc/hostname 
 + myhostname
 </code> </code>
  
Line 53: 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.1735458078.txt.gz · Last modified: 2024/12/29 07:41 by marlonivo

Donate Marlon Ivo's Webpage