Update
This commit is contained in:
parent
8514863883
commit
6fcdd0909f
29
README.md
29
README.md
|
@ -10,7 +10,7 @@ Change localkeys to my keyboard layout
|
|||
In my case I have a Serbian keyboard layout.
|
||||
|
||||
```bash
|
||||
loadkeys
|
||||
loadkeys sr-latin
|
||||
```
|
||||
|
||||
You can find your keymap file by using localectl:
|
||||
|
@ -40,8 +40,6 @@ Let us say you have a simple setup:
|
|||
- /boot/efi partition (vfat)
|
||||
- / partition (ext4)
|
||||
- /home partition (ext4)
|
||||
- /suckless partition (ext4)
|
||||
- /storage partition (ntfs)
|
||||
|
||||
|
||||
NOTE: `lsblk` is a very nice tool to doublecheck your partition(s) structure.
|
||||
|
@ -50,13 +48,7 @@ First we format to the file systems we want:
|
|||
|
||||
```bash
|
||||
mkfs.fat -F32 /dev/sdaxY (/boot/efi)
|
||||
mkfs.ext4 /dev/sdaxY (/, /home, /suckless)
|
||||
```
|
||||
|
||||
Create /mnt structure, one-liner:
|
||||
|
||||
```bash
|
||||
mkdir -p /mnt/{boot,home,suckless,storage}
|
||||
mkfs.ext4 /dev/sdaxY (/, /home)
|
||||
```
|
||||
|
||||
And then mount the file systems to /mnt:
|
||||
|
@ -64,7 +56,15 @@ And then mount the file systems to /mnt:
|
|||
```bash
|
||||
# Mount / (root)
|
||||
mount /dev/sdaxY /mnt
|
||||
# Mount /boot, /home, /suckless, /storage
|
||||
```
|
||||
Create /mnt structure, one-liner:
|
||||
|
||||
```bash
|
||||
mkdir -p /mnt/{boot,home,suckless,storage}
|
||||
```
|
||||
|
||||
```bash
|
||||
# Mount /boot, /home
|
||||
mount /dev/sdaxY /mnt/<point>
|
||||
```
|
||||
|
||||
|
@ -152,7 +152,7 @@ echo myhostname > /etc/hostname
|
|||
Edit /etc/vconsole.conf:
|
||||
|
||||
```bash
|
||||
KEYMAP=
|
||||
KEYMAP=sr-latin
|
||||
```
|
||||
|
||||
Add matching entries to hosts:
|
||||
|
@ -223,7 +223,7 @@ Login as Root to Arch Linux and permantly set the keymap (keyboard)
|
|||
Now we want to make our keyboard layout permanent:
|
||||
|
||||
```bash
|
||||
localectl set-keymap --no-convert
|
||||
localectl set-keymap --no-convert sr-latin
|
||||
```
|
||||
|
||||
|
||||
|
@ -257,6 +257,5 @@ Login as your username and test sudo with pacman
|
|||
------------------------------------------------
|
||||
|
||||
```bash
|
||||
sudo pacman -Syy
|
||||
sudo pacman -Syu
|
||||
sudo pacman -Syyu xorg sx xmonad xmonad-contrib xmobar alacritty ...
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue