summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNantha Sorubakanthan <nantha@mielota.com>2026-04-13 22:09:32 +0200
committerNantha Sorubakanthan <nantha@mielota.com>2026-04-13 22:09:32 +0200
commitf84b8a249ac9a11c9f262ae4ed640c01b9386bb2 (patch)
tree22288db10e86641626167b67e3c1ef27743508f4
parent79b4efdfdc99204e2a8f396fc8d817bd3b65deb2 (diff)
update artix linux install guide
-rw-r--r--content/guide/artixinstall.md155
1 files changed, 129 insertions, 26 deletions
diff --git a/content/guide/artixinstall.md b/content/guide/artixinstall.md
index a591f47..47281c1 100644
--- a/content/guide/artixinstall.md
+++ b/content/guide/artixinstall.md
@@ -144,7 +144,17 @@ I also chose to use `GRUB` for the bootloader and `runit` as my init system.
Replace `neovim` with your favorite, terminal-based text editor.
```sh
-basestrap /mnt linux linux-firmware base base-devel grub efibootmgr runit elogind-runit networkmanager-runit git neovim
+basestrap /mnt linux linux-firmware base base-devel grub efibootmgr git neovim
+```
+
+Also install an init system. I like both OpenRC and runit. Install one of them :
+
+```sh
+basestrap runit elogind-runit networkmanager-runit
+```
+
+```sh
+basestrap openrc elogind-openrc networkmanager-openrc
```
### Fstab
@@ -167,7 +177,7 @@ You can now chroot into your future system.
artix-chroot /mnt
```
-### Basic french config
+### Basic config
```sh
ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
@@ -178,6 +188,8 @@ echo 'LANG=en_US.UTF-8' > /etc/locale.conf
echo -e 'KEYMAP=fr-latin1\nXKBLAYOUT=fr\n' > /etc/vconsole.conf
```
+If you will use OpenRC, edit `/etc/conf.d/keymaps`, and change the value of the `keymap` variable.
+
### Setup user and hostname
Give a hostname to your computer (replace `artix` with your hostname) :
@@ -206,22 +218,19 @@ grub-install --target=x86_64-efi --efi-directory=/boot
grub-mkconfig -o /boot/grub/grub.cfg
```
-### Reboot
-
-Now you're done, you can `control-d` or `exit` to quit the chrooting and you can then reboot the system.
-
-
-## Post reboot
-
### Sudo
-First of all, log in as root and uncomment the line starting with `%wheel`. Replace the value of `EDITOR` with the text editor you installed.
+Run this command and uncomment this line `%wheel ALL=(ALL:ALL) ALL`
```sh
EDITOR=nvim visudo
```
-Now you can save and exit, log out, and log in as your user.
+### Reboot
+
+Now you're done, you can `control-d` or `exit` to quit the chrooting and you can then reboot the system.
+
+## Post reboot
### NetworkManager
@@ -239,6 +248,18 @@ You can then start the service :
sudo sv start NetworkManager
```
+With OpenRC, NetworkManager should be already enabled. If not, first enable it on boot :
+
+```sh
+sudo rc-update add NetworkManager default
+```
+
+Then start it :
+
+```sh
+sudo rc-service NetworkManager start
+```
+
To list available Wi-Fi :
```sh
@@ -265,17 +286,6 @@ You might be able to change the backlight of your keyboard.
## Repositories
-### Omniverse
-
-Artix Linux has special packages like `ungoogled-chromium` in the `omniverse` repository.
-
-Append these lines to `/etc/pacman.conf` if you want to use the `omniverse` repo.
-
-```ini
-[omniverse]
-Server = https://omniverse.artixlinux.org/$arch
-```
-
### Arch's extra
If you need the `extra` repo from Arch Linux, you can add it too.
@@ -310,14 +320,11 @@ sudo pacman -Syu
You might want to uncomment the `Color` and `ParallelDownloads` lines in `/etc/pacman.conf` for a better `pacman` experience overall.
-## More ?
-
-For people that use runit : if an app you want to install doesn't come with a `*-runit` package (for example `pipewire`), you can easily write an init script like [zacoons for the `blocky` program](https://codeberg.org/zacoons/dots/src/branch/master/etc/runit/sv/blocky/run).
-
Links :
- [Luke Smith installing Artix with encryption](https://youtu.be/dI3bGeT31Bo?si=yLPKfu7wPdrk-Z3V)
- [The Runit page in Artix Wiki (learn how to use it)](https://wiki.artixlinux.org/Main/Runit)
+- [The OpenRC page in Artix Wiki](https://wiki.artixlinux.org/Main/OpenRC)
- [Artix Linux really cool website again](https://artixlinux.org/)
- [Linux kernels](https://wiki.archlinux.org/title/Kernel)
@@ -326,3 +333,99 @@ You can easily have informations about your kernel like so :
```sh
uname -mrs
```
+
+## PipeWire
+
+### Sound
+
+First install these packages :
+
+```sh
+sudo pacman -S pipewire pipewire-pulse wireplumber
+```
+
+And copy the configuration files :
+
+```sh
+cp -r /usr/share/pipewire/* /etc/pipewire/
+```
+
+Now, on runit systems, you have to manually start these 3 commands in some files like your `hyprland.conf`, or `.xinitrc`.
+
+If you use OpenRC also install the OpenRC scripts :
+
+```sh
+sudo pacman -S pipewire-openrc pipewire-pulse-openrc wireplumber-openrc
+```
+
+Then enable the services for your user
+
+```sh
+rc-update add -U pipewire default
+rc-update add -U pipewire-pulse default
+rc-update add -U wireplumber default
+```
+
+Reboot your computer and sound might be working now !
+
+If it's isn't working for some reason, I either misguided you, or your hardware isn't supported. In the second case install these packages :
+
+```sh
+sudo pacman -S pipewire-alsa alsa-utils alsa-tools alsa-firmware sof-firmware
+```
+
+The `initramfs` should have been rebuilt by pacman but to be sure build it again :
+
+```sh
+sudo mkinitcpio -P
+```
+
+Now reboot again and if sound doesn't work, you're out of luck :(
+
+### Screensharing
+
+Install `xdg-desktop-portal`.
+
+There's tons of xdg-desktop-portal packages, chose the one that contains your Desktop Environment/Window Manager name in it.
+
+```sh
+xdg-desktop-portal
+xdg-desktop-portal-gnome
+xdg-desktop-portal-gtk
+xdg-desktop-portal-hyprland
+xdg-desktop-portal-kde
+xdg-desktop-portal-wlr
+xdg-desktop-portal-cosmic
+xdg-desktop-portal-lxqt
+xdg-desktop-portal-xapp
+```
+
+I use `Hyprland`, so I will install these :
+
+```sh
+sudo pacman -S xdg-desktop-portal xdg-desktop-portal-hyprland
+```
+
+If you reboot, screensharing must be working out of the box on runit systems. But for OpenRC, create a shell script like so :
+
+```sh
+#!/bin/bash
+sleep 1
+killall xdg-desktop-portal-hyprland
+killall xdg-desktop-portal-gnome
+killall xdg-desktop-portal-wlr
+killall xdg-desktop-portal
+logger 'killed all xdg-desktop'
+sleep 1
+/usr/lib/xdg-desktop-portal-hyprland # then put the one you use
+logger 'xdg-desktop-portal-hyprland started'
+sleep 2
+/usr/lib/xdg-desktop-portal
+logger 'xdg-desktop-portal started'
+```
+
+Don't forget to make this file executable with `chmod +x`
+
+And you must also start this script when launching your DE/WM. Use the `exec-once` statement if you use Hyprland and pass out the path to this shell script.
+
+Now screensharing must be working