diff --git a/_posts/2025-12-27-installing-kodi-on-a-raspberry-pi-5.md b/_posts/2025-12-27-installing-kodi-on-a-raspberry-pi-5.md index 357541d..2567bff 100644 --- a/_posts/2025-12-27-installing-kodi-on-a-raspberry-pi-5.md +++ b/_posts/2025-12-27-installing-kodi-on-a-raspberry-pi-5.md @@ -32,13 +32,13 @@ sudo apt install kodi weston mesa-utils mesa-vulkan-drivers pipewire wireplumber ## 3. running Kodi -1. I first created a dedicated user and added it to the required groups to run Kodi as a systemd service: +### 3.1) I first created a dedicated user and added it to the required groups to run Kodi as a systemd service: ```bash sudo useradd -m kodi sudo usermod -aG video,audio,input,render kodi ``` -2. Then I enabled autologin for kodi on TTY1 +### 3.2) Then I enabled autologin for kodi on TTY1 ```bash sudo mkdir -p /etc/systemd/system/getty@tty1.service.d ``` @@ -50,13 +50,12 @@ ExecStart= ExecStart=-/sbin/agetty --autologin kodi --noclear %I $TERM ``` -3. Then I enabled lingering for Kodi (which is needed to start user systemd services even without a shell session) +### 3.3) Then I enabled lingering for Kodi (which is needed to start user systemd services even without a shell session) ```bash sudo loginctl enable-linger kodi ``` -4. Finally I created and enabled the service to start Kodi on boot: - +### 3.4) Finally I created and enabled the service to start Kodi on boot: First creating the folder: ```bash sudo mkdir -p /home/kodi/.config/systemd/user